mlogclub
beebf131c8
feat(wxwork): update toUsers field type to int64 and enhance comments for clarity
2026-04-21 17:57:53 +08:00
mlogclub
22e1c2e395
feat(wxwork): refactor recipient handling to use slices instead of structs
2026-04-21 17:51:35 +08:00
mlogclub
179c01c0e4
feat(wxwork): update default recipients to remove duplicates and include all users
2026-04-21 17:36:33 +08:00
mlogclub
8c31a9c444
feat(wxwork): remove unused recipient fields from wxWorkNotifyConfig
2026-04-21 17:36:05 +08:00
mlogclub
e5c9eba497
feat(wxwork): refactor recipient handling and replace unique functions with arrs.Distinct
2026-04-21 17:31:33 +08:00
mlogclub
64e75dcdf6
feat(eventbus): implement conversation and ticket assignment event handlers with notifications
2026-04-21 17:11:50 +08:00
mlogclub
6789a8dee0
feat(eventbus): refactor handler storage to use a slice and add tests for handler order
2026-04-21 16:42:29 +08:00
mlogclub
6c005d5daa
feat(eventbus): implement event handling for ticket and conversation assignments
2026-04-21 16:41:12 +08:00
mlogclub
df13d5ced5
feat(eventbus): enhance event handling with error propagation and global bus management
2026-04-21 11:50:43 +08:00
mlogclub
964b2ed6ce
event bus
2026-04-20 22:58:54 +08:00
mlogclub
c5bef3bd4f
企微通知功能对接
2026-04-19 18:11:34 +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
700ec2a38b
refactor(runtime): remove nil checks for receiver in RuntimeTraceCollector methods
...
refactor(factory): enforce skill middleware requirement in NewAgentHandlerService
refactor(reply_interrupt): improve error handling for pending interrupts
2026-04-19 11:40:17 +08:00
mlogclub
3e98e9379c
refactor(runtime): update function signatures to use value receivers for models
2026-04-19 11:38:05 +08:00
mlogclub
680793f527
refactor(runtime): streamline request handling and improve tool preparation methods
2026-04-19 11:19:51 +08:00
mlogclub
92712d882a
feat(tool-filter): implement runtime tool filtering middleware and associated tests
2026-04-19 10:28:18 +08:00
mlogclub
42077c1aab
Refactor skill handling and improve runtime trace capabilities
...
- Removed the selectSkill method from prepareService and adjusted related logic in the Run method of Service.
- Updated tool catalog to parse agent allowed tool codes directly.
- Simplified Request and RunInput structures by removing unnecessary fields.
- Enhanced the RuntimeTraceCollector to manage skill activation and visibility.
- Introduced a new databaseSkillBackend to manage skill definitions and their metadata.
- Added tests for skill backend functionalities to ensure correct behavior.
- Updated various factory methods to accommodate changes in skill handling.
- Improved documentation and descriptions for better clarity.
2026-04-19 09:57:34 +08:00
mlogclub
ad83d1dfda
feat(utils): add BuildRuntimeMessageText function for message formatting
2026-04-18 22:24:30 +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
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