接入VectorEngine画布Agent规划
切换画布 Agent 与通用 LLM 代理到 VectorEngine gpt-5.4-mini。 为画布 Agent 注入上一轮生成结果并默认承接上一张图编辑。 补齐规范图工具分流、规范展板 prompt 要求和 JSON 残片回复兜底。 同步前后端契约、测试脚本、环境示例和项目文档。
This commit is contained in:
@@ -150,6 +150,7 @@ function upsertGenerationRecord(
|
||||
? {
|
||||
...record,
|
||||
...nextRecord,
|
||||
summary: nextRecord.summary ?? record.summary,
|
||||
taskId: nextRecord.taskId ?? record.taskId,
|
||||
model: nextRecord.model ?? record.model,
|
||||
images: nextRecord.images.length ? nextRecord.images : record.images,
|
||||
@@ -416,6 +417,7 @@ export function useEditorAgentConversation({
|
||||
const nextRecord: EditorAgentGenerationRecord = {
|
||||
toolCallId: event.data.toolCallId,
|
||||
toolName: event.data.toolName,
|
||||
summary: event.data.summary ?? null,
|
||||
taskId: event.data.taskId ?? null,
|
||||
status,
|
||||
model: event.data.model ?? null,
|
||||
@@ -450,6 +452,7 @@ export function useEditorAgentConversation({
|
||||
const nextRecord: EditorAgentGenerationRecord = {
|
||||
toolCallId: event.data.toolCallId,
|
||||
toolName: event.data.toolName,
|
||||
summary: null,
|
||||
taskId: null,
|
||||
status: 'completed',
|
||||
model: event.data.model,
|
||||
|
||||
Reference in New Issue
Block a user