yao/agent/context
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
..
chat.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
chat_test.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
context.go Enhance Assistant's Stream method and context handling for improved traceability and output management 2025-11-22 11:14:49 +08:00
context_test.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
interfaces.go Implement stream lifecycle events in OpenAI provider 2025-11-15 15:32:49 +08:00
interrupt.go Refactor interrupt handling and enhance logging in Assistant and Context components 2025-11-21 20:52:10 +08:00
interrupt_test.go Refactor interrupt handling and enhance logging in Assistant and Context components 2025-11-21 20:52:10 +08:00
jsapi.go Add trace management to context and enhance configuration options 2025-11-19 12:27:42 +08:00
jsapi_test.go Add trace management to context and enhance configuration options 2025-11-19 12:27:42 +08:00
message.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
message_test.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
openapi.go Refactor completion request validation and enhance stream handling for real-time output 2025-11-23 17:09:30 +08:00
openapi_test.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
stack.go Refactor trace package structure and improve trace ID validation 2025-11-18 14:09:28 +08:00
stack_test.go Refactor trace package structure and improve trace ID validation 2025-11-18 14:09:28 +08:00
types.go Enhance response structure and stream start data in Assistant for improved context handling 2025-11-22 17:32:51 +08:00
types_llm.go Enhance response structure and stream start data in Assistant for improved context handling 2025-11-22 17:32:51 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00