Implement chat interface with message history and system prompt support; update frontend and tests accordingly

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
zwitschiandCopilot committed 2026-04-29 14:39:38 +02:00
1 parent 78b76dc331
commit 3d32e6df74
7 files changed
+428 -79

No files matched your search

+2 -1
View File
@@ -33,8 +33,9 @@ class ModelInfo(BaseModel):
class TextRequest(BaseModel):
model: str
prompt: str
prompt: str = ""
system_prompt: str | None = None
messages: list[ChatMessage] | None = None
temperature: float = 0.7
max_tokens: int = 1024