Commit Graph

9 Commits

Author SHA1 Message Date
mlogclub c84870b968 feat: add fallback mode for AI agents and update knowledge base handling
- Introduced AIAgentFallbackMode with options for NoAnswer and SuggestRetry.
- Updated AI agent edit component to include fallback mode selection.
- Modified API types and payloads to accommodate fallback mode.
- Removed deprecated KnowledgeFallbackMode and related logic from knowledge base.
- Adjusted knowledge retrieval and response handling to utilize new fallback logic.
- Updated tests to reflect changes in fallback mode handling for AI agents.
2026-04-18 13:36:44 +08:00
mlogclub 976b9defde Refactor AI Agent and AI Config handling across multiple files
- Updated function signatures to accept AI Agent and AI Config as non-pointer types for better clarity and safety.
- Modified instances where AI Agent and AI Config were dereferenced to improve code readability.
- Removed unnecessary nil checks for AI Agent and AI Config, simplifying the logic.
- Adjusted related tests and services to align with the new function signatures.
- Cleaned up code in runtime, skills, and executor packages to ensure consistency in handling AI configurations.
2026-04-17 17:57:01 +08:00
mlogclub ef73cf7e61 fix: guard runtime answers with knowledge retrieval 2026-04-15 14:57:14 +08:00
mlogclub 0db5f0d663 feat: enhance knowledge retrieval by adding MaxContextItems support and refactoring related methods 2026-04-12 11:02:08 +08:00
mlogclub 0b77d91dfe feat: enhance retriever trace summary by adding policies support and refactoring related methods 2026-04-12 10:59:59 +08:00
mlogclub 7f70614739 feat: enhance retriever summary handling by adding SetRetrieverSummary method and updating trace summary in knowledge retrieval 2026-04-12 10:49:43 +08:00
mlogclub 9ee3f3abbd feat: enhance knowledge retrieval by introducing RetrieveContextByOptions method and streamline context handling 2026-04-12 10:45:11 +08:00
mlogclub cf84693421 feat: refactor knowledge retrieval to introduce RetrieveContext method and streamline context handling 2026-04-12 10:34:24 +08:00
mlogclub efe801b8bf Init 2026-04-09 10:01:23 +08:00