mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
test: cover invalid web search function shapes
This commit is contained in:
parent
af0e0f478a
commit
f78c6592c1
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ def test_openai_function_web_search_shapes_are_detected(tool: dict[str, Any]):
|
|||
[
|
||||
{"type": "function", "function": {"name": "web_search_helper"}},
|
||||
{"type": "function", "function": {"name": "search"}},
|
||||
{"type": "function", "function": None},
|
||||
],
|
||||
)
|
||||
def test_unrelated_openai_function_tools_are_not_detected(tool: dict[str, Any]):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue