Skip to content

'reasoning' was provided without its required following item #8933

@rkocri

Description

@rkocri

Before submitting your bug report

Relevant environment info

- OS: Win 11
- Continue version: 10.0.55
- IDE version: IntelliJ IDEA 2025.2.4 (Ultimate Edition)
- Model: GPT_5.1_codex
- config:
  
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - uses: openai/gpt-5
    with:
      OPENAI_API_KEY: sk-proj-XXX
  - uses: google/gemini-2.5-pro
    with:
      GEMINI_API_KEY: XXX
  - name: Autodetect
    provider: openai
    model: AUTODETECT
    requestOptions:
      timeout: 60000
      verifySsl: true
    apiKey: sk-proj-XXX
  - name: GPT-5.1 Codex
    provider: openai
    model: gpt-5.1-codex
    apiKey: sk-proj-XXX
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  
  OR link to agent in Continue hub:

Description

since 10.0.55 I get this error after some time in a session:
{"message":"Item 'rs_0c3876fcd4da19ef00692a14046bc8819eba6941c05c5ab7e7' of type 'reasoning' was provided without its required following item.","type":"invalid_request_error","param":"input","code":null}

No resubmit last message helps here ... it always occurs again. I have to start a new session, whis is very disturbing.

To reproduce

It's not willingly reproducable, but occurs after some time 10-20 Minutes working with continue.

Log output

[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[2025-11-28T21:21:02] deleteChain called from files/closed 
[info] Starting Continue core...
[2025-11-28T21:21:16] [info] Starting Continue core... 
[2025-11-28T21:21:16] Setup 
[2025-11-28T21:21:16] [binary] Core started 
[2025-11-28T21:21:18] (node:44992) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created) 
[2025-11-28T21:21:51] Request ID: req_b9219f299d374defbdbdbb65dd490b07, Status: 400 
[2025-11-28T21:21:51] HTTP 400 Bad Request from https://api.openai.com/v1/responses

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

Code: undefined
Error number: undefined
Syscall: undefined
Type: undefined

Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_06a20bd006d58dde00692a11f21268819eb1d962e189705f5c' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}
    at cyA.parseError (C:\snapshot\continue\binary\out\index.js:8471:15852)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async n (C:\snapshot\continue\binary\out\index.js:8473:144)
    at async YCA (C:\snapshot\continue\binary\out\index.js:8211:3322)
    at async cyA._streamResponses (C:\snapshot\continue\binary\out\index.js:8494:7591)
    at async cyA.responsesStream (C:\snapshot\continue\binary\out\index.js:8488:4965)
    at async cyA.streamChat (C:\snapshot\continue\binary\out\index.js:8488:6480)
    at async jDa (C:\snapshot\continue\binary\out\index.js:9688:2585)
    at async C:\snapshot\continue\binary\out\index.js:9747:6927 
[2025-11-28T21:21:51] Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_06a20bd006d58dde00692a11f21268819eb1d962e189705f5c' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
} 
[2025-11-28T21:21:51] Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_06a20bd006d58dde00692a11f21268819eb1d962e189705f5c' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}
[2025-11-28T21:22:17] Wqe: The operation was aborted. 
[2025-11-28T21:22:17] Error running handler for "llm/streamChat":  Wqe: The operation was aborted.
[2025-11-28T21:23:42] Request ID: req_151af46e31c4489eb8e31f2f269c3fb3, Status: 400 
[2025-11-28T21:23:42] HTTP 400 Bad Request from https://api.openai.com/v1/responses

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

Code: undefined
Error number: undefined
Syscall: undefined
Type: undefined

Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_06a20bd006d58dde00692a12986174819ea1cd9ea5b9ca4946' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}
    at cyA.parseError (C:\snapshot\continue\binary\out\index.js:8471:15852)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async n (C:\snapshot\continue\binary\out\index.js:8473:144)
    at async YCA (C:\snapshot\continue\binary\out\index.js:8211:3322)
    at async cyA._streamResponses (C:\snapshot\continue\binary\out\index.js:8494:7591)
    at async cyA.responsesStream (C:\snapshot\continue\binary\out\index.js:8488:4965)
    at async cyA.streamChat (C:\snapshot\continue\binary\out\index.js:8488:6480)
    at async jDa (C:\snapshot\continue\binary\out\index.js:9688:2585)
    at async C:\snapshot\continue\binary\out\index.js:9747:6927 
[2025-11-28T21:23:42] Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_06a20bd006d58dde00692a12986174819ea1cd9ea5b9ca4946' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
} 
[2025-11-28T21:23:42] Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_06a20bd006d58dde00692a12986174819ea1cd9ea5b9ca4946' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}
[2025-11-28T21:23:51] Wqe: The operation was aborted. 
[2025-11-28T21:23:51] Error running handler for "llm/streamChat":  Wqe: The operation was aborted.
[2025-11-28T21:30:06] Request ID: req_0e049f88fd9b4c5595e5c06501467d48, Status: 400 
[2025-11-28T21:30:06] HTTP 400 Bad Request from https://api.openai.com/v1/responses

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

Code: undefined
Error number: undefined
Syscall: undefined
Type: undefined

Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_0c3876fcd4da19ef00692a14046bc8819eba6941c05c5ab7e7' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}
    at cyA.parseError (C:\snapshot\continue\binary\out\index.js:8471:15852)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async n (C:\snapshot\continue\binary\out\index.js:8473:144)
    at async YCA (C:\snapshot\continue\binary\out\index.js:8211:3322)
    at async cyA._streamResponses (C:\snapshot\continue\binary\out\index.js:8494:7591)
    at async cyA.responsesStream (C:\snapshot\continue\binary\out\index.js:8488:4965)
    at async cyA.streamChat (C:\snapshot\continue\binary\out\index.js:8488:6480)
    at async jDa (C:\snapshot\continue\binary\out\index.js:9688:2585)
    at async C:\snapshot\continue\binary\out\index.js:9747:6927 
[2025-11-28T21:30:06] Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_0c3876fcd4da19ef00692a14046bc8819eba6941c05c5ab7e7' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
} 
[2025-11-28T21:30:06] Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_0c3876fcd4da19ef00692a14046bc8819eba6941c05c5ab7e7' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}
[2025-11-28T21:32:55] Request ID: req_721cf5911fb44a06858e14df359d72aa, Status: 400 
[2025-11-28T21:32:55] HTTP 400 Bad Request from https://api.openai.com/v1/responses

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

Code: undefined
Error number: undefined
Syscall: undefined
Type: undefined

Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_0c3876fcd4da19ef00692a14046bc8819eba6941c05c5ab7e7' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}
    at cyA.parseError (C:\snapshot\continue\binary\out\index.js:8471:15852)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async n (C:\snapshot\continue\binary\out\index.js:8473:144)
    at async YCA (C:\snapshot\continue\binary\out\index.js:8211:3322)
    at async cyA._streamResponses (C:\snapshot\continue\binary\out\index.js:8494:7591)
    at async cyA.responsesStream (C:\snapshot\continue\binary\out\index.js:8488:4965)
    at async cyA.streamChat (C:\snapshot\continue\binary\out\index.js:8488:6480)
    at async jDa (C:\snapshot\continue\binary\out\index.js:9688:2585)
    at async C:\snapshot\continue\binary\out\index.js:9747:6927 
[2025-11-28T21:32:55] Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

{
  "error": {
    "message": "Item 'rs_0c3876fcd4da19ef00692a14046bc8819eba6941c05c5ab7e7' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
} 
[2025-11-28T21:32:55] Error running handler for "llm/streamChat":  Error: HTTP 400 Bad Request from https://api.openai.com/v1/responses

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:chatRelates to chat interfaceide:jetbrainsRelates specifically to JetBrains 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