Fix AI chatbot role mapping, add markdown formatting, update system prompts, and handle OpenRouter API errors

This commit is contained in:
Atharv1705
2026-07-20 12:14:58 +05:30
parent 756547a22c
commit c2e22902c8
168 changed files with 11556 additions and 2 deletions
+1
View File
@@ -266,6 +266,7 @@ def list_admin_documents(
"doc_label": d.doc_label,
"filename": d.filename,
"storage_key": d.storage_key,
"created_at": d.uploaded_at.isoformat() if d.uploaded_at else None,
}
for d in docs
]