test_supports_web_search

This commit is contained in:
Ishaan Jaff 2025-03-22 13:49:35 -07:00
parent 066c226ce5
commit c118376ecd
3 changed files with 21 additions and 1 deletions

View file

@ -1975,7 +1975,7 @@ def supports_system_messages(model: str, custom_llm_provider: Optional[str]) ->
)
def supports_web_search(model: str, custom_llm_provider: Optional[str]) -> bool:
def supports_web_search(model: str, custom_llm_provider: Optional[str] = None) -> bool:
"""
Check if the given model supports web search and return a boolean value.