managarten/services/mana-research/src
Till JS 536fc89050 fix(research): Claude Opus 4.7 rejects temperature param + log executor errors
- claude-web-search.ts: only send `temperature` when caller explicitly
  sets one. Opus 4.7 deprecated the param and returns
  400 invalid_request_error "`temperature` is deprecated for this
  model." Sonnet/Haiku still accept it, so keep the opt-in path.
- execute-research.ts: log provider errors via console.warn so future
  integration failures are visible in stdout. Previously the executor
  swallowed the underlying error and only returned a generic errorCode,
  which made diagnosing vendor-specific API changes impossible.

Discovered via smoke-testing with a real Anthropic key — the direct
curl worked, but our provider 400'd because Opus 4.7 tightened the
accepted param set.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 16:36:22 +02:00
..
clients feat(research): add mana-research service — Phase 1 + 2 2026-04-17 14:42:25 +02:00
db feat(research): Phase 3b openai-deep-research async + BYO-keys CRUD & UI 2026-04-17 15:43:12 +02:00
executor fix(research): Claude Opus 4.7 rejects temperature param + log executor errors 2026-04-18 16:36:22 +02:00
lib feat(research): add mana-research service — Phase 1 + 2 2026-04-17 14:42:25 +02:00
middleware feat(research): add mana-research service — Phase 1 + 2 2026-04-17 14:42:25 +02:00
providers fix(research): Claude Opus 4.7 rejects temperature param + log executor errors 2026-04-18 16:36:22 +02:00
router feat(research): Phase 3a — 4 sync research agents 2026-04-17 15:06:12 +02:00
routes feat(research): Phase 3b openai-deep-research async + BYO-keys CRUD & UI 2026-04-17 15:43:12 +02:00
storage feat(research): Phase 3b openai-deep-research async + BYO-keys CRUD & UI 2026-04-17 15:43:12 +02:00
config.ts feat(research): add mana-research service — Phase 1 + 2 2026-04-17 14:42:25 +02:00
index.ts feat(research): Phase 3b openai-deep-research async + BYO-keys CRUD & UI 2026-04-17 15:43:12 +02:00