refactor(policy_engine): type the request-state parameter of the retrieval hook

This commit is contained in:
mateo-berri 2026-09-08 12:30:05 -07:00
parent 3caa3b60d5
commit 2823d09e1b

View file

@ -71,7 +71,7 @@ def _post_call_pipelines_for_context(context: PolicyMatchContext) -> tuple[Polic
def attach_post_call_pipelines_to_retrieval(
data: dict, # mutable-ok: the proxy's request-state dict, written in place like every other policy engine hook
data: dict[str, object], # mutable-ok: request-state dict the policy engine hooks all write in place
user_api_key_dict: "UserAPIKeyAuth",
llm_router: "Router | None",
) -> None: