Fix double json import

This commit is contained in:
Sameer Kankute 2026-02-09 14:21:43 +05:30
parent 1f04115fb0
commit c48986ba8d

View file

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