Skip to content

fix(desktop): stop sending temperature 0 to cloud LLMs - #6946

Closed
ComputelessComputer wants to merge 1 commit into
mainfrom
cursor/fix-sentry-temperature-rejections-1489
Closed

fix(desktop): stop sending temperature 0 to cloud LLMs#6946
ComputelessComputer wants to merge 1 commit into
mainfrom
cursor/fix-sentry-temperature-rejections-1489

Conversation

@ComputelessComputer

Copy link
Copy Markdown
Collaborator

Summary

High-priority Sentry alerts from today still show cloud LLM 400s for explicit temperature: 0 (HYPRNOTE2-2N35, HYPRNOTE2-2N38). #6667 stopped sending that default, then #6754 put temperature: 0 back on speaker attribution for Apple on-device models without gating it to Apple.

  • Keep temperature: 0 only for Apple Foundation Models
  • Strip temperature from all other cloud language-model requests so enhance/chat cannot regress the same way
  • Drop remaining user-config LLM failures from Sentry (deprecated temperature, missing model, Anthropic org CORS, expired AWS signatures)

Test plan

  • pnpm -F desktop exec tsc --noEmit
  • pnpm -F desktop test
  • pnpm exec oxlint --quiet --format=github apps/desktop/src/
  • cargo test -p user-error
  • pnpm exec dprint fmt / check on the changed non-Swift files
Open in Web Open in Cursor 

Speaker attribution reintroduced temperature: 0 after #6667, which frontier
models reject (HYPRNOTE2-2N35, HYPRNOTE2-2N38). Keep temperature 0 only for
Apple Foundation Models, strip it from cloud provider requests, and drop
remaining user-config LLM failures from Sentry.

Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
@netlify

netlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Deploy Preview for anarlog canceled.

Name Link
🔨 Latest commit 78ee30c
🔍 Latest deploy log https://app.netlify.com/projects/anarlog/deploys/6a868afdda18be0008e77000

@ComputelessComputer
ComputelessComputer deleted the cursor/fix-sentry-temperature-rejections-1489 branch August 20, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants