Make local Ollama models work out of the box, and stop a retired model id from disabling your LLM - #234
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the latest upstream changes through 2026.08.10.
Local Ollama models now work without per-machine setup. Trailblaze requests a 64K context window (
num_ctx: 65536) on every Ollama call, clamped down to the model's declaredcontext_lengthwhen that is lower. Previously Trailblaze sent nonum_ctxat all, so Ollama sized the window to whatever memory it happened to have — large on a workstation, very small on a laptop — and a single agent turn (~20K tokens on a content-heavy screen) failed withexceed_context_size_error. Override withTRAILBLAZE_OLLAMA_NUM_CTX.A retired model id no longer silently disables your LLM. If you had a model selected that a later release dropped from the catalog, the lookup missed and fell through to a global default that is
NONEin the open-source build — so Trailblaze quietly stopped calling an LLM. A saved id the provider no longer offers now resolves to that provider's owndefault_modelinstead.gemma-4-12b-itremoved from the Google catalog. Google's Gemini API serves exactly two Gemma 4 variants,gemma-4-31b-itandgemma-4-26b-a4b-it(supported models). The 12B is download-only, so selecting it under thegoogleprovider returned a 404 rather than a model. It is still available where it actually runs —ollama.yamlshipsgemma4:12b.Two new recorded tools:
rememberTextBySelectorandrememberNumberBySelectorcapture a value off the screen into agent memory by selector.MCP tool surface: a stale target-scoped tool name that collides with a live host tool name no longer un-registers the host tool during a re-registration pass.
Docs corrections to
adding_a_model.mdandconfiguration.md: declaring anllm.providersblock replaces the built-in catalog rather than adding to it, Ollama models are not auto-discovered at runtime,llm.defaults.modelis read by the Android on-device runner rather than the desktop app or CLI, and workspace target auto-discovery scanstrails/config/trailmaps/.Also included:
tapRouteoverride for recorded taps, recording tool rewrites, AXeclearStatemode, and report/log viewer updates.Note on #233
#233's Playwright driver-download hardening landed directly in this repo and was never mirrored back, so a naive sync would have reverted it. It has been backported to the mirror source first — this PR leaves
PlaywrightDriverManager.ktuntouched.