yao/openapi/chat
Max 77fbfc1651 Refactor ListChats response handling to support grouping
- Updated the ListChats function to build responses based on the grouping mode, ensuring that when `group_by` is set, the `data` field is omitted to prevent duplication.
- Enhanced the response structure to conditionally include either `groups` or `data`, improving clarity and efficiency in chat session responses.
- Revised tests to validate the new response behavior, ensuring correct handling of grouped and flat responses based on the grouping criteria.
2025-12-10 16:45:22 +08:00
..
chat.go Enhance chat storage design with HTTP API documentation 2025-12-09 16:03:17 +08:00
completions.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
session.go Refactor ListChats response handling to support grouping 2025-12-10 16:45:22 +08:00
types.go Enhance chat storage design with HTTP API documentation 2025-12-09 16:03:17 +08:00