mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[PR #1851] [CLOSED] Gemini api: add gemini api endpoint like openai and anthropic #3718
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3718
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1851
Author: @hiddenWarrior
Created: 10/10/2026
Status: ❌ Closed
Base:
main← Head:GeminiApi📝 Commits (3)
df264e3Gemini API: generateContent, streamGenerateContent and countTokens for Gemini CLI74298e0Gemini API: fix error codes, countTokens, thinking and tool choice; add structured output0c94b60Telemetry: close() waits for the sampler thread to end📊 Changes
9 files changed (+1113 additions, -8 deletions)
View changed files
📝
docs/AI_SETUP.md(+6 -0)📝
docs/DETAILS.md(+58 -1)➕
serve/gemini.py(+389 -0)📝
serve/server.py(+135 -4)📝
serve/telemetry.py(+7 -2)➕
serve/test_gemini.py(+497 -0)📝
serve/test_responses.py(+19 -0)📝
serve/web/app.js(+1 -0)📝
serve/web/index.html(+1 -1)📄 Description
Title
Issue: Resolves #
Summary
What changed
Extra Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.