Automattic / Automattic/studio

studio code error 400 re: thinking

Open
#4,363 0 comments 0 reactions 0 assignees View on GitHub
[Status] Auto-allocated Bug YOLO
Dominant language
TypeScript
Stars
517
Forks
95
Avg merge
1d 22h
Merged PRs (30d)
162

Description

### Quick summary

Perhaps this is because they just release new model generations this week?

400 {"type":"error","error":{"type":"invalid_request_error","message":"\"thinking.type.enabled\" is not supported for this model. Use \"thinking.type.adaptive\" and \"output_config.effort\" to control thinking behavior."},"request_id": ...

### Steps to reproduce

- error happens with opus 5 or sonnet 5 in studio code desktop app

### What you expected to happen

studio code to work

### What actually happened

error

### App or CLI?

Studio App

### Version

1.17.0 (latest as of today July 27)

### Impact

One

### Available workarounds?

No and the app is unusable

### Platform

_No response_

### Architecture

_No response_

### Logs or notes

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the error in the Studio App version 1.17.0 using Opus 5 or Sonnet 5, then trace the request configuration that sends the unsupported thinking setting. Done means the app no longer returns this 400 error and is usable with those models.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.