fix(websearch): mark conventional-name flag ReadOnly for LIT012

TypedDict writable fields count against the type-discipline budget.
This commit is contained in:
leilei3167 2026-09-16 15:38:33 +00:00
parent a5463b543d
commit f92341acf6
No known key found for this signature in database

View file

@ -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.