yao/openapi/chat
Max 7285972aa9 Add endpoint to append messages to running completions
- Introduced a new POST endpoint `/completions/:context_id/append` to allow appending messages to ongoing chat completions.
- Implemented `GinAppendMessages` function to handle request validation, including context ID and message requirements.
- Added `AppendMessagesRequest` struct to define the request body format, ensuring proper handling of interrupt types and messages.
- Enhanced error responses for invalid requests to improve user feedback and debugging capabilities.
2025-11-22 18:15:40 +08:00
..
chat.go Add endpoint to append messages to running completions 2025-11-22 18:15:40 +08:00
completions.go Add endpoint to append messages to running completions 2025-11-22 18:15:40 +08:00
types.go Add endpoint to append messages to running completions 2025-11-22 18:15:40 +08:00