mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
refactor(policy_engine): type the request-state parameter of the retrieval hook
This commit is contained in:
parent
3caa3b60d5
commit
2823d09e1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue