We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be4ebb1 commit d36ef71Copy full SHA for d36ef71
context_chat_backend/controller.py
@@ -354,7 +354,7 @@ def _(sources: list[UploadFile]):
354
355
if not (
356
value_of(source.headers.get('userIds'))
357
- and value_of(source.headers.get('title'))
+ and source.headers.get('title', None) is not None
358
and value_of(source.headers.get('type'))
359
and value_of(source.headers.get('modified'))
360
and source.headers['modified'].isdigit()
0 commit comments