mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +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
3cb5ceb98c
commit
d415c2856f
1 changed files with 1 additions and 3 deletions
|
|
@ -92,9 +92,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