yao/neo
Max 38ee806cff Refactor OpenAI message parsing for improved streaming support
- Completely restructure NewOpenAI method to handle different message types more robustly
- Add support for new ChatCompletionChunk type to parse streaming responses
- Improve error handling and message type detection
- Simplify message processing logic with more explicit type checking
- Remove commented-out legacy code and improve overall readability
2025-02-09 09:46:41 +08:00
..
assistant Enhance tool call handling and message processing 2025-02-08 18:09:26 +08:00
context Add RAG and Version support to Assistant context and options 2025-01-26 17:01:03 +08:00
message Refactor OpenAI message parsing for improved streaming support 2025-02-09 09:46:41 +08:00
rag Update Go version and dependencies; enhance Neo API functionality 2025-01-02 13:06:36 +08:00
store Refactor assistant types and tools support 2025-02-01 17:04:45 +08:00
vision Enhance Vision module with flexible prompt handling and comprehensive tests 2025-01-06 11:43:31 +08:00
api.go Add latest chat retrieval endpoint to Neo API 2025-01-25 15:42:51 +08:00
api_test.go Refactor Neo DSL tests and API structure by removing unused handlers, enhancing conversation management, and implementing new test cases for prompts, chat messages, and history saving. Introduce custom response recorder for improved testing and mock AI for simulating responses. 2024-12-13 11:17:00 +08:00
hooks.go Enhance Neo API assistant with improved message handling and hook support 2025-01-29 16:05:36 +08:00
load.go Add connector settings support in DSL and assistant initialization 2025-02-01 17:45:01 +08:00
load_test.go [add] Neo (70%) 2023-04-30 14:21:45 +08:00
neo.go Add support for reasoning content and thinking state in OpenAI streaming 2025-02-05 16:55:09 +08:00
neo_test.go Enhance Neo API and conversation management by adding support for server-sent events (SSE) in chat handling, improving error messaging with structured responses, and refactoring assistant creation logic. Update conversation settings to utilize a new assistant model and implement context management improvements for better performance. Additionally, streamline the DSL structure and enhance test coverage for chat functionalities. 2024-12-13 17:51:13 +08:00
process.go Add support for field selection in assistant filtering 2025-01-31 11:02:31 +08:00
process_test.go Enhance assistant filtering and management in Neo API 2024-12-29 17:30:33 +08:00
types.go Add connector settings support in DSL and assistant initialization 2025-02-01 17:45:01 +08:00