Commit Graph

13 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 60956488e0 refactor(rag): update loadDocumentByID and loadFAQByID to return pointers and simplify error handling 2026-04-19 11:56:03 +08:00
mlogclub 3e98e9379c refactor(runtime): update function signatures to use value receivers for models 2026-04-19 11:38:05 +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 2a5629b9f1 feat: refactor indexing logic by introducing runDocumentIndex and runFAQIndex helper methods 2026-04-13 20:10:50 +08:00
mlogclub 4cd31ce454 feat: add document and FAQ loading methods to streamline indexing logic 2026-04-13 20:03:28 +08:00
mlogclub dd965e760c feat: refactor retrieve logic to enhance trace handling and knowledge base preparation 2026-04-13 20:03:04 +08:00
mlogclub a5cf31656e feat: implement context handling methods for improved result selection and context building 2026-04-13 20:01:38 +08:00
mlogclub 5f41522597 feat: add unit tests for FAQ chunk content and model, including context normalization and graph plan reasoning 2026-04-13 18:41:29 +08:00
mlogclub 229282f558 feat: refactor document and FAQ index removal logic, introducing cleanup helper functions for improved structure and readability 2026-04-13 18:17:29 +08:00
mlogclub 227ccedee6 feat: refactor document and FAQ indexing logic, introducing helper functions for improved structure and readability 2026-04-13 18:11:47 +08:00
mlogclub 5c944a28c2 feat: refactor logging and execution plan handling, introducing RunLogService for improved structure 2026-04-13 17:27:32 +08:00
mlogclub efe801b8bf Init 2026-04-09 10:01:23 +08:00