mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-10-15 15:19:45 +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 |
||
|---|---|---|
| .. | ||
| advanced.md | ||
| ai-providers.md | ||
| database.md | ||
| environment-reference.md | ||
| index.md | ||
| local-stt.md | ||
| local-tts.md | ||
| mcp-integration.md | ||
| ollama.md | ||
| openai-compatible.md | ||
| reverse-proxy.md | ||
| security.md | ||