Skip to content

[Bug] 400 Invalid schema for response_format #339

Closed
@SkyYap

Description

@SkyYap

Have gone through the connectivity-test by implementing .env file on my folder. Still face this issue.

  • Where are you using Midscene.js (Chrome extension, yaml with cli, Puppeteer,…)
    I am using Midscene.js with yaml with cli. I run C:\Users\(username)\Documents\GitHub\midscene-example\yaml-scripts-demo> midscene .\midscene-scripts\search-headphone-on-ebay.yaml --headed

Run npm run test on yaml-scripts-demo and all these 3 failed (sauce-demo.yaml, search-headphone-on-ebay.yaml and local-static-server.yml) but the extract-github-status.yaml work successfully and produce an output in json correctly.

  • The version of Midscene.js or Extension
    Midscene chrome extension Version 0.26,
    @midscene/cli": "latest"

  • The error message
    400 Invalid schema for response_format 'action_items': In context=('properties', 'actions', 'items', 'properties', 'param', 'type', '0'), 'additionalProperties' is required to be supplied and to be false. Error: 400 Invalid schema for response_format 'action_items': In context=('properties', 'actions', 'items', 'properties', 'param', 'type', '0'), 'additionalProperties' is required to be supplied and to be false.

  • The model name and endpoint (if could be public)
    Using openai model.
    OPENAI_API_KEY="sk-project"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions