AIStudio2API icon indicating copy to clipboard operation
AIStudio2API copied to clipboard

将AI Studio反代成OpenAI兼容的API | OpenAI-compatible API proxy for Google AI Studio

Results AIStudio2API issues
Sort by recently updated
recently updated
newest added

### Environment - **Version:** `v0.3.8` (commit `d94bf91c`, `UPSTREAM_CHANNELS=playground`, `WAA_BACKEND=spidermonkey`) - **Endpoint:** `POST /v1/chat/completions` (streaming) - **Model:** `gemini-4-hydrogen` (~63k input tokens + 1 image attachment) - **Downstream routers/plugins affected:** [yetone/magpie#6712](https://github.com/yetone/magpie/issues/6712), [BUKOWSKIREAL/magpie-gemini-web#61](https://github.com/BUKOWSKIREAL/magpie-gemini-web/issues/61)...

1.hydrogen模型出现正文已经全部输出完毕后,却无法结束状态,一直没有返回stop,持续等待下去后会出现事件流停顿的记录,手动终止后返回499,用量界面该条显示token均为0。 0.3.7和0.3.8均出现此问题。 经测试,其他模型没有这个问题,且与思考等级无关(high和xhigh均出现),与上下文长度无关,上下文较短时出现频率低,在长上下文(超过二三十万token)时几乎必然出现此问题。 2.在0.3.8版本出现一个30分钟的WAA Worker的冷却关闭,不知道这有什么作用,个人使用场景经常半个小时才发出一次,长时间下来造成不断启动关闭。能否增加一个开关与自定义时间功能?

AI Studio GenerateContent 返回 HTTP 403、协议错误码 7: Your account must be verified before it can continue using the Gemini API. Verify your account at https://aistudio.google.com/verify-account. Learn more at https://ai.google.dev/gemini-api/docs/verification#verify-account. 这个验证问题,佬有无更好解决办法,批量登录扫码?

不正确的方法论: 在OpenAI接口中如果有消息是空tool result,会遭到 `AI Studio 请求参数无效: 编码 content 0: part 0: function result 缺少名称且无法唯一关联调用` 但换在Gemini接口执行,在Gemini上游是完全放行接受这种不正规消息的。 大致来说,在 system instruction 写进后处理单U消息载体,context仅仅写一个空tool result就开始生成。

### Summary / 问题描述 First of all, thank you for your great work on **AIStudio2API**! I use AIStudio2API heavily with **OpenCode** (intensive multi-step agentic coding sessions with tool calls). -...

使用的模型是4h,在模型读取了文件后就报错这个Unsupported content type: redacted_thinking

I am encountering a 429 error when using the `v1/chat/completions` endpoint (with the `gemini-4-hydrogen` model), whereas the `/v1beta/models/gemini-4-hydrogen:streamGenerateContent` endpoint works fine. Could you explain the reason?

build的模型好像全没了,是废了吗?后面还有希望开吗🧐🧐