mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix(websearch): mark conventional-name flag ReadOnly for LIT012
TypedDict writable fields count against the type-discipline budget.
This commit is contained in:
parent
a5463b543d
commit
f92341acf6
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class WebSearchInterceptionConfig(TypedDict, total=False):
|
|||
max_agentic_loops: ReadOnly[int | None]
|
||||
"""How many follow-up model calls one intercepted request may chain. If None, LiteLLM's default of 3 applies."""
|
||||
|
||||
recognize_conventional_web_search_name: bool
|
||||
recognize_conventional_web_search_name: ReadOnly[bool]
|
||||
"""When True, treat name-only OpenAI function tools named ``web_search`` as
|
||||
server search tools. Default is off so a user-defined name-only ``web_search``
|
||||
function still reaches the client handler.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue