yao/openai
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
..
openai.go Update OpenAI test and API configuration 2025-02-08 15:59:46 +08:00
openai_test.go Update OpenAI test and API configuration 2025-02-08 15:59:46 +08:00
process.go [add] openai process 2023-05-12 22:11:31 +08:00
process_test.go [add] openai process 2023-05-12 22:11:31 +08:00
types.go Refactor OpenAI message parsing for improved streaming support 2025-02-09 09:46:41 +08:00