Skip to content

Geminiv3 migration#73

Open
marcinvalas wants to merge 6 commits into
masterfrom
geminiv3-migration
Open

Geminiv3 migration#73
marcinvalas wants to merge 6 commits into
masterfrom
geminiv3-migration

Conversation

@marcinvalas

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/mappers/gemini.ts Outdated

private isSnapshot(message: GeminiV3DepthUpdate) {
if (this.options.isSnapshotDeterminedByEqualUpdateIds) {
return message.U === message.u

@marcinvalas marcinvalas Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because currently update and snapshot messages are exactly the same, later when we do reply, we are not able to identify which message is "update" or "snapshot".
When streaming (or in recorder), we know it since snapshots are the first message.

I found that U and u are equal for snapshots, but it looks like it is not reliable because it could also means exactly one update, so can I modify the channel name to determine if the message is a snapshot? I would add @snapshot postfix: depth@100ms -> depth@100ms@snapshot?

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