feat(file-check): 更新文件检核工具 API Key 配置及相关文档
This commit is contained in:
1 parent
634dee4b81
commit
55cf7ff734
74 files changed
+1525
-1182
No files matched your search
@@ -1,5 +1,8 @@
|
||||
/**
|
||||
* 出货聊天:会话侧栏同步、带任务编号的菜单消息发送。
|
||||
* features/chat/shipping/shippingConversation.ts
|
||||
* 用途:发货聊天会话侧栏同步与带任务编号的菜单消息发送。
|
||||
* 依赖:chat.types、shipping.types、Vue Ref/ComputedRef。
|
||||
* 逻辑:useChatShipping 通过 createShippingConversationHelpers 发送菜单类消息并刷新历史。
|
||||
*/
|
||||
import type { ChatSessionItem } from '../types/chat.types';
|
||||
import type { ChatUploadFileSpec } from '../types/shipping.types';
|
||||
@@ -30,6 +33,9 @@ export async function ensureShippingHistorySynced(ctx: ShippingConversationConte
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建发货会话辅助函数(菜单消息发送 + 历史同步)。
|
||||
*/
|
||||
export function createShippingConversationHelpers(ctx: ShippingConversationContext) {
|
||||
const sendShippingMenuMessage = async (message: string) => {
|
||||
const taskId = ctx.getActiveShippingTaskId();
|
||||
|
||||
Reference in new issue
Block a user