yao/agent/assistant
Max 151d7f19e0 Enhance Assistant's message building and completion options handling
- Refactored the BuildRequest method to improve clarity and maintainability by separating the building of completion options and final messages.
- Updated the buildMessages function to include MCP samples as system messages, enhancing the message prioritization logic.
- Introduced applyMCPTools method to integrate MCP tools into completion options, improving functionality and flexibility in tool usage.
- Enhanced error handling in completion options to ensure robust application flow.
2025-11-29 11:08:42 +08:00
..
handlers Refactor message handling to support individual message lifecycle events 2025-11-26 19:03:47 +08:00
hook Refactor Assistant streaming logic and remove MCP hook 2025-11-29 09:13:18 +08:00
agent.go Enhance Assistant's message building and completion options handling 2025-11-29 11:08:42 +08:00
agent_interrupt_test.go Enhance state management with safeSend method to prevent panics on closed channels 2025-11-26 19:45:22 +08:00
api.go Refactor connector settings to model capabilities 2025-11-17 09:45:54 +08:00
assistant.go Refactor MCP server configuration and enhance Assistant functionality 2025-11-29 10:04:19 +08:00
build.go Enhance Assistant's message building and completion options handling 2025-11-29 11:08:42 +08:00
build_mcp_test.go Enhance Assistant's message building and completion options handling 2025-11-29 11:08:42 +08:00
build_test.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +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
history.go Refactor MCP server configuration and enhance Assistant functionality 2025-11-29 10:04:19 +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
llm.go Refactor MCP server configuration and enhance Assistant functionality 2025-11-29 10:04:19 +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
mcp.go Enhance Assistant's message building and completion options handling 2025-11-29 11:08:42 +08:00
mcp_test.go Enhance Assistant's message building and completion options handling 2025-11-29 11:08:42 +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
trace.go Refactor Assistant streaming logic and remove MCP hook 2025-11-29 09:13:18 +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