mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-07-26 16:17:25 +00:00
Upgrade esperanto 2.20.0 -> 2.22.0. The constraint (>=2.20.0,<3) already allowed it; this relocks and picks up upstream fixes (OpenRouter json body, clearer null-embedding errors, streaming ToolCall objects, base_url trailing-slash normalization, Ollama thinking-model content). Esperanto 2.21.0 lowered the Ollama num_ctx default from 128000 to 8192 to avoid OOM on consumer GPUs. We keep that safe default and add an optional per-credential num_ctx override for self-hosters whose hardware can handle a larger context window: - Credential gains a num_ctx field, surfaced via to_esperanto_config() so it flows into AIFactory automatically (no ModelManager change needed). - Credential create/update API schemas + router pass num_ctx through. - Frontend: optional numeric field on the Ollama credential form, with i18n labels translated across all 13 locales. - Docs: document the new default and the override under AI providers. Closes #825 |
||
|---|---|---|
| .. | ||
| 0-START-HERE | ||
| 1-INSTALLATION | ||
| 2-CORE-CONCEPTS | ||
| 3-USER-GUIDE | ||
| 4-AI-PROVIDERS | ||
| 5-CONFIGURATION | ||
| 6-TROUBLESHOOTING | ||
| 7-DEVELOPMENT | ||
| assets | ||
| index.md | ||
| SECURITY_REVIEW.md | ||