feat(agent): 增强 Agent 配置,新增结构化字段与聊天功能支持

This commit is contained in:
hugo committed 2026-07-07 11:10:32 +08:00
1 parent ac4262cd75
commit c8ce77199e
183 files changed
+11690 -2300

No files matched your search

@@ -115,6 +115,8 @@ export function useChatPage() {
createNewChatView,
loadConversationState,
sendMessage,
startChatTurn,
stopActiveGeneration,
} = useChat();
const shippingActionBusy = computed(() => hasActiveRunningChatRun(
isThinking.value,
@@ -284,6 +286,7 @@ export function useChatPage() {
newLocalMessageId,
stripReasoningPrelude,
sendMessage,
startChatTurn,
buildFileSpecsForSend: attachmentApi.buildFileSpecsForSend,
loadConversation: (id, opts) => loadConversation(id, opts),
createNewChatView,
@@ -538,6 +541,7 @@ export function useChatPage() {
shouldRenderMessage: markdown.shouldRenderMessage,
canSendMessage: sendApi.canSendMessage,
handleSend: sendApi.handleSend,
stopActiveGeneration,
pushLocalAssistantMessage,
copyToClipboard: sendApi.copyToClipboard,
regenerate: sendApi.regenerate,