Skip to content

fix(news): drop unsupported temperature from summarize (gpt-5.x 400)#113

Merged
ralyodio merged 2 commits into
masterfrom
fix/news-summarize-temperature
Jun 17, 2026
Merged

fix(news): drop unsupported temperature from summarize (gpt-5.x 400)#113
ralyodio merged 2 commits into
masterfrom
fix/news-summarize-temperature

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

News article summarize sent temperature: 0.3 which gpt-5.x rejects. Remove it (same as the finance report fix).

ralyodio and others added 2 commits June 17, 2026 20:04
…info

- performance.ts: trailing 1/5/30-day % change helper (calendar-day lookback,
  nearest-prior-trading-day; falls back to oldest bar on short history)
- /api/finance/watchlist/changes: per-profile changes endpoint (no fallback)
- finance-hub: 1D/5D/30D % on watchlist cards
- ticker view: 1D/5D/30D % in the price header, "About" company section,
  and a /news-backed "News for {symbol}" section
- market-data: AssetInfo + optional getAsset() on the provider interface;
  Alpaca implements it via the assets endpoint, Finnhub delegates to it
- /api/finance/asset: paid-gated, per-profile, read-through cached

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The /news article summarize call sent temperature: 0.3, which gpt-5.x reasoning
models reject ('Only the default (1) value is supported') -> 400. Remove it, same
as the finance report fix. Update the test to assert no temperature is sent.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ralyodio ralyodio merged commit 38fadad into master Jun 17, 2026
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

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.

1 participant