summaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.dev
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-02 20:05:48 +0900
committerAdam Malczewski <[email protected]>2026-06-02 20:05:48 +0900
commit3307fec107fb8d1e7cb063bfdbfadf4b1d4f8c71 (patch)
tree10fc7391ef0cfbbcd62d558991c54b4041b3dac9 /Dockerfile.dev
parentb3aca3efe9e8cda79db6e2c7fa20482880ed16c3 (diff)
downloaddispatch-3307fec107fb8d1e7cb063bfdbfadf4b1d4f8c71.tar.gz
dispatch-3307fec107fb8d1e7cb063bfdbfadf4b1d4f8c71.zip
fix(wake): resolve probe model dynamically from /v1/models by 'haiku' match
The wake probe was hardcoded to claude-3-5-haiku-20241022, which the endpoint no longer serves (HTTP 404), exhausting the retry loop. Now the probe fetches the live model list via fetchAnthropicModels (falling back to ANTHROPIC_MODELS_FALLBACK if empty) and selects the current Haiku via a new pure selectHaikuModel() helper (first case-insensitive 'haiku' substring match; newest-first ordering). No-match surfaces a clear per-account error instead of crashing.
Diffstat (limited to 'Dockerfile.dev')
0 files changed, 0 insertions, 0 deletions