chore: generated SDK types #4832
integration-tests.yaml
on: pull_request
e2e
7m 36s
e2e-canary
9m 29s
Matrix: js-provider-tests
Annotations
12 errors and 6 warnings
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.21.0 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/scenario.cohere-v7.ts failed with exit code 1
STDOUT:
STDERR:
CohereError: Status code: 402
Body: {
"id": "335b2ea7-f928-4366-a0cf-028ee9f2ceac",
"message": "Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month."
}
at CustomClient.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:346:31)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:39:58)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 402,
body: {
id: '335b2ea7-f928-4366-a0cf-028ee9f2ceac',
message: 'Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '98e69a29f6589718431c09ee22966d04',
date: 'Fri, 24 Apr 2026 00:20:23 GMT',
'x-envoy-upstream-service-time': '3',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 402,
statusText: 'Payment Required',
type: 'basic',
url: 'https://api.cohere.com/v1/chat'
}
}
❯ CustomClient.<anonymous> .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:346:31
❯ fulfilled .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:39:58
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:318:11
❯ runScenarioDir helpers/scenario-harness.ts:337:10
❯ runWithContext helpers/scenario-harness.ts:453:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:34:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:466:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.21.0 > auto-hook instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/scenario.cohere-v7.mjs failed with exit code 1
STDOUT:
STDERR:
CohereError: Status code: 402
Body: {
"id": "547a523b-4c15-4632-a7ff-fb4a1a52b983",
"message": "Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month."
}
at CustomClient.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:408:19)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:59:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 402,
body: {
id: '547a523b-4c15-4632-a7ff-fb4a1a52b983',
message: 'Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '91ec0a493f974656f61d189ef2ae2bf0',
date: 'Fri, 24 Apr 2026 00:20:21 GMT',
'x-envoy-upstream-service-time': '3',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 402,
statusText: 'Payment Required',
type: 'basic',
url: 'https://api.cohere.com/v1/chat'
}
}
❯ CustomClient.<anonymous> .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:408:19
❯ fulfilled .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:59:24
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:318:11
❯ runNodeScenarioDir helpers/scenario-harness.ts:351:10
❯ runWithContext helpers/scenario-harness.ts:453:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:53:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:466:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.21.0 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/scenario.cohere-v7.ts failed with exit code 1
STDOUT:
STDERR:
CohereError: Status code: 402
Body: {
"id": "6232f5f9-5024-4829-b9d4-b7c000897077",
"message": "Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month."
}
at CustomClient.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:346:31)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:39:58)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 402,
body: {
id: '6232f5f9-5024-4829-b9d4-b7c000897077',
message: 'Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': 'b285e69b4969afcb298139368211dbc1',
date: 'Fri, 24 Apr 2026 00:20:20 GMT',
'x-envoy-upstream-service-time': '10',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 402,
statusText: 'Payment Required',
type: 'basic',
url: 'https://api.cohere.com/v1/chat'
}
}
❯ CustomClient.<anonymous> .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:346:31
❯ fulfilled .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:39:58
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:318:11
❯ runScenarioDir helpers/scenario-harness.ts:337:10
❯ runWithContext helpers/scenario-harness.ts:453:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:34:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:466:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.20.0 > auto-hook instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/scenario.cohere-v7.mjs failed with exit code 1
STDOUT:
STDERR:
CohereError: Status code: 402
Body: {
"id": "cb8ab4b8-0867-4906-b748-b63bb61eb35f",
"message": "Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month."
}
at CustomClient.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:408:19)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:59:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 402,
body: {
id: 'cb8ab4b8-0867-4906-b748-b63bb61eb35f',
message: 'Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '2ff629026f2147772208e0fa8264915e',
date: 'Fri, 24 Apr 2026 00:20:19 GMT',
'x-envoy-upstream-service-time': '6',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 402,
statusText: 'Payment Required',
type: 'basic',
url: 'https://api.cohere.com/v1/chat'
}
}
❯ CustomClient.<anonymous> .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:408:19
❯ fulfilled .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:59:24
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:318:11
❯ runNodeScenarioDir helpers/scenario-harness.ts:351:10
❯ runWithContext helpers/scenario-harness.ts:453:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:53:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:466:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.20.0 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/scenario.cohere-v7.ts failed with exit code 1
STDOUT:
STDERR:
CohereError: Status code: 402
Body: {
"id": "0668e9d9-812d-40b2-9585-b46a14692abe",
"message": "Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month."
}
at CustomClient.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:346:31)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:39:58)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 402,
body: {
id: '0668e9d9-812d-40b2-9585-b46a14692abe',
message: 'Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '1943f394063d8e9f0021996921ad31d4',
date: 'Fri, 24 Apr 2026 00:20:18 GMT',
'x-envoy-upstream-service-time': '4',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 402,
statusText: 'Payment Required',
type: 'basic',
url: 'https://api.cohere.com/v1/chat'
}
}
❯ CustomClient.<anonymous> .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:346:31
❯ fulfilled .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:39:58
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:318:11
❯ runScenarioDir helpers/scenario-harness.ts:337:10
❯ runWithContext helpers/scenario-harness.ts:453:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:34:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:466:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.14.0 > auto-hook instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/scenario.cohere-v7.mjs failed with exit code 1
STDOUT:
STDERR:
CohereError: Status code: 402
Body: {
"id": "f33b10e7-b98a-45d9-a0b0-a4afdaff3b64",
"message": "Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month."
}
at CustomClient.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:408:19)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:59:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 402,
body: {
id: 'f33b10e7-b98a-45d9-a0b0-a4afdaff3b64',
message: 'Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '889a573582507030c26626bd430fe4e7',
date: 'Fri, 24 Apr 2026 00:20:17 GMT',
'x-envoy-upstream-service-time': '11',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 402,
statusText: 'Payment Required',
type: 'basic',
url: 'https://api.cohere.com/v1/chat'
}
}
❯ CustomClient.<anonymous> .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:408:19
❯ fulfilled .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:59:24
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:318:11
❯ runNodeScenarioDir helpers/scenario-harness.ts:351:10
❯ runWithContext helpers/scenario-harness.ts:453:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:53:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:466:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.14.0 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/scenario.cohere-v7.ts failed with exit code 1
STDOUT:
STDERR:
CohereError: Status code: 402
Body: {
"id": "2cd43e1c-bc9a-4ccf-8805-c65fe0eb16f8",
"message": "Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month."
}
at CustomClient.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:346:31)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:39:58)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 402,
body: {
id: '2cd43e1c-bc9a-4ccf-8805-c65fe0eb16f8',
message: 'Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': 'a1ab2788d2faba80c6064a00a0d63706',
date: 'Fri, 24 Apr 2026 00:20:16 GMT',
'x-envoy-upstream-service-time': '14',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 402,
statusText: 'Payment Required',
type: 'basic',
url: 'https://api.cohere.com/v1/chat'
}
}
❯ CustomClient.<anonymous> .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:346:31
❯ fulfilled .bt-tmp/run-ZRB5Me/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/Client.js:39:58
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:318:11
❯ runScenarioDir helpers/scenario-harness.ts:337:10
❯ runWithContext helpers/scenario-harness.ts:453:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:34:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:466:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/ai-sdk-instrumentation/scenario.test.ts > ai sdk 6.0.1 > auto-hook instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/scenario.mjs failed with exit code 1
STDOUT:
STDERR:
APICallError [AI_APICallError]: Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.
at file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+provider-utils@4.0.7_zod@3.25.76/node_modules/@ai-sdk/provider-utils/dist/index.mjs:2349:14
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async postToApi (file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+provider-utils@4.0.7_zod@3.25.76/node_modules/@ai-sdk/provider-utils/dist/index.mjs:2192:28)
at async CohereRerankingModel.doRerank (file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+cohere@3.0.7_zod@3.25.76/node_modules/@ai-sdk/cohere/dist/index.mjs:958:9)
at async fn (file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/dist/index.mjs:10086:37)
at async file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/dist/index.mjs:1539:22
at async _retryWithExponentialBackoff (file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/dist/index.mjs:1742:12)
at async fn (file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/dist/index.mjs:10069:67)
at async file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/dist/index.mjs:1539:22
at async file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/scenario.impl.mjs:226:11 {
cause: undefined,
url: 'https://api.cohere.com/v2/rerank',
requestBodyValues: {
model: 'rerank-v3.5',
query: 'Which document is about France?',
documents: [
'Athens is in Greece.',
'Paris is in France.',
'Lima is in Peru.'
],
top_n: 2,
max_tokens_per_doc: undefined,
priority: undefined
},
statusCode: 402,
responseHeaders: {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
date: 'Fri, 24 Apr 2026 00:18:21 GMT',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
server: 'envoy',
'transfer-encoding': 'chunked',
vary: 'Origin,Accept-Encoding',
via: '1.1 google',
'x-accel-expires': '0',
'x-debug-trace-id': '3a69c29dbbe473df903501cac01f1e47',
'x-envoy-upstream-service-time': '11'
},
responseBody: '{"id":"57ea4398-11d2-4488-800d-6b4aab33c837","message":"Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month."}',
|
|
scenarios/ai-sdk-instrumentation/scenario.test.ts > ai sdk 6.0.1 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L318
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/scenario.ts failed with exit code 1
STDOUT:
STDERR:
APICallError [AI_APICallError]: Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using this API key. Your billing capacity will reset at the beginning of next month.
at <anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+provider-utils@4.0.7_zod@3.25.76/node_modules/@ai-sdk/provider-utils/src/response-handler.ts:57:16)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async postToApi (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+provider-utils@4.0.7_zod@3.25.76/node_modules/@ai-sdk/provider-utils/src/post-to-api.ts:118:28)
at async CohereRerankingModel.doRerank (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+cohere@3.0.7_zod@3.25.76/node_modules/@ai-sdk/cohere/src/reranking/cohere-reranking-model.ts:72:9)
at async fn (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/src/rerank/rerank.ts:156:37)
at async <anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/src/telemetry/record-span.ts:21:24)
at async _retryWithExponentialBackoff (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/src/util/retry-with-exponential-backoff.ts:96:12)
at async fn (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/src/rerank/rerank.ts:135:65)
at async <anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/src/telemetry/record-span.ts:21:24)
at async <anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-ILIJvn/scenarios/ai-sdk-instrumentation/scenario.impl.mjs:226:11) {
cause: undefined,
url: 'https://api.cohere.com/v2/rerank',
requestBodyValues: {
model: 'rerank-v3.5',
query: 'Which document is about France?',
documents: [
'Athens is in Greece.',
'Paris is in France.',
'Lima is in Peru.'
],
top_n: 2,
max_tokens_per_doc: undefined,
priority: undefined
},
statusCode: 402,
responseHeaders: {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
date: 'Fri, 24 Apr 2026 00:18:17 GMT',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
server: 'envoy',
'transfer-encoding': 'chunked',
vary: 'Origin,Accept-Encoding',
via: '1.1 google',
'x-accel-expires': '0',
'x-debug-trace-id': '12b581bccad3217aaea6c62a1612a122',
'x-envoy-upstream-service-time': '10'
},
responseBody: '{"id":"9fb8c45c-7bf5-4538-b6ae-d5b5d93ce88c","message":"Maximum billing reached for this API key as set in your dashboard, please go to https://dashboard.cohere.com/billing?tab=payment to increase your maximum amount to continue using
|
|
e2e
@braintrust/js-e2e-tests#test:e2e: command (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test:e2e exited (1)
|
|
e2e-canary
Process completed with exit code 1.
|
|
e2e-canary
@braintrust/js-e2e-tests#test:e2e:canary: command (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test:e2e:canary exited (1)
|
|
js-provider-tests (ubuntu-latest, 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
js-provider-tests (ubuntu-latest, 20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
e2e
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
js-provider-tests (windows-latest, 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
js-provider-tests (windows-latest, 20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
e2e-canary
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|