Commit Graph

11 Commits

Author SHA1 Message Date
mlogclub 5d7c10aeab refactor: rename agent widget references to AI agent for consistency
- Updated runtime configuration to use __CS_AI_AGENT_WIDGET_CONFIG__ instead of __CS_AGENT_WIDGET_CONFIG__.
- Changed message types in support host bridge from "cs-agent" to "cs-ai-agent".
- Minified SDK script updated to reflect new AI agent naming conventions.
- Adjusted scrollbar styles in main.scss to use .cs-ai-agent-scrollbar instead of .cs-agent-scrollbar.
2026-05-30 21:19:36 +08:00
mlogclub af8ec71bb8 fix: continue agent flow on knowledge retrieval errors 2026-05-09 23:38:42 +08:00
mlogclub bce4c18c10 refactor: use controlled RAG no-context policy 2026-05-09 23:33:35 +08:00
mlogclub 0609ad758c fix: remove redundant human support suggestion in fallback reply 2026-05-02 15:37:04 +08:00
mlogclub a8f032d332 fix: bypass answerability gate for runtime actions 2026-05-02 15:04:17 +08:00
mlogclub 3eff8b5c3a fix: simplify fallback reply handling in knowledge guard 2026-05-02 14:51:39 +08:00
mlogclub 269042b9d4 feat: add rag answerability gate types 2026-05-02 13:56:01 +08:00
mlogclub a959477617 fix(knowledge-guard): enhance fallback logic for knowledge retrieval and add tests 2026-05-02 13:38:44 +08:00
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