test(sdk): expect model discovery off by default
This commit is contained in:
1 parent
f2bb5cef05
commit
9fae988691
1 file changed
+1
-1
@@ -153,7 +153,7 @@ describe('Python SDK dsh profile keyless smoke', () => {
|
||||
const tools = modelRequests[0]?.tools as { function?: { name?: string } }[]
|
||||
expect(modelRequests[0]?.reasoning_effort).toBe('max')
|
||||
expect(modelRequests[0]?.max_tokens).toBe(1234)
|
||||
expect(tools.map(tool => tool.function?.name)).toContain('list_subagent_models')
|
||||
expect(tools.map(tool => tool.function?.name)).not.toContain('list_subagent_models')
|
||||
|
||||
child.stdin.write(`${JSON.stringify({ jsonrpc: '2.0', id: 3, method: 'shutdown' })}\n`)
|
||||
const shutdown = await waitForLine(lines, value => value.id === 3, () => stderr)
|
||||
|
||||
Reference in new issue
Block a user