yao/agent/assistant
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
..
hook Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00
agent.go Implement interrupt handling for context management 2025-11-19 18:41:31 +08:00
agent_interrupt_test.go Implement interrupt handling for context management 2025-11-19 18:41:31 +08:00
agent_test.go Update Go module dependencies and enhance assistant context management 2025-11-15 10:05:57 +08:00
api.go Refactor connector settings to model capabilities 2025-11-17 09:45:54 +08:00
assistant.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00
cache.go ⚠️ BREAKING: Removed the Studio package and renamed Neo to Agent. Configuration file path changed from neo/neo.yml to agent/agent.yml. 2025-11-06 18:13:54 +08:00
cache_test.go Refactor to decouple attachments, RAG, and AI assistant components. 2025-11-06 19:09:44 +08:00
call.go Refactor context handling in agent API and assistant methods 2025-11-10 17:30:53 +08:00
hooks.go ⚠️ BREAKING: Removed the Studio package and renamed Neo to Agent. Configuration file path changed from neo/neo.yml to agent/agent.yml. 2025-11-06 18:13:54 +08:00
load.go Refactor connector settings to model capabilities 2025-11-17 09:45:54 +08:00
load_test.go Refactor to decouple attachments, RAG, and AI assistant components. 2025-11-06 19:09:44 +08:00
object.go Refactor context handling in agent API and assistant methods 2025-11-10 17:30:53 +08:00
plan.go ⚠️ BREAKING: Removed the Studio package and renamed Neo to Agent. Configuration file path changed from neo/neo.yml to agent/agent.yml. 2025-11-06 18:13:54 +08:00
tool.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00
types.go Update ModelCapabilities to support flexible vision input handling 2025-11-17 10:59:46 +08:00
utils.go Refactor assistant handling and storage integration 2025-11-07 11:20:59 +08:00