yao/agent/llm
Max eff70ab07d Implement interrupt handling for context management
- Added an interrupt controller to manage user interrupts during streaming operations.
- Introduced methods for registering and unregistering contexts in a global registry to facilitate interrupt handling.
- Enhanced the Assistant's Stream method to check for force interrupts and handle them appropriately.
- Updated context creation to include unique IDs for better identification during interrupts.
- Implemented logic for graceful and force interrupts, allowing for flexible response to user signals.
2025-11-19 18:41:31 +08:00
..
adapters Add Claude API configuration and enhance vision support in LLM adapters 2025-11-17 10:53:08 +08:00
handlers Enhance streaming message handling in DefaultStreamHandler 2025-11-17 15:17:48 +08:00
providers Implement interrupt handling for context management 2025-11-19 18:41:31 +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