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
797bee65f9
refactor: remove remark field from AIAgent and related components
2026-04-18 13:03:59 +08:00
mlogclub
f166caa11c
refactor(instruction): remove governance instruction handling and update related tests
2026-04-18 11:25:48 +08:00
mlogclub
9756780aec
refactor(instruction): simplify NewService initialization and update import paths
2026-04-18 11:09:05 +08:00
mlogclub
023ec7373b
refactor(instruction): remove default governance instruction and update related tests
2026-04-18 11:05:41 +08:00
mlogclub
9a677a6265
refactor(instruction): remove project instruction handling and related tests
2026-04-18 10:54:36 +08:00
mlogclub
19848d031b
refactor(skills): update routeSkillWithLLM to use RuntimeContext and streamline user message handling
2026-04-17 18:57:34 +08:00
mlogclub
51884f1bdf
refactor: change pointer receivers to value types for Conversation and UserMessage in various structs and functions
2026-04-17 18:48:45 +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
3b062c327c
feat(skill): refactor RuntimeContext to use AIAgent and AIConfig directly, removing contextLoader
2026-04-17 17:37:36 +08:00
mlogclub
d5d1956964
refactor(runtime): replace RuntimeExecutor with direct use of executor.Service
2026-04-17 17:31:28 +08:00
mlogclub
81056a61a1
feat(skill): optimize loadCandidateSkills to use batch retrieval for skill definitions
2026-04-17 17:27:33 +08:00
mlogclub
c396a4a5e3
feat(skill): refactor candidateLoader and update loadCandidateSkills to use getSkillByID
2026-04-17 17:23:29 +08:00
mlogclub
a601fa707f
feat(instruction): enhance default governance instruction with additional rules and tests
2026-04-17 17:11:26 +08:00
mlogclub
61192193b2
fix(skill): update normalizeSkillIDs to skip disabled skills instead of returning an error
2026-04-17 16:20:58 +08:00
mlogclub
c9a763024c
feat(skill): implement restore functionality for Skill Definitions
2026-04-17 15:54:09 +08:00
mlogclub
48564ec384
feat(content): enhance ContentChunk structure with Provider and StorageKey fields
2026-04-17 13:40:16 +08:00
mlogclub
0037b97f29
feat(asset): add AssetID to ContentChunk and update image handling in HTML content
2026-04-17 13:35:00 +08:00
mlogclub
f4761d768c
feat(message): enhance HTML asset normalization with error handling and validation
2026-04-17 13:34:36 +08:00
mlogclub
2631689958
feat(message): enhance message normalization and asset handling in HTML content
2026-04-17 12:50:06 +08:00
mlogclub
9efec4d379
feat(utils): implement message rendering utilities and enhance message handling in services
2026-04-17 12:40:47 +08:00
mlogclub
9d76d5d505
feat(message): enhance message rendering and payload handling with signed URLs
2026-04-17 11:53:25 +08:00
mlogclub
2464bbe428
feat(asset): remove URL field from Asset model and related functions
2026-04-17 11:19:13 +08:00
mlogclub
c4aeea5581
feat(storage): implement provider caching and error logging in asset builder
2026-04-17 11:14:59 +08:00
mlogclub
1ca7493f31
refactor: update productionBasePath to empty string and adjust static resource handling for dashboard
2026-04-15 18:18:06 +08:00
mlogclub
3209e40a98
refactor: update static resource registration to use dashboard path instead of web
2026-04-15 17:32:42 +08:00
mlogclub
62416baabc
Refactor API endpoints to use /api/dashboard instead of /api/console
...
- Updated all relevant API functions in agent.ts, company.ts, customer-contact.ts, customer.ts, dashboard.ts, ticket-config.ts, and ticket.ts to point to the new /api/dashboard paths.
- Ensured that all request methods and payload structures remain unchanged to maintain existing functionality.
2026-04-15 17:12:30 +08:00
mlogclub
ef73cf7e61
fix: guard runtime answers with knowledge retrieval
2026-04-15 14:57:14 +08:00
mlogclub
1ad788b3ed
feat: add missing import for response DTO in agent run log controller and service
2026-04-15 13:51:37 +08:00
mlogclub
76b846f913
feat: remove unused AgentRunGraphSummary type and related logic from services and UI
2026-04-14 23:36:44 +08:00
mlogclub
12fd382abb
feat: add customer online status to conversation response and update UI accordingly
2026-04-14 20:28:48 +08:00
mlogclub
3cdd31786a
feat: enhance event consumption logic and add success reply handling
2026-04-14 19:05:05 +08:00
mlogclub
1766eadcf1
feat: implement buildResumeTargets function and update resume handling logic
2026-04-14 18:27:45 +08:00
mlogclub
e4cec52661
feat: remove priority field from SkillDefinition and related services
2026-04-14 17:50:33 +08:00
mlogclub
ccdb04e9aa
feat: remove priority field from skill definition and related services
2026-04-14 17:44:06 +08:00
mlogclub
2369a5a9a1
feat: update default skill to AfterSalesEscalation and adjust related service logic
2026-04-14 17:43:58 +08:00
mlogclub
aa7f94e08f
feat: add support for Graph Tools in AIAgent model and related services
2026-04-14 15:10:50 +08:00
mlogclub
8d560bb6bd
feat: introduce ToolSourceType enum and refactor related code to use it
2026-04-14 15:05:38 +08:00
mlogclub
0ea493e536
feat: add test to ensure BuildMCPTools skips graph and builtin tools
2026-04-14 14:59:44 +08:00
mlogclub
eef67a436e
refactor: update GetCustomerSourceTypeLabel to use ExternalSource and remove CustomerSourceType alias
2026-04-14 12:14:13 +08:00
mlogclub
fcb2e11998
feat: refactor runtime to use application runtime executor and update related types
2026-04-14 12:13:33 +08:00
mlogclub
03fc405e4e
feat: implement instruction assembly and project instruction providers with tests
2026-04-14 12:00:03 +08:00
mlogclub
9c7d70741a
feat: refactor MCP tool definitions to use a new tooling package and update related references
2026-04-14 11:55:32 +08:00
mlogclub
2cb4866fce
feat: update ResumeData type from map[string]any to map[string]string for consistency
2026-04-14 11:47:13 +08:00
mlogclub
48ad418f06
feat: enhance handoff reason extraction and improve trace data handling in run log service
2026-04-14 11:45:55 +08:00
mlogclub
13903baf61
feat: add structured types for graph tool outcomes and enhance candidate extraction logic
2026-04-14 11:15:07 +08:00
mlogclub
974f8a788b
feat: remove unused helper functions for string and int64 value extraction
2026-04-14 11:13:19 +08:00
mlogclub
a5b0ddc760
feat: refactor HandoffGraph to use structured arguments and add unit tests for buildReason method
2026-04-14 11:08:02 +08:00
mlogclub
2211f29da7
feat: remove deprecated service and types, and refactor tool search request handling
2026-04-14 11:07:26 +08:00
mlogclub
c12e75b6a1
feat: add unit tests for AgentHandlerService and buildInstructionTraceSummary
2026-04-14 10:51:10 +08:00