fix: rename h5 execution override to deep reasoning
This commit is contained in:
@@ -100,7 +100,7 @@ test('POST /agent/runs creates a run and returns 202', async () => {
|
||||
]);
|
||||
});
|
||||
|
||||
test('POST /agent/runs forwards force_goose to the run gateway', async () => {
|
||||
test('POST /agent/runs forwards deep reasoning flag to the run gateway', async () => {
|
||||
const created = [];
|
||||
const handler = createPostAgentRunsHandler({
|
||||
userAuth: {
|
||||
@@ -111,7 +111,7 @@ test('POST /agent/runs forwards force_goose to the run gateway', async () => {
|
||||
agentRunGateway: {
|
||||
async createRun(userId, payload) {
|
||||
created.push({ userId, payload });
|
||||
return { id: 'run-goose', status: 'queued' };
|
||||
return { id: 'run-deep', status: 'queued' };
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -121,16 +121,16 @@ test('POST /agent/runs forwards force_goose to the run gateway', async () => {
|
||||
{
|
||||
currentUser: { id: 'user-1' },
|
||||
body: {
|
||||
request_id: 'req-goose',
|
||||
request_id: 'req-deep',
|
||||
user_message: { role: 'user', content: [{ type: 'text', text: 'hello' }] },
|
||||
force_goose: true,
|
||||
force_deep_reasoning: true,
|
||||
},
|
||||
},
|
||||
res,
|
||||
);
|
||||
|
||||
assert.equal(res.statusCode, 202);
|
||||
assert.equal(created[0].payload.forceGoose, true);
|
||||
assert.equal(created[0].payload.forceDeepReasoning, true);
|
||||
});
|
||||
|
||||
test('POST /agent/runs accepts explicit code tool mode and task type', async () => {
|
||||
|
||||
Reference in New Issue
Block a user