yao/agent/output/adapters
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
..
cui Refactor completion request validation and enhance stream handling for real-time output 2025-11-23 17:09:30 +08:00
openai Refactor completion request validation and enhance stream handling for real-time output 2025-11-23 17:09:30 +08:00