yao/agent/assistant
Max 27d4cd9555 Refactor context and assistant methods for improved stack management and resource cleanup
- Updated Stream and Run methods in the Assistant to use pointer receivers for context, enhancing performance and clarity.
- Introduced stack management in context handling, including initialization and cleanup of stack references.
- Enhanced the Release method in Context to ensure proper cleanup of resources, including stacks and writer references.
- Added new stack status constants and validation to improve traceability and error handling in agent operations.
- Removed the obsolete JavaScript API file to streamline the codebase.
2025-11-12 11:24:25 +08:00
..
hooks Refactor context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +08:00
agent.go Refactor context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +08:00
api.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +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 store imports and update store initialization logic 2025-11-07 18:27:43 +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 Refactor assistant and context types for clarity and compatibility 2025-11-11 17:46:45 +08:00
utils.go Refactor assistant handling and storage integration 2025-11-07 11:20:59 +08:00