mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
Fix double json import
This commit is contained in:
parent
1f04115fb0
commit
c48986ba8d
1 changed files with 0 additions and 1 deletions
|
|
@ -190,7 +190,6 @@ class WebSearchTransformation:
|
|||
LITELLM_WEB_SEARCH_TOOL_NAME, "WebSearch", "web_search"
|
||||
):
|
||||
# Parse arguments (might be JSON string)
|
||||
import json
|
||||
if isinstance(function_arguments, str):
|
||||
try:
|
||||
arguments = json.loads(function_arguments)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue