chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-08-25 16:53:53 -04:00
parent f71e9570c0
commit 5c62cc0517
99 changed files with 12026 additions and 5908 deletions
+1 -5
View File
@@ -1990,11 +1990,7 @@ async def chat_completion_files_handler(
__event_emitter__ = extra_params['__event_emitter__']
sources = []
files = [
item
for item in (body.get('metadata', {}).get('files', None) or [])
if item.get('type') != 'filesystem'
]
files = [item for item in (body.get('metadata', {}).get('files', None) or []) if item.get('type') != 'filesystem']
if files:
# Check if all files are in full context mode
all_full_context = all(item.get('context') == 'full' for item in files)