Backend streaming chat

This commit is contained in:
shamoon 2025-04-25 10:06:26 -07:00
parent 4a28be233e
commit e864a51497
No known key found for this signature in database
5 changed files with 101 additions and 39 deletions

View file

@ -48,7 +48,7 @@ def build_prompt_without_rag(document: Document) -> str:
{filename}
CONTENT:
{content[:8000]} # Trim to safe size
{content[:8000]}
"""
return prompt