yao/agent/llm
Max ab6fd8db09 Refactor completion request validation and enhance stream handling for real-time output
- Updated the completion request parsing logic to make the model field optional, allowing for better flexibility in handling requests.
- Enhanced the stream end handling by adding JSON parsing for stream end data and sending a structured message to the frontend.
- Modified the output writer to format data as Server-Sent Events (SSE) and ensured immediate flushing for real-time streaming in both CUI and OpenAI adapters.
2025-11-23 17:09:30 +08:00
..
adapters Add Claude API configuration and enhance vision support in LLM adapters 2025-11-17 10:53:08 +08:00
handlers Refactor completion request validation and enhance stream handling for real-time output 2025-11-23 17:09:30 +08:00
providers Refactor interrupt handling and enhance logging in Assistant and Context components 2025-11-21 20:52:10 +08:00
interfaces.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00
llm.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00
stream.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00