[PR #155] [MERGED] add project payload in fetchAvailableModels request to get correct remainingFraction #278

Closed
opened 2026-02-27 07:18:47 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/155
Author: @macdao
Created: 1/3/2026
Status: Merged
Merged: 1/4/2026
Merged by: @justlovemaki

Base: mainHead: fix-antigravitiy-usage-display


📝 Commits (1)

  • e983c9e add project payload in fetchAvailableModels request to get correct remainingFraction

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/gemini/antigravity-core.js (+1 -1)

📄 Description

在我使用中,我发现antigravity的用量查询结果总是不对,于是做了一些调试。结果发现是fetchAvailableModels请求中缺少project信息。添加后就可以正常显示antigravity的用量了。


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/justlovemaki/AIClient-2-API/pull/155 **Author:** [@macdao](https://github.com/macdao) **Created:** 1/3/2026 **Status:** ✅ Merged **Merged:** 1/4/2026 **Merged by:** [@justlovemaki](https://github.com/justlovemaki) **Base:** `main` ← **Head:** `fix-antigravitiy-usage-display` --- ### 📝 Commits (1) - [`e983c9e`](https://github.com/justlovemaki/AIClient-2-API/commit/e983c9ec2b48b304c5581d96369c9d4548c55409) add project payload in fetchAvailableModels request to get correct remainingFraction ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/gemini/antigravity-core.js` (+1 -1) </details> ### 📄 Description 在我使用中,我发现antigravity的用量查询结果总是不对,于是做了一些调试。结果发现是fetchAvailableModels请求中缺少project信息。添加后就可以正常显示antigravity的用量了。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:18:47 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#278
No description provided.