opencode-cursor-agent/internal/logic/chat
王性驊 3387887fb9 feat(logic): implement complete ChatCompletions streaming with SSE
- Full SSE streaming support with proper event format
- Tool calls handling with marker detection
- Rate limit detection and reporting
- Account pool integration (round-robin, stats tracking)
- Request/response logging and traffic tracking
- Thinking/reasoning content support
- Model resolution with strict mode
- Workspace and prompt truncation handling
- Added X-Accel-Buffering header for proper SSE
- Pass method/path for logging context
2026-04-03 23:04:28 +08:00
..
anthropic_messages_logic.go feat(logic): implement complete ChatCompletions streaming with SSE 2026-04-03 23:04:28 +08:00
chat_completions_logic.go feat(logic): implement complete ChatCompletions streaming with SSE 2026-04-03 23:04:28 +08:00
health_logic.go feat(logic): implement logic layer for health, models, and chat completions 2026-04-03 23:00:18 +08:00
models_logic.go feat(logic): implement logic layer for health, models, and chat completions 2026-04-03 23:00:18 +08:00