feat(agent): 创作助手 - 完成第一期交互与执行基线

This commit is contained in:
王志伟
2026-09-08 18:09:24 +08:00
parent 83d9622fd0
commit e782009db5
54 changed files with 6953 additions and 323 deletions

View File

@@ -33,10 +33,12 @@ export type ToolResponseResult = {
export type ToolChoice = "auto" | "required" | { type: "function"; name: string };
export type BackendToolRequests = {
responses: Record<string, unknown>;
chatCompletion: Record<string, unknown>;
claude?: Record<string, unknown>;
gemini?: Record<string, unknown>;
canonical: {
messages: ResponseInputMessage[];
tools: ResponseFunctionTool[];
toolChoice: ToolChoice;
systemPrompt: string;
};
};
export type ResponseMessageContent = AiTextMessage["content"] | string;