[GH-ISSUE #2] Claude Code compatible wrapper #1

Closed
opened 2026-02-27 15:37:48 +03:00 by kerem · 10 comments
Owner

Originally created by @rmffo on GitHub (Feb 19, 2026).
Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/2

What do you want?

If you can and have time, please make this proxy wrapped into claude code compatible

Use Case

To be able to use claude code with this awesome proxy

Alternatives Considered

Currently, i am using another proxy to hit this proxy. So ClaudeCode -> CLIProxyPlus -> zerogravity.
Or just opencode, if i am lazy to bootup 2 proxy xD.

Originally created by @rmffo on GitHub (Feb 19, 2026). Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/2 ### What do you want? If you can and have time, please make this proxy wrapped into claude code compatible ### Use Case To be able to use claude code with this awesome proxy ### Alternatives Considered Currently, i am using another proxy to hit this proxy. So ClaudeCode -> CLIProxyPlus -> zerogravity. Or just opencode, if i am lazy to bootup 2 proxy xD.
kerem 2026-02-27 15:37:48 +03:00
Author
Owner

@NikkeTryHard commented on GitHub (Feb 19, 2026):

Sure! Does that setup work in claude code?

<!-- gh-comment-id:3923933945 --> @NikkeTryHard commented on GitHub (Feb 19, 2026): Sure! Does that setup work in claude code?
Author
Owner

@DarKWinGTM commented on GitHub (Feb 19, 2026):

Sure! Does that setup work in claude code?

It's not claude code compatible.

<!-- gh-comment-id:3924000344 --> @DarKWinGTM commented on GitHub (Feb 19, 2026): > Sure! Does that setup work in claude code? It's not claude code compatible.
Author
Owner

@NikkeTryHard commented on GitHub (Feb 19, 2026):

Sure! Does that setup work in claude code?

It's not claude code compatible.

@DarKWinGTM can you please share traces and logs? Open an issue regarding this. Thx!

<!-- gh-comment-id:3924035126 --> @NikkeTryHard commented on GitHub (Feb 19, 2026): > > Sure! Does that setup work in claude code? > > It's not claude code compatible. @DarKWinGTM can you please share traces and logs? Open an issue regarding this. Thx!
Author
Owner

@NikkeTryHard commented on GitHub (Feb 19, 2026):

what happened? does it hang?

<!-- gh-comment-id:3924035698 --> @NikkeTryHard commented on GitHub (Feb 19, 2026): what happened? does it hang?
Author
Owner

@DarKWinGTM commented on GitHub (Feb 19, 2026):

what happened? does it hang?

I try to setup it working with Claude Code But not work.
Claude code have antropic-compatible.

Example payload
POST /v1/messages?beta=true HTTP/1.1
Accept: application/json
Authorization: Bearer <REDACTED_API_KEY>
Content-Type: application/json
User-Agent: claude-cli/<REDACTED_VERSION> (external, cli)
X-Stainless-Arch: arm64
X-Stainless-Lang: js
X-Stainless-OS: MacOS
X-Stainless-Package-Version: <REDACTED_VERSION>
X-Stainless-Retry-Count: 0
X-Stainless-Runtime: node
X-Stainless-Runtime-Version: <REDACTED_NODE_VERSION>
X-Stainless-Timeout: 600
anthropic-beta: claude-code-20250219,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05
anthropic-dangerous-direct-browser-access: true
anthropic-version: 2023-06-01
x-app: cli
Connection: keep-alive
Host: localhost:8317
Accept-Encoding: gzip, deflate, br, zstd
Content-Length: 950

{
"model":"gpt-5.1-codex-mini(low)",
"messages":[{"role":"user","content":[{"type":"text","text":"....................."}]}],
"system":[
{"type":"text","text":"You are Claude Code, Anthropic's official CLI for Claude."},
{"type":"text","text":"Analyze if this message indicates a new conversation topic. If it does, extract a 2-3 word title that captures the new topic. Format your response as a JSON
object with two fields: 'isNewTopic' (boolean) and 'title' (string, or null if isNewTopic is false)."}
],
"tools":[],
"metadata":{
"user_id":"<REDACTED_USER_ID>account__session<REDACTED_SESSION_ID>"
},
"max_tokens":32000,
"temperature":1,
"output_config":{
"format":{
"type":"json_schema",
"schema":{
"type":"object",
"properties":{
"isNewTopic":{"type":"boolean"},
"title":{"anyOf":[{"type":"string"},{"type":"null"}]}
},
"required":["isNewTopic","title"],
"additionalProperties":false
}
}
},
"stream":true
}

HTTP/1.1 200 OK
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-cache
Connection: keep-alive
Content-Type: text/event-stream
Date: <REDACTED_DATE>
Transfer-Encoding: chunked

event: message_start
data: {"type":"message_start","message":{"id":"<REDACTED_RESPONSE_ID>","type":"message","role":"assistant","model":"gpt-5.1-codex-mini","stop_sequence":null,"usage":{"input_tokens":0,"o
utput_tokens":0},"content":[],"stop_reason":null}}

event: content_block_start
data: {"type":"content_block_start","index":0,"content_block":{"type":"thinking","thinking":""}}

event: content_block_delta
data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"..."}}

event: content_block_stop
data: {"type":"content_block_stop","index":0}

event: content_block_start
data: {"type":"content_block_start","index":1,"content_block":{"type":"text","text":""}}

event: content_block_delta
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":"{"isNewTopic": true, "title": "..."}"}}

event: content_block_stop
data: {"type":"content_block_stop","index":1}

event: message_delta
data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":91,"output_tokens":48}}

event: message_stop
data: {"type":"message_stop"}

<!-- gh-comment-id:3924252755 --> @DarKWinGTM commented on GitHub (Feb 19, 2026): > what happened? does it hang? I try to setup it working with Claude Code But not work. Claude code have antropic-compatible. Example payload POST /v1/messages?beta=true HTTP/1.1 Accept: application/json Authorization: Bearer <REDACTED_API_KEY> Content-Type: application/json User-Agent: claude-cli/<REDACTED_VERSION> (external, cli) X-Stainless-Arch: arm64 X-Stainless-Lang: js X-Stainless-OS: MacOS X-Stainless-Package-Version: <REDACTED_VERSION> X-Stainless-Retry-Count: 0 X-Stainless-Runtime: node X-Stainless-Runtime-Version: <REDACTED_NODE_VERSION> X-Stainless-Timeout: 600 anthropic-beta: claude-code-20250219,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05 anthropic-dangerous-direct-browser-access: true anthropic-version: 2023-06-01 x-app: cli Connection: keep-alive Host: localhost:8317 Accept-Encoding: gzip, deflate, br, zstd Content-Length: 950 { "model":"gpt-5.1-codex-mini(low)", "messages":[{"role":"user","content":[{"type":"text","text":"....................."}]}], "system":[ {"type":"text","text":"You are Claude Code, Anthropic's official CLI for Claude."}, {"type":"text","text":"Analyze if this message indicates a new conversation topic. If it does, extract a 2-3 word title that captures the new topic. Format your response as a JSON object with two fields: 'isNewTopic' (boolean) and 'title' (string, or null if isNewTopic is false)."} ], "tools":[], "metadata":{ "user_id":"<REDACTED_USER_ID>_account__session_<REDACTED_SESSION_ID>" }, "max_tokens":32000, "temperature":1, "output_config":{ "format":{ "type":"json_schema", "schema":{ "type":"object", "properties":{ "isNewTopic":{"type":"boolean"}, "title":{"anyOf":[{"type":"string"},{"type":"null"}]} }, "required":["isNewTopic","title"], "additionalProperties":false } } }, "stream":true } HTTP/1.1 200 OK Access-Control-Allow-Headers: * Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS Access-Control-Allow-Origin: * Cache-Control: no-cache Connection: keep-alive Content-Type: text/event-stream Date: <REDACTED_DATE> Transfer-Encoding: chunked event: message_start data: {"type":"message_start","message":{"id":"<REDACTED_RESPONSE_ID>","type":"message","role":"assistant","model":"gpt-5.1-codex-mini","stop_sequence":null,"usage":{"input_tokens":0,"o utput_tokens":0},"content":[],"stop_reason":null}} event: content_block_start data: {"type":"content_block_start","index":0,"content_block":{"type":"thinking","thinking":""}} event: content_block_delta data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"..."}} event: content_block_stop data: {"type":"content_block_stop","index":0} event: content_block_start data: {"type":"content_block_start","index":1,"content_block":{"type":"text","text":""}} event: content_block_delta data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":"{\"isNewTopic\": true, \"title\": \"...\"}"}} event: content_block_stop data: {"type":"content_block_stop","index":1} event: message_delta data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":91,"output_tokens":48}} event: message_stop data: {"type":"message_stop"}
Author
Owner

@NikkeTryHard commented on GitHub (Feb 19, 2026):

added anthropic messages api. please test with claude code!

<!-- gh-comment-id:3924763443 --> @NikkeTryHard commented on GitHub (Feb 19, 2026): added anthropic messages api. please test with claude code!
Author
Owner

@DarKWinGTM commented on GitHub (Feb 19, 2026):

added anthropic messages api. please test with claude code!

Thank you let me check.

<!-- gh-comment-id:3924766295 --> @DarKWinGTM commented on GitHub (Feb 19, 2026): > added anthropic messages api. please test with claude code! Thank you let me check.
Author
Owner

@DarKWinGTM commented on GitHub (Feb 19, 2026):

added anthropic messages api. please test with claude code!

It's working, But have some issue with tool argument, am not sure.

  ⎿  502 {"error":{"message":"Upstream error 400: {\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"Function call is missing 
     a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead 
     to degraded model performance. Additional data, function call `default_api:Bash` , position 2. Please refer to                
     https://ai.google.dev/gemini-api/docs/thought-signatures for more details.\",\n    \"status\": \"INVALID_ARGUMENT\"\n           
     }\n}\n","type":"api_error"},"type":"error"} 
2026-02-19T05:38:21.263433Z  INFO zerogravity::api::messages: POST /v1/messages model=gemini-3-pro-high stream=false
2026-02-19T05:38:21.265675Z  INFO zerogravity::api::messages: Messages: client tools for MITM injection count=33
2026-02-19T05:38:21.311065Z  INFO zerogravity::mitm::store: Registered request context cascade=9b1234fb-9b05-4749-ab10-d3ae08829328
[stub-ext] 200 OK → /exa.extension_server_pb.ExtensionServerService/CheckTerminalShellSupport
2026-02-19T05:38:21.388923Z  INFO zerogravity::mitm::proxy: MITM: forwarding LLM request domain="daily-cloudcode-pa.googleapis.com" req_path=POST /v1internal:streamGenerateContent?alt=sse body_len=62906 cascade=Some("9b1234fb-9b05-4749-ab10-d3ae08829328")
2026-02-19T05:38:21.391646Z  INFO zerogravity::mitm::modify: MITM: request modified [remove 4/5 content messages, replace dummy prompt in USER_REQUEST wrapper (205777 chars), strip all 20 LS tools, inject 1 custom tool group(s), override toolConfig VALIDATED → AUTO, append 1 tool round(s) as functionCall/Response pairs (no model turns found), inject thinkingLevel=high] original=62893 modified=308938 saved_bytes=-246045 saved_pct=-391
2026-02-19T05:38:22.299986Z  INFO zerogravity::mitm::proxy: MITM: streaming response domain="daily-cloudcode-pa.googleapis.com" content_type=text/event-stream status=400
2026-02-19T05:38:22.300004Z  WARN zerogravity::mitm::proxy: MITM: upstream error response domain="daily-cloudcode-pa.googleapis.com" status=400 body={
  "error": {
    "code": 400,
    "message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call `default_api:Bash` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",
    "status": "INVALID_ARGUMENT"
  }
}

2026-02-19T05:38:23.803069Z  INFO zerogravity::mitm::proxy: MITM: forwarding LLM request domain="daily-cloudcode-pa.googleapis.com" req_path=POST /v1internal:streamGenerateContent?alt=sse body_len=62906 cascade=Some("f96fb633-c8cf-4144-aad9-2ef8289c0909")
2026-02-19T05:38:23.805963Z  INFO zerogravity::mitm::modify: MITM: request modified [remove 4/5 content messages, replace dummy prompt in USER_REQUEST wrapper (205777 chars), strip all 20 LS tools, inject 1 custom tool group(s), override toolConfig VALIDATED → AUTO, inject thinkingLevel=high] original=62893 modified=307250 saved_bytes=-244357 saved_pct=-388
2026-02-19T05:38:26.914698Z  INFO zerogravity::api::messages: POST /v1/messages model=gemini-3-pro-high stream=false
2026-02-19T05:38:26.916406Z  INFO zerogravity::api::messages: Messages: client tools for MITM injection count=33
2026-02-19T05:38:26.959069Z  INFO zerogravity::mitm::store: Registered request context cascade=96d1cf55-0819-4052-8e1e-e4f632bc1278
[stub-ext] 200 OK → /exa.extension_server_pb.ExtensionServerService/CheckTerminalShellSupport
2026-02-19T05:38:27.089393Z  INFO zerogravity::mitm::proxy: MITM: forwarding LLM request domain="daily-cloudcode-pa.googleapis.com" req_path=POST /v1internal:streamGenerateContent?alt=sse body_len=62906 cascade=Some("96d1cf55-0819-4052-8e1e-e4f632bc1278")
2026-02-19T05:38:27.093314Z  INFO zerogravity::mitm::modify: MITM: request modified [remove 4/5 content messages, replace dummy prompt in USER_REQUEST wrapper (205777 chars), strip all 20 LS tools, inject 1 custom tool group(s), override toolConfig VALIDATED → AUTO, append 1 tool round(s) as functionCall/Response pairs (no model turns found), inject thinkingLevel=high] original=62893 modified=308938 saved_bytes=-246045 saved_pct=-391
2026-02-19T05:38:28.134203Z  INFO zerogravity::mitm::proxy: MITM: streaming response domain="daily-cloudcode-pa.googleapis.com" content_type=text/event-stream status=400
2026-02-19T05:38:28.134226Z  WARN zerogravity::mitm::proxy: MITM: upstream error response domain="daily-cloudcode-pa.googleapis.com" status=400 body={
  "error": {
    "code": 400,
    "message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call `default_api:Bash` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",
    "status": "INVALID_ARGUMENT"
  }
}

2026-02-19T05:38:28.374241Z  INFO zerogravity::mitm::proxy: MITM: streaming response domain="daily-cloudcode-pa.googleapis.com" content_type=text/event-stream status=200
2026-02-19T05:38:37.198436Z  INFO zerogravity::api::messages: POST /v1/messages model=gemini-3-pro-high stream=false
2026-02-19T05:38:37.200535Z  INFO zerogravity::api::messages: Messages: client tools for MITM injection count=33
2026-02-19T05:38:37.246869Z  INFO zerogravity::mitm::store: Registered request context cascade=20bbf274-862f-4f79-9c96-ac911d41f87e
[stub-ext] 200 OK → /exa.extension_server_pb.ExtensionServerService/CheckTerminalShellSupport
2026-02-19T05:38:37.324251Z  INFO zerogravity::mitm::proxy: MITM: forwarding LLM request domain="daily-cloudcode-pa.googleapis.com" req_path=POST /v1internal:streamGenerateContent?alt=sse body_len=62906 cascade=Some("20bbf274-862f-4f79-9c96-ac911d41f87e")
2026-02-19T05:38:37.326372Z  INFO zerogravity::mitm::modify: MITM: request modified [remove 4/5 content messages, replace dummy prompt in USER_REQUEST wrapper (205777 chars), strip all 20 LS tools, inject 1 custom tool group(s), override toolConfig VALIDATED → AUTO, append 1 tool round(s) as functionCall/Response pairs (no model turns found), inject thinkingLevel=high] original=62893 modified=308938 saved_bytes=-246045 saved_pct=-391
2026-02-19T05:38:38.035599Z  INFO zerogravity::mitm::proxy: MITM: streaming response domain="daily-cloudcode-pa.googleapis.com" content_type=text/event-stream status=400
2026-02-19T05:38:38.035633Z  WARN zerogravity::mitm::proxy: MITM: upstream error response domain="daily-cloudcode-pa.googleapis.com" status=400 body={
  "error": {
    "code": 400,
    "message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call `default_api:Bash` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",
    "status": "INVALID_ARGUMENT"
  }
}


<!-- gh-comment-id:3924796745 --> @DarKWinGTM commented on GitHub (Feb 19, 2026): > added anthropic messages api. please test with claude code! It's working, But have some issue with tool argument, am not sure. ``` ⎿  502 {"error":{"message":"Upstream error 400: {\n \"error\": {\n \"code\": 400,\n \"message\": \"Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call `default_api:Bash` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.\",\n \"status\": \"INVALID_ARGUMENT\"\n }\n}\n","type":"api_error"},"type":"error"} ``` ``` 2026-02-19T05:38:21.263433Z INFO zerogravity::api::messages: POST /v1/messages model=gemini-3-pro-high stream=false 2026-02-19T05:38:21.265675Z INFO zerogravity::api::messages: Messages: client tools for MITM injection count=33 2026-02-19T05:38:21.311065Z INFO zerogravity::mitm::store: Registered request context cascade=9b1234fb-9b05-4749-ab10-d3ae08829328 [stub-ext] 200 OK → /exa.extension_server_pb.ExtensionServerService/CheckTerminalShellSupport 2026-02-19T05:38:21.388923Z INFO zerogravity::mitm::proxy: MITM: forwarding LLM request domain="daily-cloudcode-pa.googleapis.com" req_path=POST /v1internal:streamGenerateContent?alt=sse body_len=62906 cascade=Some("9b1234fb-9b05-4749-ab10-d3ae08829328") 2026-02-19T05:38:21.391646Z INFO zerogravity::mitm::modify: MITM: request modified [remove 4/5 content messages, replace dummy prompt in USER_REQUEST wrapper (205777 chars), strip all 20 LS tools, inject 1 custom tool group(s), override toolConfig VALIDATED → AUTO, append 1 tool round(s) as functionCall/Response pairs (no model turns found), inject thinkingLevel=high] original=62893 modified=308938 saved_bytes=-246045 saved_pct=-391 2026-02-19T05:38:22.299986Z INFO zerogravity::mitm::proxy: MITM: streaming response domain="daily-cloudcode-pa.googleapis.com" content_type=text/event-stream status=400 2026-02-19T05:38:22.300004Z WARN zerogravity::mitm::proxy: MITM: upstream error response domain="daily-cloudcode-pa.googleapis.com" status=400 body={ "error": { "code": 400, "message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call `default_api:Bash` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.", "status": "INVALID_ARGUMENT" } } 2026-02-19T05:38:23.803069Z INFO zerogravity::mitm::proxy: MITM: forwarding LLM request domain="daily-cloudcode-pa.googleapis.com" req_path=POST /v1internal:streamGenerateContent?alt=sse body_len=62906 cascade=Some("f96fb633-c8cf-4144-aad9-2ef8289c0909") 2026-02-19T05:38:23.805963Z INFO zerogravity::mitm::modify: MITM: request modified [remove 4/5 content messages, replace dummy prompt in USER_REQUEST wrapper (205777 chars), strip all 20 LS tools, inject 1 custom tool group(s), override toolConfig VALIDATED → AUTO, inject thinkingLevel=high] original=62893 modified=307250 saved_bytes=-244357 saved_pct=-388 2026-02-19T05:38:26.914698Z INFO zerogravity::api::messages: POST /v1/messages model=gemini-3-pro-high stream=false 2026-02-19T05:38:26.916406Z INFO zerogravity::api::messages: Messages: client tools for MITM injection count=33 2026-02-19T05:38:26.959069Z INFO zerogravity::mitm::store: Registered request context cascade=96d1cf55-0819-4052-8e1e-e4f632bc1278 [stub-ext] 200 OK → /exa.extension_server_pb.ExtensionServerService/CheckTerminalShellSupport 2026-02-19T05:38:27.089393Z INFO zerogravity::mitm::proxy: MITM: forwarding LLM request domain="daily-cloudcode-pa.googleapis.com" req_path=POST /v1internal:streamGenerateContent?alt=sse body_len=62906 cascade=Some("96d1cf55-0819-4052-8e1e-e4f632bc1278") 2026-02-19T05:38:27.093314Z INFO zerogravity::mitm::modify: MITM: request modified [remove 4/5 content messages, replace dummy prompt in USER_REQUEST wrapper (205777 chars), strip all 20 LS tools, inject 1 custom tool group(s), override toolConfig VALIDATED → AUTO, append 1 tool round(s) as functionCall/Response pairs (no model turns found), inject thinkingLevel=high] original=62893 modified=308938 saved_bytes=-246045 saved_pct=-391 2026-02-19T05:38:28.134203Z INFO zerogravity::mitm::proxy: MITM: streaming response domain="daily-cloudcode-pa.googleapis.com" content_type=text/event-stream status=400 2026-02-19T05:38:28.134226Z WARN zerogravity::mitm::proxy: MITM: upstream error response domain="daily-cloudcode-pa.googleapis.com" status=400 body={ "error": { "code": 400, "message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call `default_api:Bash` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.", "status": "INVALID_ARGUMENT" } } 2026-02-19T05:38:28.374241Z INFO zerogravity::mitm::proxy: MITM: streaming response domain="daily-cloudcode-pa.googleapis.com" content_type=text/event-stream status=200 2026-02-19T05:38:37.198436Z INFO zerogravity::api::messages: POST /v1/messages model=gemini-3-pro-high stream=false 2026-02-19T05:38:37.200535Z INFO zerogravity::api::messages: Messages: client tools for MITM injection count=33 2026-02-19T05:38:37.246869Z INFO zerogravity::mitm::store: Registered request context cascade=20bbf274-862f-4f79-9c96-ac911d41f87e [stub-ext] 200 OK → /exa.extension_server_pb.ExtensionServerService/CheckTerminalShellSupport 2026-02-19T05:38:37.324251Z INFO zerogravity::mitm::proxy: MITM: forwarding LLM request domain="daily-cloudcode-pa.googleapis.com" req_path=POST /v1internal:streamGenerateContent?alt=sse body_len=62906 cascade=Some("20bbf274-862f-4f79-9c96-ac911d41f87e") 2026-02-19T05:38:37.326372Z INFO zerogravity::mitm::modify: MITM: request modified [remove 4/5 content messages, replace dummy prompt in USER_REQUEST wrapper (205777 chars), strip all 20 LS tools, inject 1 custom tool group(s), override toolConfig VALIDATED → AUTO, append 1 tool round(s) as functionCall/Response pairs (no model turns found), inject thinkingLevel=high] original=62893 modified=308938 saved_bytes=-246045 saved_pct=-391 2026-02-19T05:38:38.035599Z INFO zerogravity::mitm::proxy: MITM: streaming response domain="daily-cloudcode-pa.googleapis.com" content_type=text/event-stream status=400 2026-02-19T05:38:38.035633Z WARN zerogravity::mitm::proxy: MITM: upstream error response domain="daily-cloudcode-pa.googleapis.com" status=400 body={ "error": { "code": 400, "message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call `default_api:Bash` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.", "status": "INVALID_ARGUMENT" } } ```
Author
Owner

@NikkeTryHard commented on GitHub (Feb 19, 2026):

can you make a new issue with ur version and os and all that? thx
@DarKWinGTM

<!-- gh-comment-id:3924821717 --> @NikkeTryHard commented on GitHub (Feb 19, 2026): can you make a new issue with ur version and os and all that? thx @DarKWinGTM
Author
Owner

@DarKWinGTM commented on GitHub (Feb 19, 2026):

can you make a new issue with ur version and os and all that? thx @DarKWinGTM

Sure

<!-- gh-comment-id:3924839551 --> @DarKWinGTM commented on GitHub (Feb 19, 2026): > can you make a new issue with ur version and os and all that? thx [@DarKWinGTM](https://github.com/DarKWinGTM) Sure
Sign in to join this conversation.
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/zerogravity#1
No description provided.