9router/open-sse/utils
Hồ Xuân Dũng a57a8ce206 feat: add Gemini embeddings support + Letta compatibility fixes
Cherry-picked from decolua/9router#148 (author: xuandung38 / Hồ Xuân Dũng <me@hxd.vn>)

- Add Google AI (Gemini) embeddings support for /v1/embeddings endpoint
- Add Gemini embedding models: gemini-embedding-001, text-embedding-005, text-embedding-004
- Inject missing object/created fields for Letta and strict OpenAI clients
- Strip Azure-specific fields (prompt_filter_results, content_filter_results) from responses
- Fix Dockerfile: copy open-sse directory into Docker runner stage

Skipped: whitelist message field stripping (commit 3/7/8) — too aggressive for all providers
Skipped: default stream=false change (commit 9) — behavior change needs further review
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 15:01:10 +07:00
..
bypassHandler.js Enhance chat handling. 2026-01-14 15:42:38 +07:00
cursorChecksum.js feat(cursor): Integrate Cursor IDE support with OAuth import token flow 2026-02-04 12:07:29 +07:00
cursorProtobuf.js feat(executors): Improved UI components for displaying provider limits and usage statistics in the dashboard. 2026-02-05 18:38:50 +07:00
error.js Remove Docker publish workflow and update error handling in various modules 2026-02-10 19:18:40 +07:00
ollamaTransform.js Update jsconfig.json and package.json to correct open-sse path references from relative to local directory. 2026-01-05 10:37:09 +07:00
proxyFetch.js Integrated proxy support 2026-01-20 12:09:14 +07:00
requestLogger.js ok 2026-01-27 10:49:16 +07:00
sessionManager.js feat(antigravity): initial steps for Antigravity anti-ban alignment 2026-02-20 14:44:29 +07:00
stream.js feat: add Gemini embeddings support + Letta compatibility fixes 2026-02-20 15:01:10 +07:00
streamHandler.js feat: enhance disconnect handling and request tracking in chatCore.js (#126) 2026-02-15 11:51:37 +07:00
streamHelpers.js Fix Antigravity 2026-02-06 09:18:01 +07:00
usageTracking.js feat: add GLM Coding (China) provider and Usage by API Keys statistics 2026-02-11 15:44:08 +07:00