]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ui: add reasoning effort control to mobile add sheet (#25539)
authorPascal <redacted>
Tue, 14 Jul 2026 10:05:40 +0000 (12:05 +0200)
committerGitHub <redacted>
Tue, 14 Jul 2026 10:05:40 +0000 (12:05 +0200)
commitc9330ed0cf726be38308822ebbfada07f437c35d
tree9cdcaeeb11bf911a961e7cb060082ad781c60ae3
parentcb489bc0fb789c2cb7a9cc9dc44fa71893fe0988
ui: add reasoning effort control to mobile add sheet (#25539)

The mobile "+" sheet was missing the reasoning effort section present
in the desktop dropdown, so thinking could not be toggled on touch.

Extract the shared derivation and selection logic into useReasoningMenu
and consume it from both the desktop submenu and the mobile sheet,
keeping a single source of truth and preserving each surface idiom.
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddReasoningSubmenu.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddSheet.svelte
tools/ui/src/lib/hooks/use-reasoning-menu.svelte.ts [new file with mode: 0644]