Explorar el Código

test(sdk): expect model discovery off by default

Dudu-0223 hace 1 mes
padre
commit
9fae988691
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apps/cli/tests/profiles/sdk/keyless-smoke.e2e.ts

+ 1 - 1
apps/cli/tests/profiles/sdk/keyless-smoke.e2e.ts

@@ -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)