You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(compiler): make pluralization opt-in and infer model
BREAKING CHANGE: Pluralization is now disabled by default to avoid forcing
specific LLM provider dependencies (previously defaulted to Groq).
This fixes a case where users configuring only Google Gemini models would
get errors about missing GROQ_API_KEY because pluralization always used Groq.
Changes:
- Set pluralization.enabled default to false (was true)
- Infer pluralization model from translation models when enabled
- Make inference deterministic (stable fallback order)
- Add validation for empty models map
- Add tests for pluralization configuration
Migration:
If you were using pluralization, add "pluralization: { enabled: true }"
to your config. The model will be inferred from translation models.
Fixes#1737
* chore: add changeset for pluralization defaults
---------
Co-authored-by: Veronica Prilutskaya <veronica@lingo.dev>
'Pluralization is enabled but no "pluralization.model" is configured. Please set "pluralization.model" explicitly or use direct LLM models (not "lingo.dev") so the model can be inferred.',
0 commit comments