]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ui: fix thinking menu never appearing in single-model mode (#25637)
authorPascal <redacted>
Wed, 15 Jul 2026 11:39:21 +0000 (13:39 +0200)
committerGitHub <redacted>
Wed, 15 Jul 2026 11:39:21 +0000 (13:39 +0200)
commita05df0a81a99d4c87023e98b294c48fdd9878833
tree39e5986802695c20b5b96e3755b97b2efc4d50d1
parenta3e5b96ac5e278c390df429df0b68efcee3ee1b5
ui: fix thinking menu never appearing in single-model mode (#25637)

In MODEL mode, modelPropsCache is never populated: fetchModelProps
call sites are gated on router-only state (isRouterMode checks,
routerModels always empty), so supportsThinking always reads an
empty chat template once a model is auto-selected.

Read serverStore.props.chat_template directly in non-router mode,
since the global /props already describes the single loaded model.
tools/ui/src/lib/stores/models.svelte.ts