mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(vertex_ai.py): move to only passing in accepted keys by vertex ai response schema (#8992)
* fix(vertex_ai.py): common_utils.py move to only passing in accepted keys by vertex ai prevent json schema compatible keys like $id, and $comment from causing vertex ai openapi calls to fail * fix(test_vertex.py): add testing to ensure only accepted schema params passed in * fix(common_utils.py): fix linting error * test: update test * test: accept function
This commit is contained in:
parent
4a128cfd64
commit
8e3c7b2de0
4 changed files with 78 additions and 30 deletions
|
@ -5,6 +5,7 @@ IGNORE_FUNCTIONS = [
|
|||
"_format_type",
|
||||
"_remove_additional_properties",
|
||||
"_remove_strict_from_schema",
|
||||
"filter_schema_fields",
|
||||
"text_completion",
|
||||
"_check_for_os_environ_vars",
|
||||
"clean_message",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue