Recommended action: Use a model that supports the requested output modality (e.g. a TTS/native-audio or image model) or keep response_modalities=['TEXT']. Option: Pick a model that supports the modality [evidence: official_recommended_action] Steps: 1. Pick a model that supports
Recommended action: For API-only chat models use generative variants of tasks (e.g. *_generative / CoT tasks with answer extraction). For self-hosted models, serve them with an OpenAI-compatible /v1/completions endpoint (vLLM etc.) and use local-completions, or run the model dire
Recommended action: Iterate once and collect messages into a list if you need them again; create a new runner for a new conversation loop. Option: Iterate once [evidence: documented_workaround] Steps: 1. val msgs = runner.toList() then reuse msgs 2. new
Recommended action: Remove the v10_config_lookup_from_file flag from CLI/ESLINT_FLAGS/API; if you relied on cwd-based lookup pass --config path/to/eslint.config.js; delete eslint-env comments and declare globals via languageOptions.globals. Option: Adapt to v10 lookup and remove
Recommended action: Detect it early: call sympy.parsing.latex.parse_latex('1') at startup and fail loudly. Keep math-grading in an environment without omegaconf 2.3/hydra 1.3 (or a separate venv/process), or use a latex parser backend that does not need antlr (sympy's lark backen
Recommended action: Paginate with smaller first values, split nested fetches into separate queries, avoid blind retries of the same heavy query. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Map efforts per model (o4-mini: low/medium/high only); don't reuse gpt-5 'minimal'/'none' settings across model families. Option: Clamp effort to the model's supported set [evidence: official_recommended_action] Steps: 1. Clamp effort to the model's supported
Recommended action: Keep token counting/batches/models on the first-party client (or use the cloud provider's native batch/count APIs); on Vertex use messages and count_tokens only. Option: Route unsupported operations elsewhere [evidence: documented_workaround] Steps: 1. use Ant
Recommended action: Migrate to eslint.config.js (the @eslint/v9-to-v10 codemod or the migration guide), move .eslintignore patterns into an 'ignores' config object, wrap legacy shareable configs with FlatCompat from @eslint/eslintrc; or pin eslint@8 temporarily. Option: Migrate t
Recommended action: Register every callback URL the tool uses (exact scheme/host/port/path) or omit redirect_uri; re-copy client credentials from app settings; restart device flow for bad_verification_code; ask the user to verify their primary email. Evidence basis (self-declared
Recommended action: Use openai/realtime/ws (Node ws package) server-side, or put a server-side authentication proxy in front for browser clients (or use WebRTC with ephemeral tokens). Option: Use ws transport or proxy [evidence: official_recommended_action] Steps: 1. import { Ope
Recommended action: Extract the element explicitly before conversion (arr.item(), arr[0], or arr.squeeze() then int()); as a stopgap pin numpy<2.4 for third-party code you cannot patch. Fix: Use .item() (or index) before int()/float() [evidence: official_recommended_action] Appli
Recommended action: Persist and rotate both tokens on every refresh (store the new refresh token), refresh proactively before expires_in, and fall back to a new device/web flow on bad_refresh_token. Option: Rotate tokens atomically [evidence: official_recommended_action] Applies
Recommended action: Replace convenience aliases with package.json 'imports' (subpath imports, e.g. '#/*'; Node recently allowed '#/' prefix, supported by TS 6.0) or run through a bundler/loader that applies the same aliases. Libraries should not publish code depending on paths. O
Recommended action: Resolve the token first (await provider()) and pass it (apiKey string or explicit WebSocket headers) when creating the WebSocket; re-create the socket on token refresh. Option: Resolve credentials before connecting [evidence: documented_workaround] Steps: 1. c
Recommended action: Choose an effort level from the model's supported list (the error enumerates them); treat the SDK Literal as the union across models. Option: Pick a supported level [evidence: official_recommended_action] Steps: 1. Fall back from xhigh to high/max on
Recommended action: On Windows, run agent commands through an explicit bash (Git Bash/WSL) via args list (e.g. ['bash','-lc',cmd]) or a configurable shell; strip CRLF before matching markers; run CI on Windows if Windows is supported. Option: Invoke bash explicitly on
Recommended action: Parse the body on every poll: if it contains error, branch on its value; only proceed when access_token is present. Request JSON with Accept: application/json. Option: Check the error field, not the status [evidence: official_recommended_action] Applies when:
Recommended action: Set "rootDir": "./src" explicitly; for single-file compiles use 'tsc --ignoreConfig foo.ts' or 'tsc -p'. Option: Set rootDir explicitly [evidence: official_recommended_action] Applies when: Projects with sources in src/ Steps: 1. Add "rootDir": "./src" to comp