mirror of
https://github.com/andy-stack/vaultkeeper-ai.git
synced 2026-07-22 06:42:03 +00:00
- Split content and functionCall into separate fields in ConversationContent - Extract content parsing logic into dedicated methods for Claude and Gemini - Add API error 429 handling with provider-specific user information - Improve error messages in naming services to include response text - Increase max_tokens for main requests and naming services - Optimize ChatService to reduce unnecessary saves and array recreations - Remove message key binding in ChatArea to improve performance - Adjust chat window max-width to fixed pixel value
10 lines
No EOL
158 B
TypeScript
10 lines
No EOL
158 B
TypeScript
export enum Role {
|
|
User = "user",
|
|
|
|
// Claude
|
|
Assistant = "assistant",
|
|
// OpenAI
|
|
System = "system",
|
|
// Gemini
|
|
Model = "model"
|
|
} |