fix: switching a session's model, and put the model row in the composer
- POST /api/session/:id/model takes the reference under `model`; sending it at the top level was rejected with "Missing key at [model]". - The chat now shows the model/agent row above the input (revealed while typing or running, as dsh-Go does) instead of in the app bar; the draft keeps the same row, with its project chip first. - Thinking levels: /api/model's variants become a 思考 chip and sheet; the choice travels as ModelRef.variant on the switch or the create, and the last level per model is remembered on the device. - The model picker groups providers, adds 收藏 and 最近 (device-local), shows each model's context size and reasoning mark, and collapses sections. - The `/` palette is shared by the chat and the draft (new slash_palette widget); the draft lists commands and skills but not the client-local /compact, which needs an existing session. - 0.3.14 (314).
This commit is contained in:
1 parent
fff6562cbc
commit
7f2f454539
12 files changed
+962
-344
No files matched your search
@@ -5,7 +5,7 @@ Android first. This branch (`flutter`) is a framework evaluation: the same
|
||||
feature set as the earlier Asuka/Go and MyGo attempts, reimplemented in
|
||||
Flutter to compare mobile UI maturity.
|
||||
|
||||
Status: 0.3.13 — servers (passwordless / password login, HTTP/HTTPS and
|
||||
Status: 0.3.14 — servers (passwordless / password login, HTTP/HTTPS and
|
||||
SOCKS5/socks5h proxy, self-signed certificates and pinning), session list with search and live
|
||||
events, chat with streaming Markdown and full history paging, tool steps
|
||||
grouped per turn (icon, one-line summary, foldable run) with image previews, a
|
||||
@@ -17,7 +17,9 @@ server enables it) and a full terminal with a Termux-style key bar; downloads
|
||||
show their progress and can be cancelled. The panel is a tab row with its own
|
||||
close button, and each tab has its own header row. Starting a session opens a
|
||||
draft that only creates the session on the first send; the session list is
|
||||
grouped by project with date captions, pins, archive and swipe actions. A
|
||||
grouped by project with date captions, pins, archive and swipe actions. The
|
||||
model and thinking level sit in the composer (revealed while typing), and the
|
||||
picker groups providers, favourites, recents and context size. A
|
||||
phone opens the session list as the left drawer and a wide window (tablet,
|
||||
desktop) shows it beside the chat. Android 7.0 (API 24)+, plus a Linux desktop
|
||||
target used for local testing.
|
||||
|
||||
Reference in new issue
Block a user