oterm/docs
Yiorgis Gozadinos 781bc7c043
Read a local server's context window when the chat opens and after every reply
The window only reached the summarize capability after the first reply
reported usage, so a reopened long chat on a local server sent its
whole history uncompacted: Ollama silently drops the oldest context and
vLLM rejects the request. The chat now asks the server on mount, after
each reply whether or not it reported usage, and again after the chat
is edited, which previously kept the old model's window.

The system prompt check that drives the summary notification stays,
with the invariant it relies on stated: oterm sends its system prompt
as instructions and none of its capabilities add system prompts.

The turn helper in the widget tests waited for exactly two messages,
which a preloaded chat can never reach; it now waits for two more than
were there.
2026-09-27 13:56:12 +03:00
..
development Correct and restructure the docs 2026-09-26 16:42:42 +03:00
img splash 2026-05-11 23:04:35 +03:00
mcp Cover empty-text prompts and qualify the MCP env list by platform 2026-09-26 17:02:08 +03:00
oracle Correct and restructure the docs 2026-09-26 16:42:42 +03:00
stylesheets hero 2026-05-11 22:15:37 +03:00
tools Read a local server's context window when the chat opens and after every reply 2026-09-27 13:56:12 +03:00
app_config.md Document the context window figure and where local windows come from 2026-09-27 13:04:06 +03:00
commands.md Describe the CLI options and mask OLLAMA_API_KEY in --config 2026-09-26 16:44:14 +03:00
features.md Document the summarize capability 2026-09-27 13:15:51 +03:00
index.md hero 2026-05-11 22:15:37 +03:00
installation.md Correct and restructure the docs 2026-09-26 16:42:42 +03:00
parameters.md Correct and restructure the docs 2026-09-26 16:42:42 +03:00
rag_example.md Correct and restructure the docs 2026-09-26 16:42:42 +03:00