mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
style: ruff format
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
6ed85b5320
commit
efb1ddb09e
1 changed files with 1 additions and 3 deletions
|
|
@ -65,9 +65,7 @@ class XAIResponsesAPIConfig(OpenAIResponsesAPIConfig):
|
|||
)
|
||||
|
||||
domains: Final = tool.get("filters") or tool
|
||||
filters: Final = {
|
||||
key: domains[key] for key in ("allowed_domains", "excluded_domains") if key in domains
|
||||
}
|
||||
filters: Final = {key: domains[key] for key in ("allowed_domains", "excluded_domains") if key in domains}
|
||||
|
||||
if filters:
|
||||
xai_tool["filters"] = filters
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue