Skip to content

test modes

test modes #27

Triggered via push January 2, 2024 23:42
Status Failure
Total duration 34s
Artifacts

test.yml

on: push
run-tests
24s
run-tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors
error: 400 Invalid parameter: 'response_format' of type 'json_object' is not supported with this model.
at new OpenAIError (:1:33) at new APIError (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:7:9) at new BadRequestError (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:89:9) at generate (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:40:20) at /home/runner/work/instructor-js/instructor-js/node_modules/openai/core.mjs:283:25
error: 400 'object' is not one of ['function'] - 'tools.0.type'
at new OpenAIError (:1:33) at new APIError (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:7:9) at new BadRequestError (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:89:9) at generate (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:40:20) at /home/runner/work/instructor-js/instructor-js/node_modules/openai/core.mjs:283:25
error: 400 Invalid parameter: 'response_format' of type 'json_object' is not supported with this model.
at new OpenAIError (:1:33) at new APIError (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:7:9) at new BadRequestError (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:89:9) at generate (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:40:20) at /home/runner/work/instructor-js/instructor-js/node_modules/openai/core.mjs:283:25
error: 400 'object' is not one of ['function'] - 'tools.0.type'
at new OpenAIError (:1:33) at new APIError (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:7:9) at new BadRequestError (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:89:9) at generate (/home/runner/work/instructor-js/instructor-js/node_modules/openai/error.mjs:40:20) at /home/runner/work/instructor-js/instructor-js/node_modules/openai/core.mjs:283:25
run-tests
Process completed with exit code 1.