Skip to content

feat(omp-gemini): optimize Gemini OAuth extension architecture, HTTP/2 pooling & benchmarks - #3

Merged
houenyang-momo merged 2 commits into
mainfrom
agent/momo/5508a9bb336b
Aug 24, 2026
Merged

feat(omp-gemini): optimize Gemini OAuth extension architecture, HTTP/2 pooling & benchmarks#3
houenyang-momo merged 2 commits into
mainfrom
agent/momo/5508a9bb336b

Conversation

@houenyang-momo

Copy link
Copy Markdown
Owner

Summary

  • Implement ALPN HTTP/2 persistent connection pooling and eager origin warm-up.
  • Add in-memory session cache fast-path in TokenStore.hasSession() to eliminate synchronous macOS Keychain IPC stalls.
  • Replace per-chunk Promise.race and setTimeout allocations in SSE stream reader with single sliding watchdog timer.
  • Implement model-aware thinking budget mapping (thinkingBudget: 0 for Flash, omitted for Pro to prevent HTTP 400).
  • Add fast-path Unicode surrogate sanitizer (isWellFormed) with zero allocations on clean UTF-8.
  • Canonical source, regression test suite (23/23 passing), and benchmarks documented under docs/omp-agent/gemini-extension/ and extensions/omp-agent/gemini/.

root and others added 2 commits August 24, 2026 07:34
Co-authored-by: multica-agent <github@multica.ai>
…and documentation

Co-authored-by: multica-agent <github@multica.ai>
@houenyang-momo
houenyang-momo merged commit d4fe952 into main Aug 24, 2026
@houenyang-momo
houenyang-momo deleted the agent/momo/5508a9bb336b branch August 24, 2026 07:38
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