Skip to content

Error: using organization model. 400 #9274

@fzhang00

Description

@fzhang00

I'm using Azure hosted gpt-5.1 model from my organization.

Continue installation is through extention in VSCode, Windows11.

The config yaml is setup like this:

name: Local Config
version: 1.0.0
schema: v1
models:
  - name: "myorg-Global-gpt-5.1-chat"
    provider: "openai"
    model: "myorg-Global-gpt-5.1-chat"
    apiBase: 'https://server-address.azure.com/openai/v1/'
    apiVersion: "2025-11-13"
    apiKey: 'my_api'

The setup would work sometimes, but in the same session when it is working, the next conversation can produce this error below. Usually if I use the resubmit last message, it usually work, but submitting new message still not working. Please advice how to fix this issue. Thanks.

Error Details

Model: myorg-Global-gpt-5.1-chat
Provider: openai
Status Code: 400

Error Output

{"message":"Item 'rs_01dffa94d3f99bb000694ab5f2528c8195b97657fa78ccba22' of type 'reasoning' was provided without its required following item.","type":"invalid_request_error","param":"input","code":null}

Additional Context
Please add any additional context about the error here

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationRelates to configuration optionside:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windows

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions