yao/agent/llm
Max 8636b0c842 Enhance context cancellation support in OpenAI provider and tests
- Added context cancellation handling in the OpenAI provider's Stream and Post methods, allowing for graceful termination of operations when the context is cancelled.
- Implemented a new test, TestOpenAIStreamContextCancellation, to validate that streaming respects context cancellation, ensuring proper error handling and event emission during cancellation scenarios.
- Refactored context usage in existing methods to improve consistency and reliability in handling context across streaming operations.
2025-11-15 15:43:57 +08:00
..
handlers Update Go module dependencies and enhance assistant context management 2025-11-15 10:05:57 +08:00
providers Enhance context cancellation support in OpenAI provider and tests 2025-11-15 15:43:57 +08:00
interfaces.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00
llm.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00
stream.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00