style: ruff format

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Zara Thomas 2026-08-19 09:35:37 +01:00
parent 4f18a08ea7
commit 219ebc266d
2 changed files with 2 additions and 6 deletions

View file

@ -481,9 +481,7 @@ class FireworksAIConfig(FireworksAIMixin, OpenAIGPTConfig):
if not isinstance(schema, dict):
return
for key in list(schema):
if key in FireworksAIConfig._FIREWORKS_TOOL_SCHEMA_STRIP_KEYS or (
key == "default" and schema[key] is None
):
if key in FireworksAIConfig._FIREWORKS_TOOL_SCHEMA_STRIP_KEYS or (key == "default" and schema[key] is None):
schema.pop(key, None)
elif key == "properties" and isinstance(schema[key], dict):
for prop in schema[key].values():

View file

@ -3,9 +3,7 @@ import sys
import pytest
sys.path.insert(
0, os.path.abspath("../../../../..")
) # Adds the parent directory to the system path
sys.path.insert(0, os.path.abspath("../../../../..")) # Adds the parent directory to the system path
from litellm.llms.fireworks_ai.chat.transformation import FireworksAIConfig