From 2966e7c29678d05a482700113cc6a8fc49f9e698 Mon Sep 17 00:00:00 2001 From: Evo Date: Sat, 20 Jun 2026 04:42:25 +0800 Subject: [PATCH] docs(models): sync anthropic default model to claude-haiku-4-5 alias The runtime default for the anthropic provider is the self-updating alias `claude-haiku-4-5` (config.py PROVIDER_DEFAULT_MODELS, enforced by tests/test_provider_default_models.py), but the Models docs advertised the date-pinned snapshot `claude-haiku-4-5-20251001`. A pinned snapshot and a self-updating alias differ for pricing/retirement, and the page contradicted hermes.md (which already says `claude-haiku-4-5`). Sync the canonical sources (llmProviders.json default-model table + models.mdx examples) to the alias and regenerate the docs skill mirror. --- hindsight-docs/docs/developer/models.mdx | 4 ++-- hindsight-docs/src/data/llmProviders.json | 2 +- skills/hindsight-docs/references/developer/models.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hindsight-docs/docs/developer/models.mdx b/hindsight-docs/docs/developer/models.mdx index bba6b7bc8..ff9b1215e 100644 --- a/hindsight-docs/docs/developer/models.mdx +++ b/hindsight-docs/docs/developer/models.mdx @@ -106,7 +106,7 @@ Each provider has a recommended default model that's used when `HINDSIGHT_API_LL **Example:** Setting just the provider uses its default model: ```bash -# Uses claude-haiku-4-5-20251001 automatically +# Uses claude-haiku-4-5 automatically export HINDSIGHT_API_LLM_PROVIDER=anthropic export HINDSIGHT_API_LLM_API_KEY=sk-ant-xxxxxxxxxxxx ``` @@ -124,7 +124,7 @@ This also applies to per-operation overrides: # Global: OpenAI gpt-4o-mini (default) export HINDSIGHT_API_LLM_PROVIDER=openai -# Retain: Anthropic claude-haiku-4-5-20251001 (default) +# Retain: Anthropic claude-haiku-4-5 (default) export HINDSIGHT_API_RETAIN_LLM_PROVIDER=anthropic ``` diff --git a/hindsight-docs/src/data/llmProviders.json b/hindsight-docs/src/data/llmProviders.json index aa4524bbe..1187b27a5 100644 --- a/hindsight-docs/src/data/llmProviders.json +++ b/hindsight-docs/src/data/llmProviders.json @@ -1,6 +1,6 @@ [ {"id": "openai", "label": "OpenAI", "iconKey": "openai", "defaultModel": "gpt-4o-mini", "batchApi": true}, - {"id": "anthropic", "label": "Anthropic", "iconKey": "anthropic", "defaultModel": "claude-haiku-4-5-20251001"}, + {"id": "anthropic", "label": "Anthropic", "iconKey": "anthropic", "defaultModel": "claude-haiku-4-5"}, {"id": "gemini", "label": "Google Gemini", "iconKey": "gemini", "defaultModel": "gemini-3.5-flash", "batchApi": true, "promptCaching": true}, {"id": "vertexai", "label": "Vertex AI", "iconKey": "gemini", "defaultModel": "google/gemini-3.1-flash-lite", "promptCaching": true}, {"id": "groq", "label": "Groq", "iconKey": "zap", "defaultModel": "openai/gpt-oss-120b", "batchApi": true}, diff --git a/skills/hindsight-docs/references/developer/models.md b/skills/hindsight-docs/references/developer/models.md index aee323be0..bc8214d19 100644 --- a/skills/hindsight-docs/references/developer/models.md +++ b/skills/hindsight-docs/references/developer/models.md @@ -139,7 +139,7 @@ Each provider has a recommended default model that's used when `HINDSIGHT_API_LL | Provider | Default Model | |----------|--------------| | `openai` | `gpt-4o-mini` | -| `anthropic` | `claude-haiku-4-5-20251001` | +| `anthropic` | `claude-haiku-4-5` | | `gemini` | `gemini-3.5-flash` | | `vertexai` | `google/gemini-3.1-flash-lite` | | `groq` | `openai/gpt-oss-120b` | @@ -162,7 +162,7 @@ Each provider has a recommended default model that's used when `HINDSIGHT_API_LL **Example:** Setting just the provider uses its default model: ```bash -# Uses claude-haiku-4-5-20251001 automatically +# Uses claude-haiku-4-5 automatically export HINDSIGHT_API_LLM_PROVIDER=anthropic export HINDSIGHT_API_LLM_API_KEY=sk-ant-xxxxxxxxxxxx ``` @@ -180,7 +180,7 @@ This also applies to per-operation overrides: # Global: OpenAI gpt-4o-mini (default) export HINDSIGHT_API_LLM_PROVIDER=openai -# Retain: Anthropic claude-haiku-4-5-20251001 (default) +# Retain: Anthropic claude-haiku-4-5 (default) export HINDSIGHT_API_RETAIN_LLM_PROVIDER=anthropic ```