refactor: slim thread execution prompts
This commit is contained in:
@@ -103,6 +103,11 @@ test("POST /api/v1/projects/[projectId]/messages enqueues a conversation task fo
|
||||
assert.ok(task, "expected a queued conversation_reply task for the single-thread project");
|
||||
assert.equal(task?.targetProjectId, singleProject.id);
|
||||
assert.equal(task?.targetThreadId, singleProject.threadMeta.threadId);
|
||||
assert.ok(task?.executionPrompt?.includes("请同步一下当前阻塞情况"));
|
||||
assert.ok(task?.executionPrompt?.includes(singleProject.threadMeta.threadDisplayName));
|
||||
assert.ok(!task?.executionPrompt?.includes("threadProjectId:"), "thread prompt should not include project id labels");
|
||||
assert.ok(!task?.executionPrompt?.includes("folderName:"), "thread prompt should not include folder labels");
|
||||
assert.ok(!task?.executionPrompt?.includes("deviceIds:"), "thread prompt should not include device id labels");
|
||||
});
|
||||
|
||||
test("POST /api/v1/master-agent/tasks/[taskId]/complete writes the raw thread reply back to the single-thread project", async () => {
|
||||
|
||||
Reference in New Issue
Block a user