Logo
Explore
Register Sign In
chuan/CLIProxyAPI
1
0
Fork 0
You've already forked CLIProxyAPI
mirror of https://github.com/router-for-me/CLIProxyAPI.git synced 2026-03-02 04:24:11 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
CLIProxyAPI/internal/translator/antigravity/claude
T
TinyCoder 00822770ec fix(antigravity): prevent invalid JSON when tool_result has no content
sjson.SetRaw with an empty string produces malformed JSON (e.g. "result":}).
This happens when a Claude tool_result block has no content field, causing
functionResponseResult.Raw to be "". Guard against this by falling back to
sjson.Set with an empty string only when .Raw is empty.
00822770ec ยท 2026-02-19 17:08:39 +07:00
History
..
antigravity_claude_request_test.go
fix(antigravity): prevent invalid JSON when tool_result has no content
2026-02-19 17:08:39 +07:00
antigravity_claude_request.go
fix(antigravity): prevent invalid JSON when tool_result has no content
2026-02-19 17:08:39 +07:00
antigravity_claude_response_test.go
refactor(cache, translator): refine signature caching logic and tests, replace session-based logic with model group handling
2026-01-21 18:30:05 +08:00
antigravity_claude_response.go
refactor(cache, translator): refine signature caching logic and tests, replace session-based logic with model group handling
2026-01-21 18:30:05 +08:00
init.go
**feat(translator): add Antigravity translation logic**
2025-11-21 23:40:59 +08:00