Skip to content

feat: pass dragged images to backend as session/send attachments#26

Merged
william0wang merged 1 commit into
mainfrom
chore/image-support
Jul 23, 2026
Merged

feat: pass dragged images to backend as session/send attachments#26
william0wang merged 1 commit into
mainfrom
chore/image-support

Conversation

@william0wang

Copy link
Copy Markdown
Owner

No description provided.

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@william0wang
william0wang merged commit 30e9abe into main Jul 23, 2026
1 check passed
@william0wang
william0wang deleted the chore/image-support branch July 23, 2026 11:58
william0wang added a commit that referenced this pull request Jul 23, 2026
commit 30e9abe
Author: William Wang <william@10ln.com>
Date:   Thu Jul 23 19:58:51 2026 +0800

    feat: pass dragged images to backend as session/send attachments (#26)
william0wang added a commit that referenced this pull request Jul 23, 2026
…backend (#27)

* feat: support custom model providers in the model dropdown

* fix: surface real backend error instead of misleading version string in
session/subscribe

* fix: stop sending runtimeModel overlay in session/resume to fix Invalid
params

* fix: never send provider.apiKey in runtimeModel overlay and drop builtin
model prefix

* fix: switch models via session/setModel to work with new backend
protocol

* fix: refresh context bar with new model's window after model switch

* refactor: simplify runtime model test data with generic provider names

* fix: retry transient session/subscribe timeouts to absorb preempt busy
window

* Squashed commit of the following:

commit 30e9abe
Author: William Wang <william@10ln.com>
Date:   Thu Jul 23 19:58:51 2026 +0800

    feat: pass dragged images to backend as session/send attachments (#26)

* fix: stop duplicating text under elicitation form

* fix: probe lock state in preempt instead of polling pendingTurns

* fix: drop includeSnapshot from subscribe to eliminate snapshot-induced
timeouts

session/subscribe carried includeSnapshot:true but the returned snapshot
was immediately discarded (void snapshot) — the projection baseline
comes
from a separate fetchMessages call. Asking the backend for a snapshot
forced it to compute a full O(messages) session snapshot on every
prompt,
which the backend logs show taking 3.8s at 267 messages and up to 38s at
3500 messages, blowing past the 10s per-attempt subscribe timeout.
Switch
to includeSnapshot:false; only the eventSeq watermark is needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant