chore: update model references to latest versions across docs and code

- Update default summarize model to `claude-sonnet-4-5`
- Replace `gpt-4o` references with `gpt-5.2` throughout docs
- Replace `gpt-4o-mini` references with `gpt-5-mini`
- Add MiniMax-M2.5 and M2.5-lightning to static models list
- Update image generation warning to suggest `gpt-5.2`
- Update OpenAI chat example script to use `gpt-5-mini`
- Update REST API docs and examples with current model names
This commit is contained in:
Kayvan Sylvan
2026-02-12 16:45:05 -08:00
parent 107a51c9dc
commit 0894ec28c1
9 changed files with 19 additions and 17 deletions

View File

@@ -246,7 +246,7 @@ Set the model via environment variable:
```bash
export FABRIC_CHANGELOG_SUMMARIZE_MODEL=claude-opus-4
# or
export FABRIC_CHANGELOG_SUMMARIZE_MODEL=gpt-4
export FABRIC_CHANGELOG_SUMMARIZE_MODEL=gpt-5.2
```
AI summaries are cached and only regenerated when:

View File

@@ -7,7 +7,7 @@ import (
"strings"
)
const DefaultSummarizeModel = "claude-sonnet-4-20250514"
const DefaultSummarizeModel = "claude-sonnet-4-5"
const MinContentLength = 256 // Minimum content length to consider for summarization
const prompt = `# ROLE