Yiling-J
86032539ed
feat(agent): refactor message context into unified shumai_message ( #365 )
...
* feat(agent): refactor message context into unified shumai_message
* fix(agent): persist custom_message entry type in DatabaseSessionStorage and handle message mapping defensively
* fix(agent): pass clean prompt to harness and replace optimistic messages on shumai_message stream
* fix(agent): align asset context DTO contract, sync comment attachments, and fix session stats
2026-08-30 15:25:13 +08:00
yiling
61c49b4d7f
feat(chat): allow user to choose chatbot in sidebar
...
- Remove chatbotAgentId from team settings and schema definition
- Make agentId a required parameter in ChatRequest DTO and chatService
- Fetch chatbot agents on chatbot sidebar mount and default to first enabled chat agent
- Render an agent selector dropdown inside the message input area
- Update existing chat sessions to follow the selected agent when continuing a conversation
2026-07-13 10:10:56 +08:00
yiling
c5ce4d07e9
feat(chat): add chatbot session name generation
2026-07-11 20:54:09 +08:00
yiling
3d266a5606
feat(chatbot): remove agentId from request and resolve it via team settings, toggle chatbot icon with tooltip guard
2026-07-11 11:49:38 +08:00
yiling
55026af22e
refactor(chatbot): import AgentMessage type statically in DTO layer
2026-07-07 12:30:41 +08:00
yiling
b8eddcd854
feat(chatbot): return rich AgentMessage structure directly from listMessages API
2026-07-07 12:25:32 +08:00
yiling
7b6db5b56c
feat(chatbot): require agentId in ChatRequest and validate agent presence
2026-07-07 11:27:29 +08:00
yiling
e55ee3a3f0
feat(chatbot): add chatbot backend api support
2026-07-07 10:55:22 +08:00