chore: record all cassettes after fantasy update

Andrey Nering created

Change summary

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/bash_tool.yaml             |  74 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/download_tool.yaml         |   2 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/fetch_tool.yaml            |  71 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/glob_tool.yaml             |  41 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/grep_tool.yaml             |  54 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/ls_tool.yaml               |  43 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/multiedit_tool.yaml        |  88 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/parallel_tool_calls.yaml   |  62 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/read_a_file.yaml           |  60 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/simple_test.yaml           |  32 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/sourcegraph_tool.yaml      |  49 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/update_a_file.yaml         |  92 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/write_tool.yaml            |  92 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/bash_tool.yaml                 | 112 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/download_tool.yaml             | 120 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/fetch_tool.yaml                |  88 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/glob_tool.yaml                 |  88 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/grep_tool.yaml                 |  68 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/ls_tool.yaml                   |  76 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/multiedit_tool.yaml            |   3 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/parallel_tool_calls.yaml       |  80 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/read_a_file.yaml               |  72 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/simple_test.yaml               |  26 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/sourcegraph_tool.yaml          |  92 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/update_a_file.yaml             |  96 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/write_tool.yaml                | 114 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/bash_tool.yaml           |  84 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/download_tool.yaml       | 160 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/fetch_tool.yaml          | 118 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/glob_tool.yaml           |  52 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/grep_tool.yaml           | 106 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/ls_tool.yaml             |  76 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/multiedit_tool.yaml      | 150 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/parallel_tool_calls.yaml |  56 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/read_a_file.yaml         |   2 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/simple_test.yaml         |  20 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/sourcegraph_tool.yaml    |  66 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/update_a_file.yaml       |  82 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/write_tool.yaml          | 218 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/bash_tool.yaml                   |  28 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/download_tool.yaml               |  32 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/fetch_tool.yaml                  | 184 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/glob_tool.yaml                   | 148 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/grep_tool.yaml                   | 266 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/ls_tool.yaml                     |  28 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/multiedit_tool.yaml              | 230 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/parallel_tool_calls.yaml         | 402 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/read_a_file.yaml                 | 180 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/simple_test.yaml                 | 110 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/sourcegraph_tool.yaml            |  26 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/update_a_file.yaml               | 258 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/write_tool.yaml                  | 354 
52 files changed, 2,646 insertions(+), 2,585 deletions(-)

Detailed changes

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/bash_tool.yaml 🔗

@@ -25,44 +25,47 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_017iCZxXLJrdh1fszVPjj4AN","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":152,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}}   }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01XXcms46FTFbvWxWKBJ4ozF","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":152,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}}     }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}     }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Bash File"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Bash File"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Creation"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Creation Comman"}   }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" with"}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d"}    }
 
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Simple"}     }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Content"}        }
+      event: ping
+      data: {"type": "ping"}
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0    }
+      data: {"type":"content_block_stop","index":0     }
+
+      event: ping
+      data: {"type": "ping"}
+
+      event: ping
+      data: {"type": "ping"}
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":152,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":10}               }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":152,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":8}           }
 
       event: message_stop
-      data: {"type":"message_stop"             }
+      data: {"type":"message_stop"    }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 664.515542ms
+    duration: 834.037833ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -87,61 +90,64 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01YWj9NWLZohyjndgLhmHn9J","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3716,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3716,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}         }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_019vM4ATN8jEtGguwDxo5CSc","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3716,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3716,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}   }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01Du4DmtcNJJsBkVGyP1GkTm","name":"bash","input":{}}        }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_014fgqenLRG6MfQc1Lhf8kPH","name":"bash","input":{}}            }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}      }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"de"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"d"}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"sc"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"escr"}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ription\""}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"iption\": \""}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":": \"Creat"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"Create"}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"e t"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" test.tx"}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"est.txt w"} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"t with "} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ith content\""}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"content\""}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"c"}            }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", "}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ommand\": \"ec"}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"command\":"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ho '"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" \"echo"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"hello"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" '"}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" bash' > te"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"hello bash'"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"st"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" > test.tx"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":".tx"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"t\"}"}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"t\"}"}               }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0        }
+      data: {"type":"content_block_stop","index":0 }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3716,"cache_read_input_tokens":9344,"output_tokens":82}     }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3716,"cache_read_input_tokens":9344,"output_tokens":82}         }
 
       event: message_stop
       data: {"type":"message_stop"             }
@@ -151,7 +157,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.403664042s
+    duration: 3.477968167s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -159,7 +165,7 @@ interactions:
     proto_minor: 1
     content_length: 48557
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/fetch_tool.yaml 🔗

@@ -25,47 +25,41 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01H2HtALWTaKaLNfqxyfMuLV","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":167,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}             }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_013c5V58ptBtP9LJM6eKmm9Y","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":167,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}    }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}         }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Web"}            }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Web"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Content"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Page Search"}   }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Search"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" for"}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" for"}}
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" John"}         }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Doe"}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" John Doe"}     }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0   }
+      data: {"type":"content_block_stop","index":0          }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":167,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":10}            }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":167,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":10}               }
 
       event: message_stop
-      data: {"type":"message_stop"    }
+      data: {"type":"message_stop"  }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 574.510166ms
+    duration: 587.713334ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -90,71 +84,68 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01485WBzDUjfPC7ugS2AeEJE","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3731,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3731,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}          }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01XQBpGgfVsuaVgeC3VhUM6v","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3731,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3731,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}       }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01VSxf5hXEP2UrAJ3wbrXjw3","name":"fetch","input":{}}             }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_0161NqS6U1btcMBse9RhYiQH","name":"fetch","input":{}}      }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"url"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"url\": \"h"}      }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\": \"htt"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ttps://e"}}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ps://example"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"xamp"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"-file"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"le-files.o"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"s.online-c"}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"nl"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"onve"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ine"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"rt.com"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"-convert.c"}      }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"/website/htm"}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"om/websit"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"l/example"}          }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"e/html/exam"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":".h"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ple.html\""}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"tml\""}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"format\":"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"format\""}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" \""}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":": \"t"}            }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ext\"}"}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"text\"}"} }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0               }
+      data: {"type":"content_block_stop","index":0              }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3731,"cache_read_input_tokens":9344,"output_tokens":86}          }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3731,"cache_read_input_tokens":9344,"output_tokens":86}      }
 
       event: message_stop
-      data: {"type":"message_stop"  }
+      data: {"type":"message_stop"       }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.655746666s
+    duration: 3.059546417s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -225,7 +216,7 @@ interactions:
       - text/html; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 190.150875ms
+    duration: 461.329334ms
 - id: 3
   request:
     proto: HTTP/1.1
@@ -233,7 +224,7 @@ interactions:
     proto_minor: 1
     content_length: 51097
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/glob_tool.yaml 🔗

@@ -25,47 +25,44 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_013HmMQwRhie6mpH6qypAPgi","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":142,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}  }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01UsLuHKxJi7Q1BccVRxCADk","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":142,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}              }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}    }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}               }
 
       event: content_block_delta
       data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Fin"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Go"}            }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Go"}        }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Files"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Files"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" with"}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" with"}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Glob"}        }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Pattern"}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Glob"}     }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0        }
+      data: {"type":"content_block_stop","index":0    }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":142,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":10}              }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":142,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":9}}
 
       event: message_stop
-      data: {"type":"message_stop"          }
+      data: {"type":"message_stop"         }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 514.300042ms
+    duration: 594.317584ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -90,35 +87,35 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01FAFzNFFBxt2PdbfZ5ABWF9","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3706,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3706,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}   }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01S6uD9ZaGW3TpCbv7Z6LGx8","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3706,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3706,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}          }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01KcEkhCodpUQ41QQnhvkfr6","name":"glob","input":{}}            }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01QoZFkifTcz43j3UPSCediU","name":"glob","input":{}}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"pattern\":"}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"pattern\":"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" \"*.go\"}"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" \"*.go\"}"}}
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0   }
+      data: {"type":"content_block_stop","index":0              }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3706,"cache_read_input_tokens":9344,"output_tokens":52} }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3706,"cache_read_input_tokens":9344,"output_tokens":52}          }
 
       event: message_stop
-      data: {"type":"message_stop"          }
+      data: {"type":"message_stop"    }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.564212333s
+    duration: 2.905707167s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -126,7 +123,7 @@ interactions:
     proto_minor: 1
     content_length: 48500
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/grep_tool.yaml 🔗

@@ -25,44 +25,41 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_016W12WvKgXPJPvm32pqeAYF","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":144,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":4,"service_tier":"standard"}}            }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01T5vuW6fqq8ND5PQSYFq7GU","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":144,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}}       }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}         }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Searching for "}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Searching "}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"'package' in Go"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"'package' in Go"}       }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Files"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" files with"} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" with"}     }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Grep"}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" grep"} }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0             }
+      data: {"type":"content_block_stop","index":0  }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":144,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":16}        }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":144,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":14}            }
 
       event: message_stop
-      data: {"type":"message_stop"}
+      data: {"type":"message_stop"             }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 615.540833ms
+    duration: 600.379ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -87,50 +84,53 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01EMJYRsUE59hGXfREHnozde","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3708,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3708,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}} }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_016yxHFigKR7CbUtMy1mBhUu","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3708,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3708,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}              }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_014u1UKvE8pTTrexyC3UgGPb","name":"grep","input":{}}  }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01QqarajoJhogtVKK2xKpKxA","name":"grep","input":{}}  }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\""}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"pattern\""}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"patte"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":": \"packa"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"rn\": \"pa"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ge\""}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ckage\""}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"inclu"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"include\""}}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"de\""}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":": \""}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":": "}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"*."}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"*.go\"}"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"go\"}"}          }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0     }
+      data: {"type":"content_block_stop","index":0             }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3708,"cache_read_input_tokens":9344,"output_tokens":69}           }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3708,"cache_read_input_tokens":9344,"output_tokens":69}         }
 
       event: message_stop
-      data: {"type":"message_stop"      }
+      data: {"type":"message_stop"           }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.867067291s
+    duration: 2.953591292s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -138,7 +138,7 @@ interactions:
     proto_minor: 1
     content_length: 48570
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/ls_tool.yaml 🔗

@@ -25,41 +25,32 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01JAZtGw1pCkoncXEtt9VfQ3","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":140,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}        }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_014G4qttwqJPGUHvMeQKYC8A","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":140,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":5,"service_tier":"standard"}}        }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}               }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"List"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Listing Files in Current"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Files"}       }
-
-      event: ping
-      data: {"type": "ping"}
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" in"}   }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Current Directory"}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Directory"} }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0   }
+      data: {"type":"content_block_stop","index":0               }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":140,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":8}           }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":140,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":9}    }
 
       event: message_stop
-      data: {"type":"message_stop"   }
+      data: {"type":"message_stop"}
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 766.905625ms
+    duration: 582.869584ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,35 +75,35 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_016FXXd1QEBF2hH1uh1dqVwy","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3704,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3704,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}               }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01YVYKZNz1KCu6k1MqCyaLcj","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3704,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3704,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}              }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_013xvvX7YoyQKgVAuVivZ56v","name":"ls","input":{}}            }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_012gUjVzhLQrnpchPF311J6n","name":"ls","input":{}}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"path"}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"path\": \"."}            }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\": \".\"}"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"}"}}
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0     }
+      data: {"type":"content_block_stop","index":0    }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3704,"cache_read_input_tokens":9344,"output_tokens":50}    }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3704,"cache_read_input_tokens":9344,"output_tokens":50}       }
 
       event: message_stop
-      data: {"type":"message_stop"         }
+      data: {"type":"message_stop"           }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 4.000447291s
+    duration: 4.083221917s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -120,7 +111,7 @@ interactions:
     proto_minor: 1
     content_length: 48506
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/multiedit_tool.yaml 🔗

@@ -25,31 +25,31 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_017wuSDxkJvGbBRvH3hM9wjb","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":170,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":2,"service_tier":"standard"}}   }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_014jWT8AYZvLyKDQXfhatiEY","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":170,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":2,"service_tier":"standard"}}               }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}          }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Modify"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Modify"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Greeting in"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Go"}    }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" main.go Using"}          }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Program"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Multiedit"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Greeting"}    }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0              }
+      data: {"type":"content_block_stop","index":0        }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":170,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":16}         }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":170,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":9}       }
 
       event: message_stop
       data: {"type":"message_stop"               }
@@ -59,7 +59,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 720.184166ms
+    duration: 1.118706208s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,112 +84,94 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01MPgimw9w7Qgy4WxsV3MFkr","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3736,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3736,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}}          }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01GuhUqPq4m4DdQ9TkeHit6m","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3736,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3736,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}}             }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""} }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll rea"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll rea"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d the file first"}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d the file first"}            }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" to see"}}
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" its"}              }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" exact"}   }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" structure"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" to see"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":", then use"}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" its"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" mult"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" exact"}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"iedit to make both"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" structure"} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" changes."}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"."}           }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0     }
+      data: {"type":"content_block_stop","index":0           }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01146i1k3xm8Fj2c8M11y1uz","name":"view","input":{}}               }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}  }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"f"}        }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ile"}           }
+      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_012LNFbj1EGjgGxXr7TkeoyW","name":"view","input":{}}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"_path\": "}   }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"\"/tmp/c"}     }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"file_pat"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"rush-test/"}         }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"h\": \"/tmp"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"TestCod"}   }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"/crush-tes"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"erAge"}     }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"t/TestCoderA"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"nt/anthrop"}   }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"gent/anth"} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ic-sonnet/mu"}           }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ropic-son"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ltiedit_"}   }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"net/mul"}            }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"tool/mai"}       }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"tiedit_tool"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"n.go\"}"}               }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"/main.go\"}"}   }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":1            }
+      data: {"type":"content_block_stop","index":1              }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3736,"cache_read_input_tokens":9344,"output_tokens":102} }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3736,"cache_read_input_tokens":9344,"output_tokens":92}             }
 
       event: message_stop
-      data: {"type":"message_stop" }
+      data: {"type":"message_stop"            }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.281178916s
+    duration: 2.430027542s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 48872
+    content_length: 48831
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/parallel_tool_calls.yaml 🔗

@@ -25,47 +25,41 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_018U6i8kKuKyZoLPS7UnLmUo","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":159,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}       }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_018ycE3DEXRXqLe3sUPgH56r","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":159,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":2,"service_tier":"standard"}}     }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Fin"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Parallel"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Go"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Go Files an"}             }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" files an"}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Directory"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d list directory"}      }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" in"}          }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" parallel"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Listing"}         }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0              }
+      data: {"type":"content_block_stop","index":0           }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":159,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":11}         }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":159,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":11}  }
 
       event: message_stop
-      data: {"type":"message_stop"         }
+      data: {"type":"message_stop"              }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.139643791s
+    duration: 597.603375ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -90,53 +84,59 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01L2EisVHE7284XyS1K87MUA","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3725,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3725,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}    }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01CSZZyBPaJYBaHdxGw3mAQQ","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3725,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3725,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}     }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01AuWvuB9fb4GBzNvSkBz5GL","name":"glob","input":{}}              }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_0156ZWJqHYpC72SpV4ajHdzK","name":"glob","input":{}}             }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"patte"}}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"patter"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"rn\": \"**/*"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"n\": "}          }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":".go"}            }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"**/*.go\"}"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"}"}  }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0            }
+      data: {"type":"content_block_stop","index":0  }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01BE4FvYeCdCamwcQ2xHWPA4","name":"ls","input":{}} }
+      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01QDjn3teCBVB25veiPgtoyp","name":"ls","input":{}}      }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}}
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"pat"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"path\": "}   }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"h\":"} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"\".\"}"}             }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":" \".\"}"}  }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":1           }
+      data: {"type":"content_block_stop","index":1 }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3725,"cache_read_input_tokens":9344,"output_tokens":86}  }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3725,"cache_read_input_tokens":9344,"output_tokens":86} }
 
       event: message_stop
-      data: {"type":"message_stop"  }
+      data: {"type":"message_stop" }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.673702s
+    duration: 2.541176708s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -144,7 +144,7 @@ interactions:
     proto_minor: 1
     content_length: 48900
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/read_a_file.yaml 🔗

@@ -25,41 +25,41 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_0169P21hjej2u67RcaVFHeuC","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":134,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}  }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_015G3dDYq2XBjoB5MFGd7J8q","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":134,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}     }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}              }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Rea"}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Rea"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Go"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Go"}               }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Module"}          }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Module"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Details"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" File"}        }
 
       event: content_block_stop
       data: {"type":"content_block_stop","index":0          }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":134,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":7}       }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":134,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":7}      }
 
       event: message_stop
-      data: {"type":"message_stop"    }
+      data: {"type":"message_stop"             }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 572.05275ms
+    duration: 646.519584ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,62 +84,68 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01RFZjK1Ybg7PdGupVkiSWwd","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3700,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3700,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}          }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01UytX6Jtsyr1XEFGVHCgrkj","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3700,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3700,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}              }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_012ZfUKbdY7cyai9WtVjER96","name":"view","input":{}}    }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01Aqf4j6fFtDXUkBqB8bBJuh","name":"view","input":{}}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}          }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"file_path\""}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\""}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":": \"/"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"file_"}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"tm"}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"path\": "}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"p/c"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"/tmp/crush"}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"rush-tes"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"-t"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"t/TestCoder"}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"est/TestCo"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"Agen"}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"derAg"} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"t/anthrop"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ent"}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ic-sonnet/re"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"/anthrop"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ad_a_fil"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ic-sonnet/re"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"e/go.mod\"}"}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ad_a_"}           }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"file"} }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"/go.mod\"}"} }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0    }
+      data: {"type":"content_block_stop","index":0        }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3700,"cache_read_input_tokens":9344,"output_tokens":79} }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3700,"cache_read_input_tokens":9344,"output_tokens":79}      }
 
       event: message_stop
-      data: {"type":"message_stop"  }
+      data: {"type":"message_stop"              }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 6.869237s
+    duration: 3.410881833s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -147,7 +153,7 @@ interactions:
     proto_minor: 1
     content_length: 48562
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/simple_test.yaml 🔗

@@ -25,22 +25,22 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01VYWBmaQQQRHA7sM1ETupkb","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":131,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}         }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01L1q1HHxtZqv7agN277w4Hc","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":131,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}     }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}   }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Quick"}            }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Initial"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Greeting"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Greeting"}     }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0     }
+      data: {"type":"content_block_stop","index":0          }
 
       event: ping
       data: {"type": "ping"}
@@ -49,17 +49,17 @@ interactions:
       data: {"type": "ping"}
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":131,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":6}             }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":131,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":6}   }
 
       event: message_stop
-      data: {"type":"message_stop"              }
+      data: {"type":"message_stop"     }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.317364042s
+    duration: 590.5255ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,28 +84,28 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_0171173UApfXDgK2CAW4LQa8","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":13039,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":13039,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}} }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_014AQKkRrN8VdHYFLkwFbrAz","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":13039,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":13039,"ephemeral_1h_input_tokens":0},"output_tokens":5,"service_tier":"standard"}}              }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}  }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Hello! Ready"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Hello! I'm ready"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" to help"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" to help you with your code"}      }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"."}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"."}          }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0               }
+      data: {"type":"content_block_stop","index":0        }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":13039,"cache_read_input_tokens":0,"output_tokens":9}      }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":13039,"cache_read_input_tokens":0,"output_tokens":15}               }
 
       event: message_stop
       data: {"type":"message_stop"          }
@@ -115,4 +115,4 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.768765417s
+    duration: 2.868186708s

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/sourcegraph_tool.yaml 🔗

@@ -25,41 +25,44 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01Kwynyajo3SoUEoKb7gt9g8","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":2,"service_tier":"standard"}}    }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01BrSjvtNbiDzcxgHVPtVyh1","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":4,"service_tier":"standard"}}         }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}  }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Go"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Searching for main"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Sourc"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" func"}            }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"egraph Main"}            }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" in Go repos"}             }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" with"}            }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Function Search"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Sourcegraph"}              }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0 }
+      data: {"type":"content_block_stop","index":0       }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":11}         }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":16}       }
 
       event: message_stop
-      data: {"type":"message_stop"  }
+      data: {"type":"message_stop"}
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.797147083s
+    duration: 1.351540084s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,44 +87,44 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01MAKUxX9yGqzZhcepvztjwR","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3711,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3711,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}              }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01A6cGWAqqRZhfnGVcLvU8wx","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3711,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3711,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}       }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_016nNGjGaegHbRjKjd7z6rJD","name":"sourcegraph","input":{}}    }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_0112M5vQfFpT7aNSPwSm3rCN","name":"sourcegraph","input":{}}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"query\": \"l"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"query\": \"l"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ang:go "} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ang:go func "} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"func main\""}          }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"main\""}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"co"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"count\": "}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"unt\": 10}"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"10}"}              }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0  }
+      data: {"type":"content_block_stop","index":0            }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3711,"cache_read_input_tokens":9344,"output_tokens":74}            }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3711,"cache_read_input_tokens":9344,"output_tokens":74}}
 
       event: message_stop
-      data: {"type":"message_stop"}
+      data: {"type":"message_stop"         }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.30992975s
+    duration: 2.681071708s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -149,7 +152,7 @@ interactions:
       - application/json
     status: 200 OK
     code: 200
-    duration: 1.831039209s
+    duration: 1.43397025s
 - id: 3
   request:
     proto: HTTP/1.1
@@ -157,7 +160,7 @@ interactions:
     proto_minor: 1
     content_length: 56017
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/update_a_file.yaml 🔗

@@ -25,47 +25,41 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01AhVWzjJ9ppADEznXmRZofP","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}}
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01VUkwxq7K8yXVXVv4dvdMR8","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}}
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}         }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Update"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Update"}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" main"}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" main"}             }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":".go with"}  }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Hello"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":".go Hello"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" from"} }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Crush"}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Message"}    }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0          }
+      data: {"type":"content_block_stop","index":0         }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":12} }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":9}            }
 
       event: message_stop
-      data: {"type":"message_stop"}
+      data: {"type":"message_stop"  }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 980.969625ms
+    duration: 538.603042ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -90,100 +84,70 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01WZeBvjx2gFNaNXzmjCECzk","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3711,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3711,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}} }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01347jTe9Daj6rdSANDtrAXc","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3711,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3711,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}}}
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}             }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll rea"}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll rea"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d the file first,"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d the main"}          }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" then update"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":".go file first,"} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" it."} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" then update it."}       }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0               }
+      data: {"type":"content_block_stop","index":0             }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_019zaH5uyo6HiyXmdyGgUHKY","name":"view","input":{}}       }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}               }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"file"}              }
+      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01QP87U6aAnyPYXcE7gEVRt7","name":"view","input":{}}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"_path\": \"/tm"}  }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"p/c"}          }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"file_pa"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"rush-test"}       }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"th\": \"ma"}}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"/TestCoderA"}         }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"in.go"}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ge"}           }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"nt/"}    }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"anth"}        }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ropic-sonnet"}               }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"/u"} }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"pdate_a"}            }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"_file/mai"}    }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"n."} }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"go\"}"}        }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"\"}"}  }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":1        }
+      data: {"type":"content_block_stop","index":1  }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3711,"cache_read_input_tokens":9344,"output_tokens":91}          }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3711,"cache_read_input_tokens":9344,"output_tokens":70}               }
 
       event: message_stop
-      data: {"type":"message_stop"              }
+      data: {"type":"message_stop"      }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 3.761756333s
+    duration: 3.096139458s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 48759
+    content_length: 48705
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/write_tool.yaml 🔗

@@ -25,47 +25,44 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01D2DeVB6popYbqskw7sksWQ","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":161,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}}
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_015Hnw2oU3nXjyHYSgMu6Yum","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":161,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}}
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}           }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Creating"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Creating"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" config"}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" config"}             }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":".json file"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":".json file with"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" with"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" basic"}            }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" JSON"}       }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" content"}            }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" settings"}            }
 
       event: content_block_stop
       data: {"type":"content_block_stop","index":0            }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":161,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":11}               }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":161,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":11}            }
 
       event: message_stop
-      data: {"type":"message_stop"        }
+      data: {"type":"message_stop"            }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 625.922042ms
+    duration: 706.710959ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -90,89 +87,104 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_012aJm3FN3tBFjR5pkUP3RrH","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3725,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3725,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}  }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01UCbL1c31YD93zyqjwGoCTN","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3725,"cache_read_input_tokens":9344,"cache_creation":{"ephemeral_5m_input_tokens":3725,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}    }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_016SidPnYatehJMYDodw4rGp","name":"write","input":{}}               }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_013QPUTMEtFMj3r6BNTZZYZj","name":"write","input":{}}     }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}        }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"fil"}     }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"e_path\": \""}             }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"/tmp/crus"}}
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"h-t"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"es"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"file_path"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"t/TestCod"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\": \"/tmp/cru"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"erAge"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"sh-te"}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"nt/anth"}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"st/Tes"}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"rop"}}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"tC"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ic-so"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"oderAgent/a"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"nn"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"nthropic-s"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"et/write_"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"onnet/write"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"tool/con"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"_tool/conf"}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"fig.j"}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ig.json"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"son"}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\""}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\""}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"content"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"cont"}}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\": \"{"}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ent\": \"{\\\"n"}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\\\"name\\\": "}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ame\\"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\\\"tes"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\": \\\"test\\"}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"t\\\""}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\", \\\"v"}            }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \\\"version\\"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ersi"}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\": \\"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"on\\\": \\\"1."}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"1.0."}            }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"0.0\\\""}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"0\\\"}\"}"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"}\"}"}   }
 
       event: content_block_stop
-      data: {"type":"content_block_stop","index":0     }
+      data: {"type":"content_block_stop","index":0    }
 
       event: message_delta
-      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3725,"cache_read_input_tokens":9344,"output_tokens":109}         }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3725,"cache_read_input_tokens":9344,"output_tokens":109}          }
 
       event: message_stop
-      data: {"type":"message_stop"               }
+      data: {"type":"message_stop"     }
 
     headers:
       Content-Type:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 3.694931083s
+    duration: 3.258036333s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -180,7 +192,7 @@ interactions:
     proto_minor: 1
     content_length: 48754
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/bash_tool.yaml 🔗

@@ -24,25 +24,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dp7r5KctEYyWDH"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"DpZN5ZCJqQyNQI"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Create"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ukE8RyyKj9"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Creating"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"DGilbRcU"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"nEGxm1xpC0J"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" a"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"yg21IaVulW2pVG"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"H2GP1wABKwY"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zxLHKyeWhYR"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Specific"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"J3QnLvQ"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"iHgiBHYkDEa"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Content"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Pvj8tnZr"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Bash"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wvA8y286lxg"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Without"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xkjKquik"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Without"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"st5O3vHP"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Timestamp"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Z4cCAE"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Timestamp"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"HeG9hb"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"nV22vb1AJm"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"5gsgOeRU1S"}
 
-      data: {"id":"chatcmpl-Cb4lisnnEmd8QuQYmBEwJfgGkINlP","object":"chat.completion.chunk","created":1762952502,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":145,"completion_tokens":7,"total_tokens":152,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"jgymIVKieolhZt"}
+      data: {"id":"chatcmpl-Cb5x7ThDt70QbbiK2fqAAzF2IuzTS","object":"chat.completion.chunk","created":1762957053,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":145,"completion_tokens":7,"total_tokens":152,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"faFRxhMhi9QzzG"}
 
       data: [DONE]
 
@@ -51,7 +51,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.178651583s
+    duration: 1.249358958s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -75,91 +75,51 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_igfmT3DcRHlPzEnST4BKXBNg","type":"function","function":{"name":"bash","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"oHUyXS0t9wkA"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_dNJ099Z7BCCmZaA43fMbRHvJ","type":"function","function":{"name":"bash","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"kThKKB6SQC7W"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"MwTXs0j14lT6wL8"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"vabnTftWuyml8z8"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"command"}}]},"finish_reason":null}],"usage":null,"obfuscation":"8U4AqsycnnW"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"command"}}]},"finish_reason":null}],"usage":null,"obfuscation":"wM8vvorPDaw"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"AM3iAFBu1yVMz"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"iBFsWLhCsG0nK"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"printf"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ZrK9okJhSlah"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"printf"}}]},"finish_reason":null}],"usage":null,"obfuscation":"hUkJHjEuMIZk"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" '"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" '"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"hello"}}]},"finish_reason":null}],"usage":null,"obfuscation":"adQYc1hnnuIUq"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"hello"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Msfsb2nCJF54Z"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" bash"}}]},"finish_reason":null}],"usage":null,"obfuscation":"gaMBV8q8tw8VK"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" bash"}}]},"finish_reason":null}],"usage":null,"obfuscation":"eK8CqRn2Tr8it"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"'"}}]},"finish_reason":null}],"usage":null,"obfuscation":"t"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"'"}}]},"finish_reason":null}],"usage":null,"obfuscation":"N"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" >"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" >"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"fMFHeFjmiVBsh"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"zsWmuoVO6d9K4"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".txt"}}]},"finish_reason":null}],"usage":null,"obfuscation":"04ehN1h4EqStWy"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".txt"}}]},"finish_reason":null}],"usage":null,"obfuscation":"4jD5FPWxfWBmrS"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"L142maGnKQdjU"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"oybNJLKKKCnFK"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"description"}}]},"finish_reason":null}],"usage":null,"obfuscation":"i6umeQT"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"description"}}]},"finish_reason":null}],"usage":null,"obfuscation":"guyi0IM"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"yE7xWGD4PUqGS"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"DnlqpJ72OoTvD"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Create"}}]},"finish_reason":null}],"usage":null,"obfuscation":"BQpU8YuksnH2"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Create"}}]},"finish_reason":null}],"usage":null,"obfuscation":"r42oA2Wuz5fZ"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"V6sHa2xeMmDMQ"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ci6DPJ7Sv8uMW"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".txt"}}]},"finish_reason":null}],"usage":null,"obfuscation":"adoHQ1kma5XnBj"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".txt"}}]},"finish_reason":null}],"usage":null,"obfuscation":"cGXCZvKnZSGCTU"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" with"}}]},"finish_reason":null}],"usage":null,"obfuscation":"I6Pk6fCF4bnX5"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" with"}}]},"finish_reason":null}],"usage":null,"obfuscation":"UBWxmfUfeGd3s"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" content"}}]},"finish_reason":null}],"usage":null,"obfuscation":"N0TYkJqIAC"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" content"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0O4nLdo0Aw"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"8UujkZ3WdGqvT"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"7eyqwTht6jxgENs"}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"working"}}]},"finish_reason":null}],"usage":null,"obfuscation":"gAISLFxH1td"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_dir"}}]},"finish_reason":null}],"usage":null,"obfuscation":"E4McAd2n6pVsOd"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"mGhBjw9gpwpr1Y2"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"4nY8PJLcswOQOjz"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"uKuOHBnMIamQ2l7"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"f3CYl6wFJ267EXE"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"WFg7w1G8oAYdlrl"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"KuT7885Evr7tH"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"f1kUTxgvalgBm"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"4cnkygljqv4N3"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"9IGIAviOq1VCC"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"tRKX83iltr8SM"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"5"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"e"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/bash"}}]},"finish_reason":null}],"usage":null,"obfuscation":"f17hyYZej2xoG"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_tool"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ipPfIFumr7GrH"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"mhC14WNb70BVSvu"}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4licM2dAknYVKQILG4224OCxjii","object":"chat.completion.chunk","created":1762952502,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10307,"completion_tokens":762,"total_tokens":11069,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":704,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"53by8IcEmF0RVqN"}
+      data: {"id":"chatcmpl-Cb5x7dYPAMWTWDdaaPj3lUnAmuRrt","object":"chat.completion.chunk","created":1762957053,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10307,"completion_tokens":614,"total_tokens":10921,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":576,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"aGSjDLbYnBua4GU"}
 
       data: [DONE]
 
@@ -168,15 +128,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 14.567371917s
+    duration: 29.210801541s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46960
+    content_length: 46886
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/download_tool.yaml 🔗

@@ -24,23 +24,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uVUssiLC0WrpIG"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Ok8vXJbIXS6sQF"}
 
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Download"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"CaPYbFQ8"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Download"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MxTVXDOx"}
 
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"m7QxItYUTS5k"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ysAVxDtFBbED"}
 
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Save"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"yVKPR95CbYT"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Save"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"e03o9wppmfJ"}
 
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Example"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"2q2Hecc7"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Text"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"eExynAVmI1n"}
 
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Text"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ocoFDg5wmCv"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dquONCwnqSn"}
 
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"UBfCmq75vzv"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Example"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"VWi2C97t"}
 
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"lMsqYikdXO"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":".txt"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"F6jBmYxgMhig"}
 
-      data: {"id":"chatcmpl-Cb4m0lbFyVxfNwd3tRZoY9MrUsIL4","object":"chat.completion.chunk","created":1762952520,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":148,"completion_tokens":6,"total_tokens":154,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"f4B7PzbGTuvUBY"}
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"Z4lzLXSN8G"}
+
+      data: {"id":"chatcmpl-Cb5xdsMBKQsGXPBVYUHVALmD6Bbyf","object":"chat.completion.chunk","created":1762957085,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":148,"completion_tokens":7,"total_tokens":155,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"NfwhkWzZvsoI8Q"}
 
       data: [DONE]
 
@@ -49,7 +51,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 763.440208ms
+    duration: 635.441334ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,89 +75,97 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_uZ0Ka0YYJ9ImPFhRzuTdFPV3","type":"function","function":{"name":"download","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"UtOEQuuI"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_yonZps1jhCycoLOHRtvqsZ25","type":"function","function":{"name":"download","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"fiPF24ss"}
+
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"EFuLe9o6Bn3wpmy"}
+
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"url"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0ZQuD9gTg3xjJei"}
+
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"KOGP8BddtdH4R"}
+
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"https"}}]},"finish_reason":null}],"usage":null,"obfuscation":"1kiP2gpcnfQlI"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"SF27k5oqM4WlmL7"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"://"}}]},"finish_reason":null}],"usage":null,"obfuscation":"fTwjBozE9oceH2Z"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"VwaR3udS2qPjHS"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"4NfOi9OPSt0"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"lI40sozKIYaiA"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-files"}}]},"finish_reason":null}],"usage":null,"obfuscation":"RPZssL65hAoL"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ZhPboXDRFxw5DWq"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".online"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Cmy1IthGjAk"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"VUBkgdCD2LVXefS"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-con"}}]},"finish_reason":null}],"usage":null,"obfuscation":"p6swMTIDRF9055"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"CAKZ1FchD7rZRDD"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"vert"}}]},"finish_reason":null}],"usage":null,"obfuscation":"v16ckQYyLfnQVH"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"qZcOgWERWBuYep5"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".com"}}]},"finish_reason":null}],"usage":null,"obfuscation":"x3qZtvqqvXFftz"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"c1V07YK2wmDVpQu"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/document"}}]},"finish_reason":null}],"usage":null,"obfuscation":"sXo6U5wel"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"BCZeUdizNQjEE"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/t"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"AnqUJtVIKvHqR"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"xt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"LAyrDMsGshvaD"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"S0J6xUw9ez"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"RuNycADuOUVPt"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".txt"}}]},"finish_reason":null}],"usage":null,"obfuscation":"77IzX6KULoB2K2"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"02yNBn6Ml6HSM"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"Dt5DNrvwnhKCt"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"PnjPPCNYSq5tRG"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"7GKmTPkLUUAcE"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ynXlNeFoKfXKwpv"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"e"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"3jGq6u08WvTuiVd"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"P"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"OCdxRdUMYUrKjOG"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/download"}}]},"finish_reason":null}],"usage":null,"obfuscation":"4PheOYtVB"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"PmKyOZs9zQTCGLi"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_tool"}}]},"finish_reason":null}],"usage":null,"obfuscation":"5h4MtXS8Y9roB"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"LGV9cetrX4xfC2v"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Y0mvh5ma2a"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"xuL7DnV7bQBZi"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".txt"}}]},"finish_reason":null}],"usage":null,"obfuscation":"fvIUyJbSVi1bla"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"NrhB6q9LP1djX"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"BBPaCxoEaGyB4"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0hzmWKqh7UGV7"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"url"}}]},"finish_reason":null}],"usage":null,"obfuscation":"kO7JIdgd2sdB9KS"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"QusGu589LhkKR"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"q6Ik6SrXgEi9A"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"B4vNa5LK2QqOc"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"https"}}]},"finish_reason":null}],"usage":null,"obfuscation":"SpYuag3YlVfkd"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"://"}}]},"finish_reason":null}],"usage":null,"obfuscation":"B2zsbsnxxEAmrV3"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"FXppF2rt7AZ"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-files"}}]},"finish_reason":null}],"usage":null,"obfuscation":"BQWzyePpAXPJ"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"e"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".online"}}]},"finish_reason":null}],"usage":null,"obfuscation":"NW7cMavbog5"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"n"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-con"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6LvZm9OrFpkeNp"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/download"}}]},"finish_reason":null}],"usage":null,"obfuscation":"YAE673S1J"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"vert"}}]},"finish_reason":null}],"usage":null,"obfuscation":"MlZPvHQgqx1GVF"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_tool"}}]},"finish_reason":null}],"usage":null,"obfuscation":"MuNjE5QzlofQy"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".com"}}]},"finish_reason":null}],"usage":null,"obfuscation":"x2nn9xnWP36HgF"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Z8q46vdRu3"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/document"}}]},"finish_reason":null}],"usage":null,"obfuscation":"rrBt9ISes"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".txt"}}]},"finish_reason":null}],"usage":null,"obfuscation":"zyemZcE14TST6T"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/t"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"zDFlbiEJqUTBA"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"xt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"timeout"}}]},"finish_reason":null}],"usage":null,"obfuscation":"wM4qz0GM03B"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Fj7S9nBg7I"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"PHZqMCKtpcqcitZ"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".txt"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Nr952BXpEVzO7C"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"60"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"XoZwYJyu97oQvQx"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"w"}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4m0D2dSlobTbcSHgyriepj77i6e","object":"chat.completion.chunk","created":1762952520,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10310,"completion_tokens":568,"total_tokens":10878,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":512,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"lF"}
+      data: {"id":"chatcmpl-Cb5xdlBYjUX48hEzXNIjRe2DarIS5","object":"chat.completion.chunk","created":1762957085,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10310,"completion_tokens":444,"total_tokens":10754,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":384,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"GOrNNZQApowNBeJ"}
 
       data: [DONE]
 
@@ -164,7 +174,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 14.515397s
+    duration: 13.066813042s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -210,15 +220,15 @@ interactions:
       - text/plain; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.484118458s
+    duration: 848.657541ms
 - id: 3
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 47067
+    content_length: 47082
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/fetch_tool.yaml 🔗

@@ -24,31 +24,27 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aFHZwTzuv2t4wg"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ygliEKb400uij9"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Check"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"pw7zExZckwz"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Check"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"v0S9FuAtDIc"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0pSwUhonQNNH"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" HTML"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"i3nxRuJZFjr"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GVGdsyCyVcuE3S"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"V8sTWpFUL4T2"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"John"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PdDbOBIAxrq7"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YfMGwdDARj3oO0"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Doe"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dhANzufaOBpA"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"John"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sb1b2t7PgQBw"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"JgP9SeJDtjAL0t8"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Doe"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vohX53QRlb4b"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"gkYCYmJ8bDbw3"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RMU2DhfcWaUZz5E"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Example"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ovWuK7kc"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Presence"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"FhU9GNJ"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" HTML"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zYL6C5PJB4H"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"nNzTyBvpWY"}
 
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"nrVjbf4Vnm2"}
-
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"SxCp5FM0xK"}
-
-      data: {"id":"chatcmpl-Cb4mIeQQEXFIcNYPawbZFGOHYwZwl","object":"chat.completion.chunk","created":1762952538,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":153,"completion_tokens":10,"total_tokens":163,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"HadkUeSwWaeSa"}
+      data: {"id":"chatcmpl-Cb5xt59Du2uI1OKPEWXi7kyTIUv0B","object":"chat.completion.chunk","created":1762957101,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":153,"completion_tokens":8,"total_tokens":161,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"dD687d4e1MIoke"}
 
       data: [DONE]
 
@@ -57,7 +53,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 558.929083ms
+    duration: 591.819458ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -81,61 +77,61 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_DTSMMTWm9OwKebpbmvM326RQ","type":"function","function":{"name":"fetch","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"zXCIiWQfcUo"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_oFs4vDJC8dYdc8kAKmbpFidr","type":"function","function":{"name":"fetch","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"aWLxKEMUXBy"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"9k1ERRMdIDVkG91"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"PoC3k7lo5EQYorA"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"url"}}]},"finish_reason":null}],"usage":null,"obfuscation":"C1h8C3APxjsKm5Q"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"url"}}]},"finish_reason":null}],"usage":null,"obfuscation":"c1lLxW6fasZ4E5F"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"AgOuBRj4NluCw"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"XOkwQcZTKS3y6"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"https"}}]},"finish_reason":null}],"usage":null,"obfuscation":"WSv1oNqlwxtG9"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"https"}}]},"finish_reason":null}],"usage":null,"obfuscation":"FT00gXxxoWU7e"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"://"}}]},"finish_reason":null}],"usage":null,"obfuscation":"WgKZLJFvEY4erPf"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"://"}}]},"finish_reason":null}],"usage":null,"obfuscation":"T2tyEerlqcWd3kZ"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"GlyoUY4jJEB"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"zT5Jrn2niE7"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-files"}}]},"finish_reason":null}],"usage":null,"obfuscation":"bQYlUs0oyjKy"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-files"}}]},"finish_reason":null}],"usage":null,"obfuscation":"X32IQ5VoX47R"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".online"}}]},"finish_reason":null}],"usage":null,"obfuscation":"RsBsW5qYF5j"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".online"}}]},"finish_reason":null}],"usage":null,"obfuscation":"AcXLUab178H"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-con"}}]},"finish_reason":null}],"usage":null,"obfuscation":"X6GZ4WaXJBbyQO"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-con"}}]},"finish_reason":null}],"usage":null,"obfuscation":"REctIFikCLdBfD"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"vert"}}]},"finish_reason":null}],"usage":null,"obfuscation":"hCJQfM3cNHu0Bc"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"vert"}}]},"finish_reason":null}],"usage":null,"obfuscation":"gDawUppfV0uEB5"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".com"}}]},"finish_reason":null}],"usage":null,"obfuscation":"3sX75O2iCflZCH"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".com"}}]},"finish_reason":null}],"usage":null,"obfuscation":"wdykHFdzJAWtdH"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"t"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"website"}}]},"finish_reason":null}],"usage":null,"obfuscation":"mOm381Xc4Fp"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"website"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ibad3O37pHI"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/html"}}]},"finish_reason":null}],"usage":null,"obfuscation":"NQR1nNBJle4Xz"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/html"}}]},"finish_reason":null}],"usage":null,"obfuscation":"OWywbDqF4flqj"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"GWdSYvdqzp"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/example"}}]},"finish_reason":null}],"usage":null,"obfuscation":"HppePa9sKu"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".html"}}]},"finish_reason":null}],"usage":null,"obfuscation":"EZ1Cm6aUESnbq"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".html"}}]},"finish_reason":null}],"usage":null,"obfuscation":"hnp5bPx9LcVNL"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"MMRCTIbcECljD"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"5ZH0oazS4jInB"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"format"}}]},"finish_reason":null}],"usage":null,"obfuscation":"tdSg4WfUwfGM"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"format"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ZRMnGwX6SqXf"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"vKOo4N4BswNS9"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"FmoUPMrPsxcCw"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"text"}}]},"finish_reason":null}],"usage":null,"obfuscation":"i38cEuuyfuPixT"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"text"}}]},"finish_reason":null}],"usage":null,"obfuscation":"t9oFOifwKFehna"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"pR96ihZ36GccE"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"icVSVxCwW3qJc"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"timeout"}}]},"finish_reason":null}],"usage":null,"obfuscation":"uur7q5I4xRr"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"timeout"}}]},"finish_reason":null}],"usage":null,"obfuscation":"2hiuqTFUblm"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"FaA4Z8YnDS5RXES"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"CFtovZxyiXNPwsm"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"60"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"60"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"m"}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mIUfN8J4GUjqi7ucv0ApHCL8dQ","object":"chat.completion.chunk","created":1762952538,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10317,"completion_tokens":234,"total_tokens":10551,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"3AaHnALMDlckXNR"}
+      data: {"id":"chatcmpl-Cb5xtaKTgCTdwK2u0WC4vVQKKQkr2","object":"chat.completion.chunk","created":1762957101,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10317,"completion_tokens":234,"total_tokens":10551,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Wp"}
 
       data: [DONE]
 
@@ -144,7 +140,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 6.444294458s
+    duration: 8.68064025s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -215,7 +211,7 @@ interactions:
       - text/html; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 410.116375ms
+    duration: 188.035125ms
 - id: 3
   request:
     proto: HTTP/1.1
@@ -223,7 +219,7 @@ interactions:
     proto_minor: 1
     content_length: 49444
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/glob_tool.yaml 🔗

@@ -24,29 +24,29 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RMCEZ9ZrEt9kJl"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3pz8m42z2yTsL6"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Glob"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"tNzqt3T8qqDX"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Find"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"tpgzECpO6Q0I"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aBjq6WuVXfXD3"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" ."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Wt06scyhxoMeLZ"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Locate"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aTt1l19Yq"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0JjxsebwjAEdKU"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" ."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"fkiWal9BlOIm8j"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"B7NYY9rkI6"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3McdNoxF5wTYyY"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Using"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"SgrqWqLm7W"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"bvyuuVh4vD"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Glob"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sTxePYMYCbj"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"S6d3iGGS8S8fp"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"X9OgkNSDTONo3"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6KJb4PNx"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"1s7iHLY9"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Directory"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vPR10D"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Directory"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aHr5R6"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"CskNmztkR2"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"i0iOqPGEJB"}
 
-      data: {"id":"chatcmpl-Cb4mVHQWJMh4UDANViE8mcnBEGtcq","object":"chat.completion.chunk","created":1762952551,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":137,"completion_tokens":9,"total_tokens":146,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"RfjETFo6BE71tx"}
+      data: {"id":"chatcmpl-Cb5y9hrZOwKBrT9kff5u4wVnqx18l","object":"chat.completion.chunk","created":1762957117,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":137,"completion_tokens":9,"total_tokens":146,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Ih0moGqsCHAHH4"}
 
       data: [DONE]
 
@@ -55,7 +55,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.202332166s
+    duration: 718.936458ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -79,63 +79,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_xuL2kbeW2yXhj3yUyXPNpUvH","type":"function","function":{"name":"glob","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"Dit7zB5LTLkC"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_Gv0ACOm6NwoWWfNBUiYBYIQ8","type":"function","function":{"name":"glob","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"Roj4ePZXhfWI"}
 
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"wBG5jUX4hRv3fob"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"QWyqM7uiezNorie"}
 
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"KX1L77pxUchhCj"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pattern"}}]},"finish_reason":null}],"usage":null,"obfuscation":"yfooiZTWYo1"}
 
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"hR3nVolsjFBY5VX"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"7HHpjlJ9ttwNe"}
 
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"rWG0L4s871WZHf8"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"*."}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"w6sSPP7zxwp2YYd"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"go"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"LDixs0A60pB3EA0"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"wnU8r77QbigGZph"}
 
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"OmnDMKdDaQtRM8t"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"05SUs5sEKb0Iu"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"vxvRp6sKnqd8j"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"NShDFlefcuvXr"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"u2Xlvtdy8CnU6"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"MtVp1X0SZPkRx"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"v"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"r"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/gl"}}]},"finish_reason":null}],"usage":null,"obfuscation":"RUZjr233gfDEL1T"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ob"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_tool"}}]},"finish_reason":null}],"usage":null,"obfuscation":"p1G5th123hssD"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"dMBkaQ0ckljWe"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pattern"}}]},"finish_reason":null}],"usage":null,"obfuscation":"GaLTh1fFenI"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"sar2ebkrbNU5y"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"*."}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"go"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"IqNQaGsQ4G7BMro"}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
-
-      data: {"id":"chatcmpl-Cb4mV0SlTOwRxamAMaXl7J41eeYzy","object":"chat.completion.chunk","created":1762952551,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10300,"completion_tokens":171,"total_tokens":10471,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":128,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"0I8UGV2fcYt2Kgr"}
+      data: {"id":"chatcmpl-Cb5y9ww4Xfj3fspWXil32Y6KwtJEF","object":"chat.completion.chunk","created":1762957117,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10300,"completion_tokens":215,"total_tokens":10515,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"4XLrHS6gIYYxWFZ"}
 
       data: [DONE]
 
@@ -144,15 +104,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 5.093434625s
+    duration: 7.888066s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46891
+    content_length: 46824
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/grep_tool.yaml 🔗

@@ -24,31 +24,33 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sadfeVQ80nyTtx"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MiwxNIhMfTSzbE"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Searching"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"mXF3nVo"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Searching"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"IuLFCEp"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"V8vlhLy9UAfdqk"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Wq4ooZJL9O8i"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"package"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"s4XzgFrVI"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"diI0ez41hUW2SJ"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GRLDljRquTqFCsj"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"package"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xsBdZjqSG"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uOrrS9f1GFqp5"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"H7ooSOnYtbhbII8"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ZTohsgboTHnoY"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MFWEWRX6l9SB7"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"KYqQjRELOn"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3eHcYlX6U8TFg"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vKLazii2lxb"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aBWZv7qEOq"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Gre"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"V3ue0yWzocjF"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ROxWejw0FOa"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"p"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"hL1R8216znMrYpL"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Gre"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"F3bDRojuPbAB"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"TnyR8i73YX"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"p"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YxHQJwhFpRkxfmP"}
 
-      data: {"id":"chatcmpl-Cb4md5ZelFNWkpYiyDufgPOzVWrSB","object":"chat.completion.chunk","created":1762952559,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":138,"completion_tokens":10,"total_tokens":148,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"hQCTdHe2oWPyQ"}
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"lmZPAyqkOX"}
+
+      data: {"id":"chatcmpl-Cb5yJCILanWVFoK8svQG4K7aiRPCh","object":"chat.completion.chunk","created":1762957127,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":138,"completion_tokens":11,"total_tokens":149,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"R0lxVtDlle2QQ"}
 
       data: [DONE]
 
@@ -57,7 +59,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 732.795333ms
+    duration: 736.139583ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -81,41 +83,41 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_39epkBsv66OFmzWAjjmcZWb5","type":"function","function":{"name":"grep","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"g4Me2OHfV9KV"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_R5Cp0kHxWNqgnMvzXyRq2sob","type":"function","function":{"name":"grep","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"bOxQey6jJ6jd"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"CNRzhaSDPNKPXGw"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"j5SmRd5kuKyVUT5"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pattern"}}]},"finish_reason":null}],"usage":null,"obfuscation":"a1ux2QrCMjW"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pattern"}}]},"finish_reason":null}],"usage":null,"obfuscation":"NP6Orjm3vRV"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"3nMgpugdt039v"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"yOahzz2DtsAui"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"package"}}]},"finish_reason":null}],"usage":null,"obfuscation":"u14D2VgcxSg"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"package"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6ThqFp3z2JQ"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"IqP2MH4R9mb4E"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"Nj4Scb1oKCglX"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"include"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0LhESEb8PCO"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"include"}}]},"finish_reason":null}],"usage":null,"obfuscation":"fHprXhryEQO"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"OSUUijsRrkQzj"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"mJRip8Wd3NtVF"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"*."}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"*."}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"go"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"go"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"1FmyYnGNFquSj"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"49PIocaVfmsK0"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"literal"}}]},"finish_reason":null}],"usage":null,"obfuscation":"zzxJteTuGXF"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"literal"}}]},"finish_reason":null}],"usage":null,"obfuscation":"EYyV0RCGk0q"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_text"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0Xl2ISZ4lKI5Y"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_text"}}]},"finish_reason":null}],"usage":null,"obfuscation":"1DE5gklDMO3Qv"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Gj9Ox1ygCLhnY9U"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"QCOfoUwT7rJcx8W"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"true"}}]},"finish_reason":null}],"usage":null,"obfuscation":"tPU8VGTRxZsWGO"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"true"}}]},"finish_reason":null}],"usage":null,"obfuscation":"XBbP0xXreAKf1J"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"W"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"4"}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mdGZM3fpwNLU3MYDWbzj3nVItn","object":"chat.completion.chunk","created":1762952559,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10301,"completion_tokens":225,"total_tokens":10526,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"OJKU8svOX4sAzEt"}
+      data: {"id":"chatcmpl-Cb5yJbx1J8MLL8jlV8wAof7cnE4nM","object":"chat.completion.chunk","created":1762957127,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10301,"completion_tokens":225,"total_tokens":10526,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"OL2yAtApmXfvj56"}
 
       data: [DONE]
 
@@ -124,7 +126,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 5.8374715s
+    duration: 7.889969958s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -132,7 +134,7 @@ interactions:
     proto_minor: 1
     content_length: 46920
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/ls_tool.yaml 🔗

@@ -24,21 +24,27 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4mmP9gcGgRRqIVEqWUBUuRxZap6","object":"chat.completion.chunk","created":1762952568,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GJubgBCCzYlT9g"}
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"VkrdP0QIuUyDvH"}
 
-      data: {"id":"chatcmpl-Cb4mmP9gcGgRRqIVEqWUBUuRxZap6","object":"chat.completion.chunk","created":1762952568,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Listing"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YBsnsSalr"}
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Listing"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ZAqZsmPGv"}
 
-      data: {"id":"chatcmpl-Cb4mmP9gcGgRRqIVEqWUBUuRxZap6","object":"chat.completion.chunk","created":1762952568,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"42DkhptdQQ"}
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"cMTSNZ4F9D"}
 
-      data: {"id":"chatcmpl-Cb4mmP9gcGgRRqIVEqWUBUuRxZap6","object":"chat.completion.chunk","created":1762952568,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sB35Di4ijRs"}
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QXt31cLKnZQwY"}
 
-      data: {"id":"chatcmpl-Cb4mmP9gcGgRRqIVEqWUBUuRxZap6","object":"chat.completion.chunk","created":1762952568,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" ls"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"9kCAVzuBcxzzx"}
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QK6oaxbx"}
 
-      data: {"id":"chatcmpl-Cb4mmP9gcGgRRqIVEqWUBUuRxZap6","object":"chat.completion.chunk","created":1762952568,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Command"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GPd3TFm3"}
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Directory"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dVxozB"}
 
-      data: {"id":"chatcmpl-Cb4mmP9gcGgRRqIVEqWUBUuRxZap6","object":"chat.completion.chunk","created":1762952568,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"od2HcSRyRN"}
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Using"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"WNsPLSM7nl"}
 
-      data: {"id":"chatcmpl-Cb4mmP9gcGgRRqIVEqWUBUuRxZap6","object":"chat.completion.chunk","created":1762952568,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":135,"completion_tokens":5,"total_tokens":140,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"KkqLun9lJiuD4i"}
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" ls"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xc3qY61hWc6z2"}
+
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Command"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"a1v99VmG"}
+
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"bUgwtMFVvc"}
+
+      data: {"id":"chatcmpl-Cb5yUESJgOHdunIlgNZfhSUkAZ3Zv","object":"chat.completion.chunk","created":1762957138,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":135,"completion_tokens":8,"total_tokens":143,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"xBvcrzWmFk9xzw"}
 
       data: [DONE]
 
@@ -47,7 +53,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.332867292s
+    duration: 562.732125ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,53 +77,53 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_VF64NthtIxZ52o3tSOAlTYut","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"0wpvA4HAQMKAay"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_0lqmSJzZmafQTdax9LzPz5Wn","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"cTAcGzjfHtHA88"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"D2sKKdhNfOgaEJC"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"XjWrVqFXtE9Geu8"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"mH3TMvxKqD6lju"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"VMeqVzmdPIrtpi"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6zjixXIGabsvOCs"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"W8lOSJTqc6VMN5I"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"wQVWwhGR60R5204"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"9JWi2n2Ji3w8IA"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"3a7icQYKGyVrvNZ"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"1OXo2PwY50YdSQP"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"W8VnOlF28CxTib9"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"FBcu4kzk2pzQzwi"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"w7niIz4oDWv2VzZ"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"e4Sn7vAcnWHJfSe"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"UwCZlGBPaiho0"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"WPmiSyktFA7Iz"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"3hgxgyCqR3wl2"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"XMJx34dp0aAYr"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"8Ippyh1TZ45Di"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"1SZM0VRBJf5nn"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"4UJr0ZMwJpxIu"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"wDWkkFhqHC3aE"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"l0Celp82ceRyn"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"O53T0pPsmB9SZ"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"a"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"B"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"L"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"w"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"O"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ls"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ls"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_tool"}}]},"finish_reason":null}],"usage":null,"obfuscation":"tNi1OuL5T8Kjg"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_tool"}}]},"finish_reason":null}],"usage":null,"obfuscation":"oDPfTeOLBe3sJ"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Xx8DMUp3M1ysM4E"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"1X88fMDEuD3CzCs"}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4mmEh9YcWJFsrwe3SdALNMNhtzS","object":"chat.completion.chunk","created":1762952568,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10298,"completion_tokens":231,"total_tokens":10529,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"0DXG7F7bisdcYxl"}
+      data: {"id":"chatcmpl-Cb5yUtPzSXZzFLksf4I6FyXksliik","object":"chat.completion.chunk","created":1762957138,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10298,"completion_tokens":231,"total_tokens":10529,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"uCAEVT6Yv6C6mrb"}
 
       data: [DONE]
 
@@ -126,15 +132,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 4.7327715s
+    duration: 8.204358875s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46880
+    content_length: 46881
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/multiedit_tool.yaml 🔗

@@ -6,9 +6,9 @@ interactions:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 786
+    content_length: 46608
     host: ""
-    body: '{"messages":[{"content":"you will generate a short title based on the first message a user begins a conversation with\n\n<rules>\n- ensure it is not more than 50 characters long\n- the title should be a summary of the user''s message\n- it should be one line long\n- do not use quotes or colons\n- the entire text you return will be used as the title\n- never return anything that is more than one sentence (one line) long\n</rules>\n\n /no_think","role":"system"},{"content":"Generate a concise title for the following content:\n\nuse multiedit to change ''Hello, World!'' to ''Hello, Crush!'' and add a comment ''// Greeting'' above the fmt.Println line in main.go\n <think>\n\n</think>","role":"user"}],"model":"gpt-4o","max_tokens":40,"stream_options":{"include_usage":true},"stream":true}'

internal/agent/testdata/TestCoderAgent/openai-gpt-5/parallel_tool_calls.yaml 🔗

@@ -24,25 +24,31 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"VIYyvk18ZXFgGY"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"A44eQn9KgFutwa"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Running"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MO3yvZBKL"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Parallel"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Tmi03RHL"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" glob"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"OSAsJyUoMef"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Execution"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"O14gjl"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aya3hVCqhNTG"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"chAg816YLyTCL"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" ls"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Bf9wKh53wRJ3D"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" ."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"rz0vv0n6Jf2V4U"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Commands"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dGvtlnu"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"rw04SSwZUbsSJ3"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xiK2roUoDSZik"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"K4rF6ibzWDc"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Parallel"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"SHkMQCN"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Search"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"jrpuKhBIf"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"44v1xFijvd"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0IpEto9RQacr"}
 
-      data: {"id":"chatcmpl-Cb4pADi3wWb9ZADyX3PS8hm032lEB","object":"chat.completion.chunk","created":1762952716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":154,"completion_tokens":7,"total_tokens":161,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"fDgyHI0q4ovqNb"}
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Directory"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"z6bJWI"}
+
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Listing"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"mcu5Mbw8"}
+
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"uynfKLQ5Gm"}
+
+      data: {"id":"chatcmpl-Cb60BeaB1xGpdHTMQKO5Z5jFiDWEc","object":"chat.completion.chunk","created":1762957243,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":154,"completion_tokens":10,"total_tokens":164,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"lWqpDsukHVVhp"}
 
       data: [DONE]
 
@@ -51,7 +57,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 622.904584ms
+    duration: 657.458125ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -75,55 +81,55 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"finish_reason":null}],"obfuscation":"ivfTaAj"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"finish_reason":null}],"obfuscation":"vse7mvG"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_GYdrTsY4XPL2YrVDTeNINOQs","type":"function","function":{"name":"glob","arguments":""}}]},"finish_reason":null}],"obfuscation":"fSneMIPsCi0xr"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_9y8tz8yVaGOOVpyyRbZLvZnJ","type":"function","function":{"name":"glob","arguments":""}}]},"finish_reason":null}],"obfuscation":"LcDTzVqLX6aY7"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"pa"}}]},"finish_reason":null}],"obfuscation":"03WDXfgkSoFjs"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"pa"}}]},"finish_reason":null}],"obfuscation":"1d5ZdySbf6jPW"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ttern"}}]},"finish_reason":null}],"obfuscation":"cZU6c71koqObW"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ttern"}}]},"finish_reason":null}],"obfuscation":"lVy54HSUCaibZ"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\": \"**"}}]},"finish_reason":null}],"obfuscation":"7W86jf82NF"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\": \"**"}}]},"finish_reason":null}],"obfuscation":"YTcGdUCQ24"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/*.g"}}]},"finish_reason":null}],"obfuscation":"qQVKpDeNPm3nUl"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/*.g"}}]},"finish_reason":null}],"obfuscation":"sziklSxaEsk25g"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"o\"}"}}]},"finish_reason":null}],"obfuscation":"577k8EuBhEw1IM"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"o\"}"}}]},"finish_reason":null}],"obfuscation":"mmynkAgBe5pz7Y"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_QpnZPpn8mSj10ZuTLbtjPzYd","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null}],"obfuscation":"IFXaLDST33Dnpua"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_2jSc7ZobxHk8fl6kx9WlP6vD","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null}],"obfuscation":"MGyNzjT5RF2jm7I"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"pa"}}]},"finish_reason":null}],"obfuscation":"QStgZtyT2XV6K"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"pa"}}]},"finish_reason":null}],"obfuscation":"MYpBnEP4IpE7V"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"th\": "}}]},"finish_reason":null}],"obfuscation":"bVVePXkUCpLU"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"th\": "}}]},"finish_reason":null}],"obfuscation":"pUNIuf3naiYK"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"/tmp/"}}]},"finish_reason":null}],"obfuscation":"q6KEc5yYJC0"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"/tmp/"}}]},"finish_reason":null}],"obfuscation":"KzincET49rQ"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"crus"}}]},"finish_reason":null}],"obfuscation":"RWP1Gskt0HbpRo"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"crus"}}]},"finish_reason":null}],"obfuscation":"ftUqXCnCVHSaA4"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"h-tes"}}]},"finish_reason":null}],"obfuscation":"Swx8QetQpBlNC"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"h-tes"}}]},"finish_reason":null}],"obfuscation":"hjmvYSVbLbYRs"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"t/Test"}}]},"finish_reason":null}],"obfuscation":"icoVHcLi5XF9"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"t/Test"}}]},"finish_reason":null}],"obfuscation":"s3PmsrLtnDrn"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"Code"}}]},"finish_reason":null}],"obfuscation":"QeKhx9LHK7a6T9"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"Code"}}]},"finish_reason":null}],"obfuscation":"89ousBJh28CLZK"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"rAgen"}}]},"finish_reason":null}],"obfuscation":"rEMuM1b6LHTJo"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"rAgen"}}]},"finish_reason":null}],"obfuscation":"4hr0I5duVapHI"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"t/open"}}]},"finish_reason":null}],"obfuscation":"n9k5hij7lOMs"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"t/open"}}]},"finish_reason":null}],"obfuscation":"C2s0ZU4pgdYY"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"ai-g"}}]},"finish_reason":null}],"obfuscation":"KoP8KS6Tgh4eUl"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"ai-g"}}]},"finish_reason":null}],"obfuscation":"jed5LJhkyXZ3PK"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"pt-5/"}}]},"finish_reason":null}],"obfuscation":"Y2EZg3iNwxtCG"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"pt-5/"}}]},"finish_reason":null}],"obfuscation":"RPTGR4VeulOAq"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"parall"}}]},"finish_reason":null}],"obfuscation":"lnd5BPl6xkAg"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"parall"}}]},"finish_reason":null}],"obfuscation":"r6UDaMp8uSpx"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"el_t"}}]},"finish_reason":null}],"obfuscation":"dGE7jdTtkfteaI"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"el_t"}}]},"finish_reason":null}],"obfuscation":"0InCFPxI5i09oU"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"ool_c"}}]},"finish_reason":null}],"obfuscation":"xfptD3TtKmS2h"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"ool_c"}}]},"finish_reason":null}],"obfuscation":"sjDmiruzVbz6C"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"alls\"}"}}]},"finish_reason":null}],"obfuscation":"XcXrrKRU6cb"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"alls\"}"}}]},"finish_reason":null}],"obfuscation":"YhgK4RUDMSP"}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4pA2epHbailnoF4ZCaOQtrs6WXm","object":"chat.completion.chunk","created":1762952716,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10318,"completion_tokens":711,"total_tokens":11029,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":640,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"nKtfKSP6J864pmH"}
+      data: {"id":"chatcmpl-Cb60BAPE0p1PDn5hu64KTCJtb6I6R","object":"chat.completion.chunk","created":1762957243,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10318,"completion_tokens":391,"total_tokens":10709,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":320,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"mUuBOToMGmHKpiO"}
 
       data: [DONE]
 
@@ -132,7 +138,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 18.491712208s
+    duration: 9.00735925s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -140,7 +146,7 @@ interactions:
     proto_minor: 1
     content_length: 47274
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/read_a_file.yaml 🔗

@@ -24,17 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4kzEEr10Qa8EOfjAVd6EhKYAXPe","object":"chat.completion.chunk","created":1762952457,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ptrzTTOpvsLkNB"}
+      data: {"id":"chatcmpl-Cb5w5ULCddsNgm5VFiQcvejbAcOCO","object":"chat.completion.chunk","created":1762956989,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"fJW1r8pKwHQBFj"}
 
-      data: {"id":"chatcmpl-Cb4kzEEr10Qa8EOfjAVd6EhKYAXPe","object":"chat.completion.chunk","created":1762952457,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Understanding"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"hBi"}
+      data: {"id":"chatcmpl-Cb5w5ULCddsNgm5VFiQcvejbAcOCO","object":"chat.completion.chunk","created":1762956989,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Understanding"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"roo"}
 
-      data: {"id":"chatcmpl-Cb4kzEEr10Qa8EOfjAVd6EhKYAXPe","object":"chat.completion.chunk","created":1762952457,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wUgTRGOW61G74"}
+      data: {"id":"chatcmpl-Cb5w5ULCddsNgm5VFiQcvejbAcOCO","object":"chat.completion.chunk","created":1762956989,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ZSX9dsR7Mddro"}
 
-      data: {"id":"chatcmpl-Cb4kzEEr10Qa8EOfjAVd6EhKYAXPe","object":"chat.completion.chunk","created":1762952457,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Modules"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"R4iezMTg"}
+      data: {"id":"chatcmpl-Cb5w5ULCddsNgm5VFiQcvejbAcOCO","object":"chat.completion.chunk","created":1762956989,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Modules"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BWWq6HWi"}
 
-      data: {"id":"chatcmpl-Cb4kzEEr10Qa8EOfjAVd6EhKYAXPe","object":"chat.completion.chunk","created":1762952457,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"d3e0YzAZew"}
+      data: {"id":"chatcmpl-Cb5w5ULCddsNgm5VFiQcvejbAcOCO","object":"chat.completion.chunk","created":1762956989,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"C8nC0vucyL"}
 
-      data: {"id":"chatcmpl-Cb4kzEEr10Qa8EOfjAVd6EhKYAXPe","object":"chat.completion.chunk","created":1762952457,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":129,"completion_tokens":3,"total_tokens":132,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"MyZh8WINa6tHMC"}
+      data: {"id":"chatcmpl-Cb5w5ULCddsNgm5VFiQcvejbAcOCO","object":"chat.completion.chunk","created":1762956989,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":129,"completion_tokens":3,"total_tokens":132,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Ylhm1Pv3VWSQIq"}
 
       data: [DONE]
 
@@ -43,7 +43,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.511613791s
+    duration: 1.605805792s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -67,61 +67,61 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_11z55lawFG3ZDKmc2BFvhsoA","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"0uKeq8UP4uTRxV"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_GTEAMTYgOyGQ0k1MjtVnjVfl","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"FTOX9xy3wdE0dq"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"4EpzoKE5yBorQKA"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"CqeSWIGEfaaiCAS"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"CAHanl32ZJ7f2g"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"qkndxl3WhjL336"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"o3PzmzD4kLg5Ghk"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Ea6NEqLeAUAhJYz"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"HwJSxsZzMlyfhey"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"YrqVRZaYmBE77GS"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"IAG0oi8jmOV8b6I"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"DWAsZaoDnJkVyBd"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"kXvlM6T1XYwjU8r"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"wljSFj2CzMepWAL"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"SAa4TwazelJXKPB"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"eUCqjCGP6AsbdL1"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"qbj5FTsBXwIJ8"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"aqdmGxDKc5tPZ"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Cf1HvM5RI0DMw"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"uMFZW0fIjsisK"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"2LSrMz8aNwRTv"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"uGIp92RyLQAi3"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"9FglHNiBSVGco"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6xnB3S9eQW020"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0tV4VsUPRXKeM"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"nPyscsXI8Drl6"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"z"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"T"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"j"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"a"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/read"}}]},"finish_reason":null}],"usage":null,"obfuscation":"gUimc5k5ZbB92"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/read"}}]},"finish_reason":null}],"usage":null,"obfuscation":"v6fQaOeTdM7dF"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_a"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_a"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"hK1s6qKfpVOv2"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"UH00QKMcNbZWc"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"HZZCRFSmt6Hck"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"JDY3c1FX9xmRg"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"depth"}}]},"finish_reason":null}],"usage":null,"obfuscation":"jruJ2YaU3yUJ7"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"depth"}}]},"finish_reason":null}],"usage":null,"obfuscation":"xV6yFoQcjZnMV"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"mHXEkir4EC6um21"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Cx4vNQ8S8afWPjH"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"2"}}]},"finish_reason":null}],"usage":null,"obfuscation":"T"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"2"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Q"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"y"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"G"}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4kzNJTMgJFj9PkBWgVP4xUjoVM3","object":"chat.completion.chunk","created":1762952457,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10292,"completion_tokens":363,"total_tokens":10655,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":320,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"wshsWrDcZd2Z5LF"}
+      data: {"id":"chatcmpl-Cb5w5KfpJ2xBEjSffDQ1KyJsz1DRf","object":"chat.completion.chunk","created":1762956989,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10292,"completion_tokens":171,"total_tokens":10463,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":128,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Ai"}
 
       data: [DONE]
 
@@ -130,7 +130,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 12.448281917s
+    duration: 12.39303675s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -138,7 +138,7 @@ interactions:
     proto_minor: 1
     content_length: 46870
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/simple_test.yaml 🔗

@@ -24,19 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4kuVwqwpuZECuvl3RqwihCxVZ8V","object":"chat.completion.chunk","created":1762952452,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"r6yPq7d0KuYdHg"}
+      data: {"id":"chatcmpl-Cb5w0kfqOgaYdDNrSJ0Icw2rfr2lS","object":"chat.completion.chunk","created":1762956984,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"nW9TR3Tsp3EoEz"}
 
-      data: {"id":"chatcmpl-Cb4kuVwqwpuZECuvl3RqwihCxVZ8V","object":"chat.completion.chunk","created":1762952452,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"User"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qGD5936wYul8"}
+      data: {"id":"chatcmpl-Cb5w0kfqOgaYdDNrSJ0Icw2rfr2lS","object":"chat.completion.chunk","created":1762956984,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Greetings"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Ono4PFv"}
 
-      data: {"id":"chatcmpl-Cb4kuVwqwpuZECuvl3RqwihCxVZ8V","object":"chat.completion.chunk","created":1762952452,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Gre"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"WhyNemOKMe5s"}
+      data: {"id":"chatcmpl-Cb5w0kfqOgaYdDNrSJ0Icw2rfr2lS","object":"chat.completion.chunk","created":1762956984,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xDRpA6sTV6ln"}
 
-      data: {"id":"chatcmpl-Cb4kuVwqwpuZECuvl3RqwihCxVZ8V","object":"chat.completion.chunk","created":1762952452,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"ets"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PkVaCRLwJ5xRV"}
+      data: {"id":"chatcmpl-Cb5w0kfqOgaYdDNrSJ0Icw2rfr2lS","object":"chat.completion.chunk","created":1762956984,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Conversation"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Qoc"}
 
-      data: {"id":"chatcmpl-Cb4kuVwqwpuZECuvl3RqwihCxVZ8V","object":"chat.completion.chunk","created":1762952452,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Assistant"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"c1ygEO"}
+      data: {"id":"chatcmpl-Cb5w0kfqOgaYdDNrSJ0Icw2rfr2lS","object":"chat.completion.chunk","created":1762956984,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Starter"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RZzduVab"}
 
-      data: {"id":"chatcmpl-Cb4kuVwqwpuZECuvl3RqwihCxVZ8V","object":"chat.completion.chunk","created":1762952452,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"TJD33q2hoz"}
+      data: {"id":"chatcmpl-Cb5w0kfqOgaYdDNrSJ0Icw2rfr2lS","object":"chat.completion.chunk","created":1762956984,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"dGv4ekrkQQ"}
 
-      data: {"id":"chatcmpl-Cb4kuVwqwpuZECuvl3RqwihCxVZ8V","object":"chat.completion.chunk","created":1762952452,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":126,"completion_tokens":4,"total_tokens":130,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"1mECwR6dEQiIT4"}
+      data: {"id":"chatcmpl-Cb5w0kfqOgaYdDNrSJ0Icw2rfr2lS","object":"chat.completion.chunk","created":1762956984,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":126,"completion_tokens":4,"total_tokens":130,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"OdvvpaQFGDIlpb"}
 
       data: [DONE]
 
@@ -45,7 +45,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.784525625s
+    duration: 2.448980375s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,13 +69,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4kvHhjjoCn5nb4SjIqL4yWTRBj4","object":"chat.completion.chunk","created":1762952453,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"nUR6MM67fG"}
+      data: {"id":"chatcmpl-Cb5w1sfmubFtYF9JeZ7Bh4s6rNQAq","object":"chat.completion.chunk","created":1762956985,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"EGuSMFVzhg"}
 
-      data: {"id":"chatcmpl-Cb4kvHhjjoCn5nb4SjIqL4yWTRBj4","object":"chat.completion.chunk","created":1762952453,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Hi"},"finish_reason":null}],"usage":null,"obfuscation":"zeEpEQy6ZT"}
+      data: {"id":"chatcmpl-Cb5w1sfmubFtYF9JeZ7Bh4s6rNQAq","object":"chat.completion.chunk","created":1762956985,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Hi"},"finish_reason":null}],"usage":null,"obfuscation":"cTG6Fj8CrJ"}
 
-      data: {"id":"chatcmpl-Cb4kvHhjjoCn5nb4SjIqL4yWTRBj4","object":"chat.completion.chunk","created":1762952453,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"TwfcWg"}
+      data: {"id":"chatcmpl-Cb5w1sfmubFtYF9JeZ7Bh4s6rNQAq","object":"chat.completion.chunk","created":1762956985,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"EKI1ln"}
 
-      data: {"id":"chatcmpl-Cb4kvHhjjoCn5nb4SjIqL4yWTRBj4","object":"chat.completion.chunk","created":1762952453,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10288,"completion_tokens":74,"total_tokens":10362,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":64,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"8uVJ"}
+      data: {"id":"chatcmpl-Cb5w1sfmubFtYF9JeZ7Bh4s6rNQAq","object":"chat.completion.chunk","created":1762956985,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10288,"completion_tokens":10,"total_tokens":10298,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"aK7vs"}
 
       data: [DONE]
 
@@ -84,4 +84,4 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 4.370712667s
+    duration: 5.199291917s

internal/agent/testdata/TestCoderAgent/openai-gpt-5/sourcegraph_tool.yaml 🔗

@@ -24,35 +24,37 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"i3Gq2jWFsYJvU2"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"FeCQ1bEw5SAEtK"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Searching"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Rn3ZfSm"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Using"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"d1b8aZaiZzF"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"KZTUF1MDFe4VZ6"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Source"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"1SgIb5JW6"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"func"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5P90ehlv9B8d"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"graph"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6lhKaImF8E9"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xhR07zaUrAV"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"W8xzM9NWbmT19"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PLxKPE0abnAMraa"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Search"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6egptkWqg"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"z8r8GoQOV80tD"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"UI6KO7sVqDq09"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"cM5V1qnSAG8eL"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Re"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"1NK7FVXy9VC0v"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Re"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"eUdyrZKCUVUgn"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"pos"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"CqsNefe1X9avK"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"positories"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"tWAvCc"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QpBfFcv1d9sW"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"kWtM9K8I0Es"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"fjsYVdQ4sgHP6c"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Source"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zrKfzX7Lf"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"func"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"HJolH5eF1EJS"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"graph"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QhPqhuAErbf"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"HY273kHll7Q"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"oAxpPRVBEk"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sygcrJ6vO4cSMab"}
 
-      data: {"id":"chatcmpl-Cb4njYHT3yxZsvGnK5h4M8kqoZQgi","object":"chat.completion.chunk","created":1762952627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":138,"completion_tokens":12,"total_tokens":150,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"SfUZkQfgDARM4"}
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"g2dUSK1Kda"}
+
+      data: {"id":"chatcmpl-Cb5zUSFOM8XeIbmA8K8CZvmM4SEPC","object":"chat.completion.chunk","created":1762957200,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":138,"completion_tokens":13,"total_tokens":151,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"ZY6Gzaa7CuvG7"}
 
       data: [DONE]
 
@@ -61,7 +63,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 569.424ms
+    duration: 501.264459ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -85,51 +87,57 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_USIFCiGMPKSm57dyOc4zfoJ9","type":"function","function":{"name":"sourcegraph","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"ueCop"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_KHhZaByYkcMVBJ2oUMPsdss6","type":"function","function":{"name":"sourcegraph","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"X5Ogz"}
+
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"MR6xid8wWPCSsk1"}
+
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"query"}}]},"finish_reason":null}],"usage":null,"obfuscation":"t1HX7QNXbz0cn"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"drReGDgjRr92JGn"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"zkhWotU8rTMjv"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"query"}}]},"finish_reason":null}],"usage":null,"obfuscation":"koZ7Sj4BmkZL7"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"lang"}}]},"finish_reason":null}],"usage":null,"obfuscation":"rRlXGdVQBWL9CF"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"vpjyuXIskeDwR"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Y"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"lang"}}]},"finish_reason":null}],"usage":null,"obfuscation":"pPWQRUMVIIjje6"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"go"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"y"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"FOaFLz3J8JlGH"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"go"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"func"}}]},"finish_reason":null}],"usage":null,"obfuscation":"hXgpeb24utRT3g"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" content"}}]},"finish_reason":null}],"usage":null,"obfuscation":"IQbT8KfMpo"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" main"}}]},"finish_reason":null}],"usage":null,"obfuscation":"trDc7Dy1r4jvK"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":":\\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"Rubl3xMhLZJ9B"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\"\","}}]},"finish_reason":null}],"usage":null,"obfuscation":"l1l6qsyIfsz"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"func"}}]},"finish_reason":null}],"usage":null,"obfuscation":"OBB6cfCC18oIRg"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \""}}]},"finish_reason":null}],"usage":null,"obfuscation":"FX1oTrBYCPOtX8f"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" main"}}]},"finish_reason":null}],"usage":null,"obfuscation":"K8qJCnfKALRV1"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"count"}}]},"finish_reason":null}],"usage":null,"obfuscation":"A1Cza2kV2MzoO"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"(\\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"xsysXKDEyJWKP"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"P14WVlkxe5QFwcw"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" type"}}]},"finish_reason":null}],"usage":null,"obfuscation":"M97uHE48DI1Tz"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" "}}]},"finish_reason":null}],"usage":null,"obfuscation":"z"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":":file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"n9ODSqywgi9HW"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"10"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" count"}}]},"finish_reason":null}],"usage":null,"obfuscation":"hjZGmlbZmUoC"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":","}}]},"finish_reason":null}],"usage":null,"obfuscation":"Q"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"k"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \""}}]},"finish_reason":null}],"usage":null,"obfuscation":"fJGz0g9H6wDkBN3"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"10"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"context"}}]},"finish_reason":null}],"usage":null,"obfuscation":"mRE5nMxUotM"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" select"}}]},"finish_reason":null}],"usage":null,"obfuscation":"MUDDx7nXEZF"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_window"}}]},"finish_reason":null}],"usage":null,"obfuscation":"7382XfwmhHc"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"l"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"D94w0gxnCiCG4l4"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"content"}}]},"finish_reason":null}],"usage":null,"obfuscation":"rhV4HovL0Sh"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" "}}]},"finish_reason":null}],"usage":null,"obfuscation":"W"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"eLtai7PM9vLdj70"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"F"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"d"}
 
-      data: {"id":"chatcmpl-Cb4njGHiX6gXqQwsLNImJdbnaZGUK","object":"chat.completion.chunk","created":1762952627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10301,"completion_tokens":294,"total_tokens":10595,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":256,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"RXERebkGE61zTrI"}
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+
+      data: {"id":"chatcmpl-Cb5zVcJ7HGB4IQoh8xeZdkshYqORo","object":"chat.completion.chunk","created":1762957201,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10301,"completion_tokens":233,"total_tokens":10534,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"yBjMkejBcmeZESD"}
 
       data: [DONE]
 
@@ -138,15 +146,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 7.029150875s
+    duration: 7.568893083s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 471
+    content_length: 428
     host: sourcegraph.com
-    body: '{"query":"query Search($query: String!) { search(query: $query, version: V2, patternType: keyword ) { results { matchCount, limitHit, resultCount, approximateResultCount, missing { name }, timedout { name }, indexUnavailable, results { __typename, ... on FileMatch { repository { name }, file { path, url, content }, lineMatches { preview, lineNumber, offsetAndLengths } } } } } }","variables":{"query":"lang:go content:\"func main(\" type:file count:10 select:content"}}'
+    body: '{"query":"query Search($query: String!) { search(query: $query, version: V2, patternType: keyword ) { results { matchCount, limitHit, resultCount, approximateResultCount, missing { name }, timedout { name }, indexUnavailable, results { __typename, ... on FileMatch { repository { name }, file { path, url, content }, lineMatches { preview, lineNumber, offsetAndLengths } } } } } }","variables":{"query":"lang:go \"func main\""}}'
     headers:
       Content-Type:
       - application/json
@@ -160,21 +168,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     uncompressed: true

internal/agent/testdata/TestCoderAgent/openai-gpt-5/update_a_file.yaml 🔗

@@ -24,31 +24,35 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QBX8r2DwAHgTiq"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3hd2Y7To0uK1eB"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Update"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"9glcJJldsT"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Change"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0VTlMbTRE9"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"FjPEEkaxY09"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Print"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"4L1cLnKMYJ"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":".go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dt19WuPOymMKE"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Statement"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"neXafO"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"192991CywmZXi"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"pdNYKU2mBli4O"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Print"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"FxtN3XxbVh"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" \""},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"4Csgsh7dwMhgS"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" \""},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"pcj6b0aNiu205"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Ysc4ZBdAPRm"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"t5cdbVQjsOS"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" from"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"alkk7iL1Q04"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" from"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"LWKUpEXuuvX"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Crush"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MDv3ZSsC9N"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Crush"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"mF1YCcd3UG"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"\""},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"JjUHdsIzjE9LUZ"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"\""},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"tEte0vTuHCYtyk"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"SuDlRf9m5VoJ7"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"qWODAnJcKA"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sAHj4loXb5b"}
 
-      data: {"id":"chatcmpl-Cb4lGYmRLacpxUyMnjxONygMmyygB","object":"chat.completion.chunk","created":1762952474,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":139,"completion_tokens":10,"total_tokens":149,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"RBeP3uO5JeMaG"}
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":".go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"HDFPGpeTxQ8de"}
+
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"eNV2PvIv9M"}
+
+      data: {"id":"chatcmpl-Cb5wSSELa0kOx02WpT4TrsQfOaNAz","object":"chat.completion.chunk","created":1762957012,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":139,"completion_tokens":12,"total_tokens":151,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"C9jBT2oHsXgvy"}
 
       data: [DONE]
 
@@ -57,7 +61,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.022823333s
+    duration: 1.279330292s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -81,61 +85,65 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_GRkTtInh4R8sn73EFv1w8PcO","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"NE5gBZ9Sphz2jE"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_ESnDQrjERIy1lfbOFGp9VyzP","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"nhguWRgEZxpqHH"}
+
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"v2UbtzaVDgKt5v9"}
+
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"fAEk4bYoRf128H"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"KRjDxkn8ZLPXhlo"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"V0JSaB7CdGId8V0"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"oLGuBoOtzqcI8U"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6RrYa9uDt0BxLl"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0PCxZlTGvH6147Q"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"rdqcveVvlND3yvi"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"9HilC4qiUu7e8Ud"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"2GKQ4NTCS4KtwXK"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"KBmk8QPi56FPzAf"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"7GQ5Ai5QKGYe8pO"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"FE3uYJkmaMNv7j9"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"mD4eQTvCtoFT3"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Z3p24TqCvfGy3PF"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"AGZ1v7SVgAa4g"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"zR3ruGZ4i5kRc"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"rvz1Pk5oVdOOP"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"uqt52kP1VcOvF"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"jSI61UjjKeHXV"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"kZ7pRWTb0ohfe"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ijD61uR1ezM7y"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"vXXxoYLEvHOjc"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Agms6nuSpXaL0"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"G"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"5"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"k"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/update"}}]},"finish_reason":null}],"usage":null,"obfuscation":"QKjNGjQWTkJ"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"U"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_a"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/update"}}]},"finish_reason":null}],"usage":null,"obfuscation":"qC1ktwNc9nv"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6wO0zHef8Zta6"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_a"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\","}}]},"finish_reason":null}],"usage":null,"obfuscation":"igY1kXXi1QrJoCV"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"rDpGlY3R6mlXE"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \""}}]},"finish_reason":null}],"usage":null,"obfuscation":"uxOeHZmBajYDtQz"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"4ykJvhv32cUTl"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"depth"}}]},"finish_reason":null}],"usage":null,"obfuscation":"tVLD7i6cIf3dA"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"depth"}}]},"finish_reason":null}],"usage":null,"obfuscation":"V9VZ9BnqMgnKw"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"VDQ6CWudOaC8Dm1"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"9gecZDw3uaYrchV"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" "}}]},"finish_reason":null}],"usage":null,"obfuscation":"Y"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"2"}}]},"finish_reason":null}],"usage":null,"obfuscation":"n"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"2"}}]},"finish_reason":null}],"usage":null,"obfuscation":"P"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"S"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6"}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4lGWlvNzVSf8iAs8qg910SsSil3","object":"chat.completion.chunk","created":1762952474,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10302,"completion_tokens":171,"total_tokens":10473,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":128,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"OPkdiU60kVmXUZB"}
+      data: {"id":"chatcmpl-Cb5wSFQW4z6hrxkBjO5GHZUzFSjuk","object":"chat.completion.chunk","created":1762957012,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10302,"completion_tokens":237,"total_tokens":10539,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"RL3OAl9M0AG52Az"}
 
       data: [DONE]
 
@@ -144,15 +152,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 4.422656959s
+    duration: 7.287330875s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46930
+    content_length: 46933
     host: ""

internal/agent/testdata/TestCoderAgent/openai-gpt-5/write_tool.yaml 🔗

@@ -24,23 +24,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qcvCB9gucb1isL"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"jTRrkAfYitJdCp"}
 
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Create"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"EsPrlwusRD"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":"Creating"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BCLgoVd6"}
 
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" config"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AyQnViatH"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" config"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"X9HRzrIu6"}
 
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":".json"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"NbWjryXhkvk"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":".json"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wSmV28zARJQ"}
 
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"VnFiaR9wH9C"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"7P45afQSLxu"}
 
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" JSON"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AaAIvIkX3YL"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" JSON"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"WNShGEdhsPn"}
 
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" content"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0rjt3piX"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{"content":" Content"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"W8j8Pzsa"}
 
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"r28BFqHDF9"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"SjL0O8zr7i"}
 
-      data: {"id":"chatcmpl-Cb4ousdfEAMyoZuDuMJAutey4cO40","object":"chat.completion.chunk","created":1762952700,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":153,"completion_tokens":6,"total_tokens":159,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"QE9XJ3XRXrCjqX"}
+      data: {"id":"chatcmpl-Cb6016ejx5Qz5cXnGzjQzQ2MPrIRC","object":"chat.completion.chunk","created":1762957233,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_b1442291a8","choices":[],"usage":{"prompt_tokens":153,"completion_tokens":6,"total_tokens":159,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"EHygWo2rrLW5yr"}
 
       data: [DONE]
 
@@ -49,7 +49,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 517.179375ms
+    duration: 677.000958ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,97 +73,97 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_gK87yb3wh0IUq8QS6af4nnY7","type":"function","function":{"name":"write","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"NqFnDBygwp5"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_pbPkrpI3w9ZkDk6fZLInI03x","type":"function","function":{"name":"write","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"PShcKXAvXIZ"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"zgSTnNEtnGs9fPv"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"GrfwVN6lyeDlGP4"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"MBD0e4Q4Hxj0GS"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"file"}}]},"finish_reason":null}],"usage":null,"obfuscation":"GsoC4aGIqwBB9W"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"fj7MNAlWUk1Hf"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_path"}}]},"finish_reason":null}],"usage":null,"obfuscation":"LasnHJ0n0sPN8"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Sc7R71nVDyUhvTP"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"vuamElWnB5rvfzE"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"JUhiAugzO7Xk9EE"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"/"}}]},"finish_reason":null}],"usage":null,"obfuscation":"JVtUP7mOTfogG62"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"1qEF05ozqx9IjRQ"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tmp"}}]},"finish_reason":null}],"usage":null,"obfuscation":"H20EiyQEwo68ycl"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"GKrqA8zuIzStUBH"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/cr"}}]},"finish_reason":null}],"usage":null,"obfuscation":"X4ZXk3SDo9iyKI6"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"JUpAwxSYVPbNfKC"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ush"}}]},"finish_reason":null}],"usage":null,"obfuscation":"t9C0YH8QZSgFNdt"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"3DY8U9eGZR4RE"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"qAMcV5CmuGkgJ"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"vJqRE2UrBihaq"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/Test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"L4O9mdRcFJtIV"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"3rVlZFCfjj59I"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Coder"}}]},"finish_reason":null}],"usage":null,"obfuscation":"tfHV70A50Sa1f"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"2cw7flXGhnLpU"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Agent"}}]},"finish_reason":null}],"usage":null,"obfuscation":"yypwQ6yuvIgoZ"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"bmkHmwgCTfi2S"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/open"}}]},"finish_reason":null}],"usage":null,"obfuscation":"HIcEFi40qzouf"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ai"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-g"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"pt"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"T"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"-"}}]},"finish_reason":null}],"usage":null,"obfuscation":"W"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"J"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"finish_reason":null}],"usage":null,"obfuscation":"a"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/write"}}]},"finish_reason":null}],"usage":null,"obfuscation":"0agvjEViCOjd"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/write"}}]},"finish_reason":null}],"usage":null,"obfuscation":"eYzDxokBAKFs"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_tool"}}]},"finish_reason":null}],"usage":null,"obfuscation":"kl60s0RmDRvra"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"_tool"}}]},"finish_reason":null}],"usage":null,"obfuscation":"RCDV652Hqv6wX"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/config"}}]},"finish_reason":null}],"usage":null,"obfuscation":"kjPPisB3CmL"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/config"}}]},"finish_reason":null}],"usage":null,"obfuscation":"N327aLbpwWl"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".json"}}]},"finish_reason":null}],"usage":null,"obfuscation":"mXMhlf6ipm7Qh"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".json"}}]},"finish_reason":null}],"usage":null,"obfuscation":"FYdpmnHvmgpk4"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"eGZYfap4Glehl"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"SR4RvbFssGt6v"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"content"}}]},"finish_reason":null}],"usage":null,"obfuscation":"8VC6kgcedFv"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"content"}}]},"finish_reason":null}],"usage":null,"obfuscation":"CKTzavdT51I"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"KL0iqCYd25kKZ"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"hrlsaNdLJStiL"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"qZfrOFIyfdDrJ"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"bbG5D40xkjGzC"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"name"}}]},"finish_reason":null}],"usage":null,"obfuscation":"2IjZh3lbaBah8A"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"name"}}]},"finish_reason":null}],"usage":null,"obfuscation":"6xs01sCFAaFsEE"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"7hNmVIeq7yfJt"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"vPoDXw09CcVMG"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"7SX1rc58gzKkm"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"aDgRoa2qdkxfN"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"OfQVixPg3Ci1dr"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"test"}}]},"finish_reason":null}],"usage":null,"obfuscation":"5FHcBT5H54l8Xo"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\","}}]},"finish_reason":null}],"usage":null,"obfuscation":"L8VnGFHV50X9F"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\","}}]},"finish_reason":null}],"usage":null,"obfuscation":"otLQ0lrFFPamG"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"oFROYZWobyfQ6"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"xFm2OHbGDqn23"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"version"}}]},"finish_reason":null}],"usage":null,"obfuscation":"A2vIMjGPA6R"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"version"}}]},"finish_reason":null}],"usage":null,"obfuscation":"QqNuqa7dgxM"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ojtddIrjp2RqQ"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\":"}}]},"finish_reason":null}],"usage":null,"obfuscation":"kkjpYf1PtzHrm"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"z7fkK0hyEsc5a"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" \\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"9ejYSfZlGZdhF"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"1"}}]},"finish_reason":null}],"usage":null,"obfuscation":"l"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"1"}}]},"finish_reason":null}],"usage":null,"obfuscation":"a"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"."}}]},"finish_reason":null}],"usage":null,"obfuscation":"v"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"."}}]},"finish_reason":null}],"usage":null,"obfuscation":"t"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"0"}}]},"finish_reason":null}],"usage":null,"obfuscation":"n"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"0"}}]},"finish_reason":null}],"usage":null,"obfuscation":"k"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"."}}]},"finish_reason":null}],"usage":null,"obfuscation":"N"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"."}}]},"finish_reason":null}],"usage":null,"obfuscation":"N"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"0"}}]},"finish_reason":null}],"usage":null,"obfuscation":"T"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"0"}}]},"finish_reason":null}],"usage":null,"obfuscation":"N"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"adfDXpbToEhOLN"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"Ijosuu2Z8ut6Xb"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"1"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"d"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"pSZQV3hu4UbyW8f"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"yYcnkoJuwteOBUL"}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-Cb4ovuwj899SVr2yes7t82oPvZzPB","object":"chat.completion.chunk","created":1762952701,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10316,"completion_tokens":572,"total_tokens":10888,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":512,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Flaq43slNEvbAYr"}
+      data: {"id":"chatcmpl-Cb602q380D5m9kDKtGvHo4y4elm6J","object":"chat.completion.chunk","created":1762957234,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":10316,"completion_tokens":316,"total_tokens":10632,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":256,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"KQnW9avJSNMpCf2"}
 
       data: [DONE]
 
@@ -172,7 +172,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 11.848299584s
+    duration: 7.77187s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -180,7 +180,7 @@ interactions:
     proto_minor: 1
     content_length: 47074
     host: ""

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/bash_tool.yaml 🔗

@@ -24,21 +24,27 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952756-G970sYfAWGww2jvSOc8k","provider":"Novita","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952756-G970sYfAWGww2jvSOc8k","provider":"Novita","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":"Create"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":"Create"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952756-G970sYfAWGww2jvSOc8k","provider":"Novita","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":" test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":" test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952756-G970sYfAWGww2jvSOc8k","provider":"Novita","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":".txt with"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":".txt"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952756-G970sYfAWGww2jvSOc8k","provider":"Novita","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":" hello bash using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":" with"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952756-G970sYfAWGww2jvSOc8k","provider":"Novita","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":" bash"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":" hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952756-G970sYfAWGww2jvSOc8k","provider":"Novita","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":" bash"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952756-G970sYfAWGww2jvSOc8k","provider":"Novita","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":151,"completion_tokens":8,"total_tokens":159,"cost":0.00003465,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002265,"upstream_inference_completions_cost":0.000012},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":" bash"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1762957286-fY0uwN1ZLpXhVvNOM8cJ","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":147,"completion_tokens":9,"total_tokens":156,"cost":0.0000246,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000147,"upstream_inference_completions_cost":0.0000099},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -47,7 +53,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.255033875s
+    duration: 1.088849167s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,61 +77,57 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"functions.bash:0","index":0,"type":"function","function":{"name":"bash","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"{\"command"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"functions.bash:0","type":"function","function":{"name":"bash","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" \""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"{\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"echo"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"command"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" '"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"\":\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"hello"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"echo"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" bash"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" '"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"'"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"hello"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" >"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" bash"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" test"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"'"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":".txt"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" >"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"\","}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" test"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" \""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":".txt"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"description"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"\",\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"description"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" \""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"\":\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"Create"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"Create"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" test"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" test"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":".txt"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":".txt"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" with"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" with"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" hello"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" hello"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" bash"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" bash"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" content"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":" content"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952756-AS7mGpgzvX2WC6EtWvu5","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952756,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10738,"completion_tokens":36,"total_tokens":10774,"cost":0.00601354,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0059059,"upstream_inference_completions_cost":0.00010764},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957286-HQ5AAZ05n66tWT2WVbj4","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10815,"completion_tokens":33,"total_tokens":10848,"cost":0.004392,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.004326,"upstream_inference_completions_cost":0.000066},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -134,15 +136,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.053428542s
+    duration: 4.020760209s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46984
+    content_length: 46981
     host: ""

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/download_tool.yaml 🔗

@@ -24,33 +24,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":"Download"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957296-p2MrYa2dU8oFQUxKsTrw","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957296-p2MrYa2dU8oFQUxKsTrw","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":" save"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957296-p2MrYa2dU8oFQUxKsTrw","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":"Download"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":" example"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957296-p2MrYa2dU8oFQUxKsTrw","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":" and save example.txt"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":".txt"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957296-p2MrYa2dU8oFQUxKsTrw","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":" from provided"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":" from"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957296-p2MrYa2dU8oFQUxKsTrw","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":" URL"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":" example"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957296-p2MrYa2dU8oFQUxKsTrw","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":"-files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":".online"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":"convert"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":".com"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
-
-      data: {"id":"gen-1762952763-l7N0Rc6A5X3aCtGdcxL2","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":150,"completion_tokens":13,"total_tokens":163,"cost":0.000042,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000225,"upstream_inference_completions_cost":0.0000195},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957296-p2MrYa2dU8oFQUxKsTrw","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":150,"completion_tokens":9,"total_tokens":159,"cost":0.0000309,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000021,"upstream_inference_completions_cost":0.0000099},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -59,7 +47,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.247902959s
+    duration: 1.147028416s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -83,95 +71,95 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"download:0","type":"function","function":{"name":"download","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"download:0","type":"function","function":{"name":"download","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"url"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"url"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"https"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"https"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"://"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"://"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-files"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-files"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".online"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".online"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-con"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-con"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"vert"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"vert"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".com"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".com"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/document"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/document"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"txt"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"txt"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".txt"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".txt"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"file"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"file"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_path"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_path"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"tmp"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"tmp"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/c"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/c"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rush"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rush"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/Test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/Test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Coder"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Coder"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Agent"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Agent"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/open"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/open"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"router"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"router"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"imi"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"imi"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/download"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/download"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_tool"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_tool"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".txt"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".txt"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952763-QHmP9TaMxl6a30IPRe2m","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952763,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10583,"completion_tokens":50,"total_tokens":10633,"cost":0.0017516,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016266,"upstream_inference_completions_cost":0.000125},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957296-Q1xYl60atDIKIw9UexST","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957296,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10583,"completion_tokens":50,"total_tokens":10633,"cost":0.0017516,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016266,"upstream_inference_completions_cost":0.000125},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -180,7 +168,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.562571917s
+    duration: 3.4697565s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -226,7 +214,7 @@ interactions:
       - text/plain; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.488300167s
+    duration: 770.1675ms
 - id: 3
   request:
     proto: HTTP/1.1
@@ -250,39 +238,31 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":"Download"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":"ed"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":" successfully"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":" `"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":"Download"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":"example"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":"ed"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":".txt"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":"`"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":" file"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":" saved"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":" it"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":" as"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":"KB"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":" example"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":")."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":".txt"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952769-gud2Hu2xNGH1TPyUqqaZ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952770,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10670,"completion_tokens":15,"total_tokens":10685,"cost":0.0017163,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016788,"upstream_inference_completions_cost":0.0000375},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957304-xAtFbZnOm0YjUef2jILC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957304,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10670,"completion_tokens":11,"total_tokens":10681,"cost":0.0017063,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016788,"upstream_inference_completions_cost":0.0000275},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -291,4 +271,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 3.107709167s
+    duration: 2.915505291s

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/fetch_tool.yaml 🔗

@@ -24,25 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957307-BnltkAdxFFr04AKJkaq4","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":"Check"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957307-BnltkAdxFFr04AKJkaq4","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":"Check"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":" if"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957307-BnltkAdxFFr04AKJkaq4","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":" if example"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":" example"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957307-BnltkAdxFFr04AKJkaq4","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":".html contains John"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":".html"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957307-BnltkAdxFFr04AKJkaq4","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":" Doe"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":" contains"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957307-BnltkAdxFFr04AKJkaq4","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":" John"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":" Doe"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
-
-      data: {"id":"gen-1762952773-df0uqXhgguAdY0QLxcGt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":155,"completion_tokens":8,"total_tokens":163,"cost":0.0000243,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000155,"upstream_inference_completions_cost":0.0000088},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957307-BnltkAdxFFr04AKJkaq4","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":155,"completion_tokens":8,"total_tokens":163,"cost":0.00003525,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002325,"upstream_inference_completions_cost":0.000012},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -51,7 +45,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 570.155042ms
+    duration: 1.967343375s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -75,61 +69,61 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"fetch:0","type":"function","function":{"name":"fetch","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"fetch:0","type":"function","function":{"name":"fetch","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"url"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"url"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"https"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"https"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"://"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"://"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-files"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-files"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".online"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".online"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-con"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-con"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"vert"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"vert"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".com"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".com"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"website"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"website"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/html"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/html"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/example"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".html"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".html"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"format"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"format"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"text"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"text"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952773-78CcxwowPDYBlG75Kn3X","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952773,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10590,"completion_tokens":33,"total_tokens":10623,"cost":0.0017133,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016308,"upstream_inference_completions_cost":0.0000825},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957307-GVlfUkbjZtdmCIeWBYSa","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957307,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10590,"completion_tokens":33,"total_tokens":10623,"cost":0.0017133,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016308,"upstream_inference_completions_cost":0.0000825},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -138,7 +132,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.955263708s
+    duration: 3.81133075s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -209,7 +203,7 @@ interactions:
       - text/html; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 471.080916ms
+    duration: 187.117875ms
 - id: 3
   request:
     proto: HTTP/1.1
@@ -233,39 +227,33 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":"Yes"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" content"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":"Yes"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" contains"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" word"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":" content"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" '"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":" contains"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":"John"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" Doe"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":" words"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":"'"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":" \""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiple"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":"John"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":" times"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":" Doe"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":"\"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952778-KJtCfCCTLmsagUhOmOAC","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952778,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":11190,"completion_tokens":15,"total_tokens":11205,"cost":0.0020283,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0019908,"upstream_inference_completions_cost":0.0000375},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957313-wSm1LfcuXncHLvTkcMfd","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957313,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":11190,"completion_tokens":12,"total_tokens":11202,"cost":0.0020208,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0019908,"upstream_inference_completions_cost":0.00003},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -274,4 +262,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.619722417s
+    duration: 3.691608709s

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/glob_tool.yaml 🔗

@@ -24,21 +24,31 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952781-mMTSd1jrjcHKb8pRynfu","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952781,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952781-mMTSd1jrjcHKb8pRynfu","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952781,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":"Find"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952781-mMTSd1jrjcHKb8pRynfu","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952781,"choices":[{"index":0,"delta":{"role":"assistant","content":"Find"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":" all"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952781-mMTSd1jrjcHKb8pRynfu","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952781,"choices":[{"index":0,"delta":{"role":"assistant","content":" all .go files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":" ."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952781-mMTSd1jrjcHKb8pRynfu","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952781,"choices":[{"index":0,"delta":{"role":"assistant","content":" in current directory using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":"go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952781-mMTSd1jrjcHKb8pRynfu","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952781,"choices":[{"index":0,"delta":{"role":"assistant","content":" glob"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":" files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952781-mMTSd1jrjcHKb8pRynfu","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952781,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952781-mMTSd1jrjcHKb8pRynfu","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952781,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":139,"completion_tokens":11,"total_tokens":150,"cost":0.00003156,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00001946,"upstream_inference_completions_cost":0.0000121},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":" directory"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":" glob"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1762957318-w8QURgdCP1P0Hig9f4Mt","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":139,"completion_tokens":11,"total_tokens":150,"cost":0.000026,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000139,"upstream_inference_completions_cost":0.0000121},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -47,7 +57,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.221102042s
+    duration: 731.358042ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,23 +81,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"glob:0","type":"function","function":{"name":"glob","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"functions.glob:0","index":0,"type":"function","function":{"name":"glob","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"{\"pattern"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"pattern"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" \"*."}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"*."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"go"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952784-G0IsDEsuQcFZXEwZ6Er2","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952785,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10731,"completion_tokens":16,"total_tokens":10747,"cost":0.00594989,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00590205,"upstream_inference_completions_cost":0.00004784},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957318-qFJzJ5hjp9vwT0aqZBtv","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957318,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10573,"completion_tokens":15,"total_tokens":10588,"cost":0.0016581,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016206,"upstream_inference_completions_cost":0.0000375},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -96,15 +108,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 5.764926208s
+    duration: 4.109273917s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46917
+    content_length: 46897
     host: ""

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/grep_tool.yaml 🔗

@@ -24,17 +24,27 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952791-vWx8MApYcLMze1CuHyqr","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952791,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952791-vWx8MApYcLMze1CuHyqr","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952791,"choices":[{"index":0,"delta":{"role":"assistant","content":"Search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":"Search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952791-vWx8MApYcLMze1CuHyqr","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952791,"choices":[{"index":0,"delta":{"role":"assistant","content":" for package in Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":" for"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952791-vWx8MApYcLMze1CuHyqr","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952791,"choices":[{"index":0,"delta":{"role":"assistant","content":" files using grep"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":" package"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952791-vWx8MApYcLMze1CuHyqr","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952791,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952791-vWx8MApYcLMze1CuHyqr","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952791,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":140,"completion_tokens":9,"total_tokens":149,"cost":0.0000318,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000021,"upstream_inference_completions_cost":0.0000108},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":" Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":" files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":" grep"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1762957324-lwpBzomLmdYLsSuXsfMs","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":140,"completion_tokens":9,"total_tokens":149,"cost":0.0000239,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000014,"upstream_inference_completions_cost":0.0000099},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -43,7 +53,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.165486583s
+    duration: 945.153041ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -67,37 +77,37 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"grep:0","type":"function","function":{"name":"grep","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"grep:0","type":"function","function":{"name":"grep","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"pattern"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"pattern"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"package"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"package"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"include"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"include"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"*."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"*."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952791-sCOIOgMbTk1N2zQwcLNl","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952792,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10574,"completion_tokens":22,"total_tokens":10596,"cost":0.0016762,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016212,"upstream_inference_completions_cost":0.000055},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957324-TIThAg5dP9DcOMFwJnSH","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957324,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10574,"completion_tokens":22,"total_tokens":10596,"cost":0.0016762,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016212,"upstream_inference_completions_cost":0.000055},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -106,7 +116,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 3.212060292s
+    duration: 3.295313417s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -130,25 +140,51 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"/tmp"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"/c"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"rush"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"-test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"/Test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"Coder"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"Agent"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"/open"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"router"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"-k"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"imi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"-k"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":"Found"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"/g"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"rep"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":"1"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"_tool"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":" match"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"/main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":"1"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952795-E0KiQZhTnD7f6ttdv012","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952795,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10649,"completion_tokens":8,"total_tokens":10657,"cost":0.0016862,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016662,"upstream_inference_completions_cost":0.00002},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957328-gHzPVKyPGubxN1FtfWtV","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957328,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10649,"completion_tokens":21,"total_tokens":10670,"cost":0.0017187,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016662,"upstream_inference_completions_cost":0.0000525},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -157,4 +193,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.426441083s
+    duration: 3.234592833s

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/ls_tool.yaml 🔗

@@ -24,23 +24,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":"List"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":" files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":"List"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":" files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":" directory"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":" directory"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":" ls"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":" ls"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952798-0HKypatpe0onZJwFQcFN","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":137,"completion_tokens":8,"total_tokens":145,"cost":0.00003255,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002055,"upstream_inference_completions_cost":0.000012},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1762957332-bRdTTZTKkH7ZWKU4n1gV","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":137,"completion_tokens":8,"total_tokens":145,"cost":0.0000225,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000137,"upstream_inference_completions_cost":0.0000088},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -49,7 +51,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.271063958s
+    duration: 682.022875ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,55 +75,15 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"ls:0","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"path"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"tmp"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/c"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rush"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/Test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Coder"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Agent"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/open"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"router"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"imi"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"ls"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957332-iqYE4joVAtRu777osXAx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_tool"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957332-iqYE4joVAtRu777osXAx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"ls:0","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957332-iqYE4joVAtRu777osXAx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957332-iqYE4joVAtRu777osXAx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952798-nPIR64QNybfagXDQjKzP","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952798,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10571,"completion_tokens":31,"total_tokens":10602,"cost":0.0016969,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016194,"upstream_inference_completions_cost":0.0000775},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957332-iqYE4joVAtRu777osXAx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957332,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10571,"completion_tokens":11,"total_tokens":10582,"cost":0.0016469,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016194,"upstream_inference_completions_cost":0.0000275},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -130,15 +92,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 3.303817708s
+    duration: 2.9332775s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46955
+    content_length: 46884
     host: ""

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/multiedit_tool.yaml 🔗

@@ -24,21 +24,37 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952807-fq7BtYLyidnFaLn4bA2q","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952807-fq7BtYLyidnFaLn4bA2q","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":"Use"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":"Use"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952807-fq7BtYLyidnFaLn4bA2q","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiedit to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" mult"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952807-fq7BtYLyidnFaLn4bA2q","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" update greeting"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":"ied"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952807-fq7BtYLyidnFaLn4bA2q","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" and add comment in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":"it"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952807-fq7BtYLyidnFaLn4bA2q","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" main.go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952807-fq7BtYLyidnFaLn4bA2q","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" update"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952807-fq7BtYLyidnFaLn4bA2q","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":160,"completion_tokens":14,"total_tokens":174,"cost":0.0000408,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000024,"upstream_inference_completions_cost":0.0000168},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" greeting"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" add"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" comment"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1762957338-FgOyr1ruwRtAaOzAxt6R","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":160,"completion_tokens":14,"total_tokens":174,"cost":0.0000314,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000016,"upstream_inference_completions_cost":0.0000154},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -47,7 +63,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 937.785167ms
+    duration: 549.868583ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,117 +87,115 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
-
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":"I"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" need"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" help"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" first"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" see"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" make"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" those"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" changes"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" content"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" of"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" mult"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":"ied"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":"it"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" understand"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" First"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" exact"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" let"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" formatting"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" me"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" check"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" then"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" if"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" use"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" mult"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":"ied"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" exists"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":"it"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" see"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" make"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" its"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" both"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":" changes"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":" contents"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"view:0","type":"function","function":{"name":"view","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"view:0","type":"function","function":{"name":"view","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"file"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"file"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_path"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_path"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"tmp"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"tmp"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/c"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/c"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rush"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rush"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/Test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/Test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Coder"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Coder"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Agent"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Agent"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/open"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/open"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"router"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"router"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"imi"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"imi"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/mult"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/mult"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"ied"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"ied"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"it"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"it"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_tool"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_tool"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/main"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/main"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952807-0HHssIb1ADhlaxKShMZ8","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952807,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10595,"completion_tokens":61,"total_tokens":10656,"cost":0.0017863,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016338,"upstream_inference_completions_cost":0.0001525},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957338-lqlLaKdl878kheXxFSBy","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957338,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10595,"completion_tokens":60,"total_tokens":10655,"cost":0.0017838,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016338,"upstream_inference_completions_cost":0.00015},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -190,15 +204,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.578115s
+    duration: 2.90730775s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 47270
+    content_length: 47260
     host: ""

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/parallel_tool_calls.yaml 🔗

@@ -24,29 +24,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957393-FfqTiXkhKOtwXGnhlmtO","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":"Find"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957393-FfqTiXkhKOtwXGnhlmtO","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":"Find"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":" ."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957393-FfqTiXkhKOtwXGnhlmtO","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":" .go files and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":"go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957393-FfqTiXkhKOtwXGnhlmtO","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":" list directory"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":" files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957393-FfqTiXkhKOtwXGnhlmtO","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957393-FfqTiXkhKOtwXGnhlmtO","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":" parallel"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":" list"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957393-FfqTiXkhKOtwXGnhlmtO","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":" directory"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":" parallel"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
-
-      data: {"id":"gen-1762952839-m6NbRQT4oIDPjkIzPOmc","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":156,"completion_tokens":10,"total_tokens":166,"cost":0.0000266,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000156,"upstream_inference_completions_cost":0.000011},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957393-FfqTiXkhKOtwXGnhlmtO","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":156,"completion_tokens":10,"total_tokens":166,"cost":0.0000498,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000468,"upstream_inference_completions_cost":0.000003},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -55,7 +47,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 766.340583ms
+    duration: 2.1057445s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -79,29 +71,31 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"glob:0","type":"function","function":{"name":"glob","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"glob:0","type":"function","function":{"name":"glob","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"pattern"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"pattern"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"*."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"**"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/*."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"ls:1","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"{}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"ls:1","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"{}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952839-tDK99FOI86KMmdKPeaW6","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952839,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10591,"completion_tokens":24,"total_tokens":10615,"cost":0.0016914,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016314,"upstream_inference_completions_cost":0.00006},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957393-4MP6Mzqv4pFA8juznok1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957393,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10591,"completion_tokens":25,"total_tokens":10616,"cost":0.0016939,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016314,"upstream_inference_completions_cost":0.0000625},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -110,15 +104,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.9883265s
+    duration: 4.42803125s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 47222
+    content_length: 47225
     host: ""

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/simple_test.yaml 🔗

@@ -24,13 +24,11 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952737-QVchj1B4adm8WkBAw47i","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952737,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957254-rulp5SnGXRm8mMy6W4LV","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957255,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952737-QVchj1B4adm8WkBAw47i","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952737,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957254-rulp5SnGXRm8mMy6W4LV","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957255,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1762952737-QVchj1B4adm8WkBAw47i","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952737,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
-
-      data: {"id":"gen-1762952737-QVchj1B4adm8WkBAw47i","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952737,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":128,"completion_tokens":2,"total_tokens":130,"cost":0.000015,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000128,"upstream_inference_completions_cost":0.0000022},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957254-rulp5SnGXRm8mMy6W4LV","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957255,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":128,"completion_tokens":2,"total_tokens":130,"cost":0.0000222,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000192,"upstream_inference_completions_cost":0.000003},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -39,7 +37,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.94721775s
+    duration: 3.700683541s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -63,13 +61,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952737-rpaKJGXhAaz7CqBn1ZmK","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952737,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957254-cAAHYMHBv6gitSSnCZBj","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957254,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952737-rpaKJGXhAaz7CqBn1ZmK","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952737,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957254-cAAHYMHBv6gitSSnCZBj","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957254,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952737-rpaKJGXhAaz7CqBn1ZmK","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952737,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1762957254-cAAHYMHBv6gitSSnCZBj","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957254,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":""}
 
-      data: {"id":"gen-1762952737-rpaKJGXhAaz7CqBn1ZmK","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952737,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10719,"completion_tokens":2,"total_tokens":10721,"cost":0.00590143,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00589545,"upstream_inference_completions_cost":0.00000598},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957254-cAAHYMHBv6gitSSnCZBj","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957254,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10796,"completion_tokens":1,"total_tokens":10797,"cost":0.0043204,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0043184,"upstream_inference_completions_cost":0.000002},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -78,4 +76,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.621919458s
+    duration: 9.729891041s

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/sourcegraph_tool.yaml 🔗

@@ -24,31 +24,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":"Search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":" for"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":"Search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":" func"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":" for func"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":" main in Go repositories"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":" using Source"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":" Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":"graph"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":" repositories"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":" Source"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":"graph"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
-
-      data: {"id":"gen-1762952822-Pt9eixNOFrXHZCVvuYY9","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952822,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":140,"completion_tokens":11,"total_tokens":151,"cost":0.0000261,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000014,"upstream_inference_completions_cost":0.0000121},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957371-gpTkmtQ2PhWuIBi4bYSj","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":140,"completion_tokens":11,"total_tokens":151,"cost":0.0000317,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000196,"upstream_inference_completions_cost":0.0000121},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -57,7 +49,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 591.677584ms
+    duration: 804.581209ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -81,33 +73,37 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"sourcegraph:0","type":"function","function":{"name":"sourcegraph","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"sourcegraph:0","type":"function","function":{"name":"sourcegraph","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"query"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"query"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"func"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"lang"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" main"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" lang"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"func"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" main"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\"\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952822-CniagHMJJdoqgUjwRWvX","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952823,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10574,"completion_tokens":20,"total_tokens":10594,"cost":0.0016712,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016212,"upstream_inference_completions_cost":0.00005},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957371-NfDYAsDQmOA3I2nnVjO0","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957371,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10574,"completion_tokens":22,"total_tokens":10596,"cost":0.0016762,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016212,"upstream_inference_completions_cost":0.000055},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -116,15 +112,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.99726575s
+    duration: 3.67244925s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 424
+    content_length: 428
     host: sourcegraph.com
-    body: '{"query":"query Search($query: String!) { search(query: $query, version: V2, patternType: keyword ) { results { matchCount, limitHit, resultCount, approximateResultCount, missing { name }, timedout { name }, indexUnavailable, results { __typename, ... on FileMatch { repository { name }, file { path, url, content }, lineMatches { preview, lineNumber, offsetAndLengths } } } } } }","variables":{"query":"func main lang:go"}}'
+    body: '{"query":"query Search($query: String!) { search(query: $query, version: V2, patternType: keyword ) { results { matchCount, limitHit, resultCount, approximateResultCount, missing { name }, timedout { name }, indexUnavailable, results { __typename, ... on FileMatch { repository { name }, file { path, url, content }, lineMatches { preview, lineNumber, offsetAndLengths } } } } } }","variables":{"query":"lang:go \"func main\""}}'
     headers:
       Content-Type:
       - application/json
@@ -138,21 +134,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     uncompressed: true

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/update_a_file.yaml 🔗

@@ -24,19 +24,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952746-tyFcxRlSHGZc1LuKHwHL","provider":"SiliconFlow","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":"Update"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952746-tyFcxRlSHGZc1LuKHwHL","provider":"SiliconFlow","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":"Update"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952746-tyFcxRlSHGZc1LuKHwHL","provider":"SiliconFlow","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":" main.go to print"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952746-tyFcxRlSHGZc1LuKHwHL","provider":"SiliconFlow","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":" hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952746-tyFcxRlSHGZc1LuKHwHL","provider":"SiliconFlow","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":" from crush"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":" print"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952746-tyFcxRlSHGZc1LuKHwHL","provider":"SiliconFlow","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":" hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952746-tyFcxRlSHGZc1LuKHwHL","provider":"SiliconFlow","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":141,"completion_tokens":9,"total_tokens":150,"cost":0.00003234,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00001974,"upstream_inference_completions_cost":0.0000126},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":" from"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":" crush"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1762957274-c6YGj6ftI4LIa1d1ipuo","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":141,"completion_tokens":9,"total_tokens":150,"cost":0.00003465,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002115,"upstream_inference_completions_cost":0.0000135},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -45,7 +51,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.858914792s
+    duration: 1.088534542s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,59 +75,61 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
+
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"view:0","type":"function","function":{"name":"view","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"functions.view:0","index":0,"type":"function","function":{"name":"view","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"{\"file"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"file"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"_path"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_path"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" \"/"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"tmp"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"tmp"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"/c"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/c"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"rush"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rush"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"-test"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"/Test"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/Test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"Coder"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Coder"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"Agent"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Agent"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"/open"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/open"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"router"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"router"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"-k"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"imi"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"imi"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"-k"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"2"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"/update"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/update"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"_a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_a"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"_file"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_file"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"/main"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/main"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":".go"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".go"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_05e10eef"}
 
-      data: {"id":"gen-1762952746-rRhLDpg6UJmSFtYG5UVY","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952746,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":11033,"completion_tokens":34,"total_tokens":11067,"cost":0.011135,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.011033,"upstream_inference_completions_cost":0.000102},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957274-KTWP6etsnwadf1oIBEER","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957274,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10575,"completion_tokens":33,"total_tokens":10608,"cost":0.01242525,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.01216125,"upstream_inference_completions_cost":0.000264},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -130,15 +138,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.617999167s
+    duration: 3.953871042s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 47089
+    content_length: 47069
     host: ""

internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/write_tool.yaml 🔗

@@ -24,25 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":"Create"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957380-Sid0LoA2pEQNsn0VpgvL","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":" config"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957380-Sid0LoA2pEQNsn0VpgvL","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":"Create"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":".json"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957380-Sid0LoA2pEQNsn0VpgvL","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":" config.json with name"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":" with"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957380-Sid0LoA2pEQNsn0VpgvL","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":" and version details"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":" name"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1762957380-Sid0LoA2pEQNsn0VpgvL","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":" version"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":" details"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
-
-      data: {"id":"gen-1762952832-5Vr49szEedIJ076GP3qj","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762952832,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":155,"completion_tokens":9,"total_tokens":164,"cost":0.00003675,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002325,"upstream_inference_completions_cost":0.0000135},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957380-Sid0LoA2pEQNsn0VpgvL","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":155,"completion_tokens":9,"total_tokens":164,"cost":0.00003405,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002325,"upstream_inference_completions_cost":0.0000108},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -51,7 +43,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.303337292s
+    duration: 1.085934792s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -75,101 +67,101 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"write:0","type":"function","function":{"name":"write","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"write:0","type":"function","function":{"name":"write","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"file"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"file"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_path"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_path"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"/"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"tmp"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"tmp"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/c"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/c"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rush"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rush"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/Test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/Test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Coder"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Coder"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Agent"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Agent"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/open"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/open"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"router"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"router"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"imi"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"imi"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"-k"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/write"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/write"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_tool"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"_tool"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/config"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/config"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".json"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".json"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"content"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"content"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"{\\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \"{\\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"name"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"name"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"test"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"version"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"version"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" \\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"1"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"1"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"0"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"0"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"."},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"0"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"0"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"\\\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"}\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"}\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952832-TnZe5KiDuy4q8bOOC6Z1","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952833,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10589,"completion_tokens":53,"total_tokens":10642,"cost":0.0017627,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016302,"upstream_inference_completions_cost":0.0001325},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957380-HzsvkmRJAyJTQoQsdhEB","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957380,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10589,"completion_tokens":53,"total_tokens":10642,"cost":0.0017627,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016302,"upstream_inference_completions_cost":0.0001325},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -178,7 +170,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.592184084s
+    duration: 3.0445035s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -202,13 +194,101 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1762952837-xQPYmX8hAgfmcpjAaWUY","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952837,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"Done"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" File"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" created"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" at"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" `/"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"tmp"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"/c"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"rush"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"-test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"/Test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"Coder"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"Agent"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"/open"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"router"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"-k"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"imi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"-k"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"/write"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"_tool"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"/config"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":".json"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"`"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" with"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" content"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" `"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"{\""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"name"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"\":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" \""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"\","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" \""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"version"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"\":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":" \""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"1"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"0"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"0"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"\"}"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952837-xQPYmX8hAgfmcpjAaWUY","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952837,"choices":[{"index":0,"delta":{"role":"assistant","content":"Done"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":"`."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952837-xQPYmX8hAgfmcpjAaWUY","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952837,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_c5b3ab0e"}
 
-      data: {"id":"gen-1762952837-xQPYmX8hAgfmcpjAaWUY","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762952837,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10687,"completion_tokens":2,"total_tokens":10689,"cost":0.001694,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001689,"upstream_inference_completions_cost":0.000005},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1762957386-TL35R9eVxDEnRuQjbICJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1762957386,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10687,"completion_tokens":46,"total_tokens":10733,"cost":0.001804,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001689,"upstream_inference_completions_cost":0.000115},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -217,4 +297,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.85077925s
+    duration: 4.113564667s

internal/agent/testdata/TestCoderAgent/zai-glm4.6/bash_tool.yaml 🔗

@@ -24,19 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202511122107564621005e145241a0","created":1762952876,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"2025111222240539875ad457374ea6","created":1762957445,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202511122107564621005e145241a0","created":1762952876,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Create"}}]}
+      data: {"id":"2025111222240539875ad457374ea6","created":1762957445,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Create"}}]}
 
-      data: {"id":"202511122107564621005e145241a0","created":1762952876,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
+      data: {"id":"2025111222240539875ad457374ea6","created":1762957445,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"202511122107564621005e145241a0","created":1762952876,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
+      data: {"id":"2025111222240539875ad457374ea6","created":1762957445,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
 
-      data: {"id":"202511122107564621005e145241a0","created":1762952876,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" bash"}}]}
+      data: {"id":"2025111222240539875ad457374ea6","created":1762957445,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" bash"}}]}
 
-      data: {"id":"202511122107564621005e145241a0","created":1762952876,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" content"}}]}
+      data: {"id":"2025111222240539875ad457374ea6","created":1762957445,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" content"}}]}
 
-      data: {"id":"202511122107564621005e145241a0","created":1762952876,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":140,"completion_tokens":9,"total_tokens":149,"prompt_tokens_details":{"cached_tokens":114}}}
+      data: {"id":"2025111222240539875ad457374ea6","created":1762957445,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":140,"completion_tokens":9,"total_tokens":149,"prompt_tokens_details":{"cached_tokens":114}}}
 
       data: [DONE]
 
@@ -45,7 +45,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.0990055s
+    duration: 1.126810583s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,13 +69,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025111221075639ee76d4b6d74c20","created":1762952876,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222405d9f3b769e29f49d6","created":1762957445,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"2025111221075639ee76d4b6d74c20","created":1762952876,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251112222405d9f3b769e29f49d6","created":1762957445,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025111221075639ee76d4b6d74c20","created":1762952876,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_50333be3e330419da908ec72","index":0,"type":"function","function":{"name":"bash","arguments":"{\"command\":\"echo 'hello bash' > test.txt\",\"description\":\"Create test.txt with hello bash content\"}"}}]}}]}
+      data: {"id":"20251112222405d9f3b769e29f49d6","created":1762957445,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_073960f48bdd40d2aa0e30a0","index":0,"type":"function","function":{"name":"bash","arguments":"{\"command\":\"echo 'hello bash' > test.txt\",\"description\":\"Create test.txt with content 'hello bash'\"}"}}]}}]}
 
-      data: {"id":"2025111221075639ee76d4b6d74c20","created":1762952876,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11171,"completion_tokens":38,"total_tokens":11209,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"20251112222405d9f3b769e29f49d6","created":1762957445,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11171,"completion_tokens":40,"total_tokens":11211,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -84,15 +84,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.551674958s
+    duration: 1.740299375s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46899
+    content_length: 46926
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/download_tool.yaml 🔗

@@ -24,21 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112210800837fe99cd5dd4568","created":1762952880,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202511122224123a697a2d42f44e21","created":1762957452,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112210800837fe99cd5dd4568","created":1762952880,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Download"}}]}
+      data: {"id":"202511122224123a697a2d42f44e21","created":1762957452,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Download"}}]}
 
-      data: {"id":"20251112210800837fe99cd5dd4568","created":1762952880,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]}
+      data: {"id":"202511122224123a697a2d42f44e21","created":1762957452,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" example"}}]}
 
-      data: {"id":"20251112210800837fe99cd5dd4568","created":1762952880,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" save"}}]}
+      data: {"id":"202511122224123a697a2d42f44e21","created":1762957452,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".txt"}}]}
 
-      data: {"id":"20251112210800837fe99cd5dd4568","created":1762952880,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" example"}}]}
+      data: {"id":"202511122224123a697a2d42f44e21","created":1762957452,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" from"}}]}
 
-      data: {"id":"20251112210800837fe99cd5dd4568","created":1762952880,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".txt"}}]}
+      data: {"id":"202511122224123a697a2d42f44e21","created":1762957452,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" URL"}}]}
 
-      data: {"id":"20251112210800837fe99cd5dd4568","created":1762952880,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
-
-      data: {"id":"20251112210800837fe99cd5dd4568","created":1762952880,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":143,"completion_tokens":10,"total_tokens":153,"prompt_tokens_details":{"cached_tokens":4}}}
+      data: {"id":"202511122224123a697a2d42f44e21","created":1762957452,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":143,"completion_tokens":9,"total_tokens":152,"prompt_tokens_details":{"cached_tokens":4}}}
 
       data: [DONE]
 
@@ -47,7 +45,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.072020708s
+    duration: 1.038125583s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,13 +69,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202511122108002b107bf1f269407d","created":1762952880,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"2025111222241209c70e5cbef54fd9","created":1762957452,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"202511122108002b107bf1f269407d","created":1762952880,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"2025111222241209c70e5cbef54fd9","created":1762957452,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202511122108002b107bf1f269407d","created":1762952880,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_7fb10a746f4c49358b0cf651","index":0,"type":"function","function":{"name":"download","arguments":"{\"file_path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/download_tool/example.txt\",\"url\":\"https://example-files.online-convert.com/document/txt/example.txt\"}"}}]}}]}
+      data: {"id":"2025111222241209c70e5cbef54fd9","created":1762957452,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_fdf99d8719134bed873c770f","index":0,"type":"function","function":{"name":"download","arguments":"{\"file_path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/download_tool/example.txt\",\"url\":\"https://example-files.online-convert.com/document/txt/example.txt\"}"}}]}}]}
 
-      data: {"id":"202511122108002b107bf1f269407d","created":1762952880,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11174,"completion_tokens":55,"total_tokens":11229,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"2025111222241209c70e5cbef54fd9","created":1762957452,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11174,"completion_tokens":55,"total_tokens":11229,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -86,7 +84,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.526611667s
+    duration: 1.556833208s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -132,15 +130,15 @@ interactions:
       - text/plain; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 756.883792ms
+    duration: 1.503196542s
 - id: 3
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 47069
+    content_length: 47094
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/fetch_tool.yaml 🔗

@@ -24,19 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112210807b31ea2c081214679","created":1762952887,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202511122224175ce661a57ea44bbf","created":1762957457,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112210807b31ea2c081214679","created":1762952887,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Check"}}]}
+      data: {"id":"202511122224175ce661a57ea44bbf","created":1762957457,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Check"}}]}
 
-      data: {"id":"20251112210807b31ea2c081214679","created":1762952887,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" webpage"}}]}
+      data: {"id":"202511122224175ce661a57ea44bbf","created":1762957457,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" HTML"}}]}
 
-      data: {"id":"20251112210807b31ea2c081214679","created":1762952887,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]}
+      data: {"id":"202511122224175ce661a57ea44bbf","created":1762957457,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]}
 
-      data: {"id":"20251112210807b31ea2c081214679","created":1762952887,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" John"}}]}
+      data: {"id":"202511122224175ce661a57ea44bbf","created":1762957457,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" John"}}]}
 
-      data: {"id":"20251112210807b31ea2c081214679","created":1762952887,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Doe"}}]}
+      data: {"id":"202511122224175ce661a57ea44bbf","created":1762957457,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Doe"}}]}
 
-      data: {"id":"20251112210807b31ea2c081214679","created":1762952887,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":148,"completion_tokens":9,"total_tokens":157,"prompt_tokens_details":{"cached_tokens":4}}}
+      data: {"id":"202511122224175ce661a57ea44bbf","created":1762957457,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":148,"completion_tokens":9,"total_tokens":157,"prompt_tokens_details":{"cached_tokens":114}}}
 
       data: [DONE]
 
@@ -45,7 +45,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.088814708s
+    duration: 1.180352834s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,167 +69,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222418ec6300d03d3043b2","created":1762957458,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+      data: {"id":"20251112222418ec6300d03d3043b2","created":1762957458,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+      data: {"id":"20251112222418ec6300d03d3043b2","created":1762957458,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_03e5657bbae34b5a8469c886","index":0,"type":"function","function":{"name":"fetch","arguments":"{\"format\":\"text\",\"url\":\"https://example-files.online-convert.com/website/html/example.html\"}"}}]}}]}
 
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Fetch"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specific"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" URL"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" https"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"://"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"example"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-files"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".online"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"convert"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".com"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"website"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/html"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/example"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".html"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Check"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" if"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" contains"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" word"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"John"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Doe"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'\n\n"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"I"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" `"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"fetch"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"`"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" get"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" URL"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" then"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" examine"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" see"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" if"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" contains"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"John"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Doe"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'."}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Let"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" do"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" one"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" go"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_fb6eefcc2a914bcfbea04387","index":0,"type":"function","function":{"name":"fetch","arguments":"{\"format\":\"text\",\"url\":\"https://example-files.online-convert.com/website/html/example.html\"}"}}]}}]}
-
-      data: {"id":"20251112210807985f7bb08aee409d","created":1762952887,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11181,"completion_tokens":114,"total_tokens":11295,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"20251112222418ec6300d03d3043b2","created":1762957458,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11181,"completion_tokens":37,"total_tokens":11218,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -238,7 +84,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 3.248280625s
+    duration: 1.639823042s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -309,15 +155,15 @@ interactions:
       - text/html; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 498.631333ms
+    duration: 510.163333ms
 - id: 3
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 49433
+    content_length: 49458
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/glob_tool.yaml 🔗

@@ -24,19 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112210816030b88af5c3440b2","created":1762952896,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251112222423fd076dc057e141dd","created":1762957463,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112210816030b88af5c3440b2","created":1762952896,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Find"}}]}
+      data: {"id":"20251112222423fd076dc057e141dd","created":1762957463,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Find"}}]}
 
-      data: {"id":"20251112210816030b88af5c3440b2","created":1762952896,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Go"}}]}
+      data: {"id":"20251112222423fd076dc057e141dd","created":1762957463,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Go"}}]}
 
-      data: {"id":"20251112210816030b88af5c3440b2","created":1762952896,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Files"}}]}
+      data: {"id":"20251112222423fd076dc057e141dd","created":1762957463,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Files"}}]}
 
-      data: {"id":"20251112210816030b88af5c3440b2","created":1762952896,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
+      data: {"id":"20251112222423fd076dc057e141dd","created":1762957463,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
 
-      data: {"id":"20251112210816030b88af5c3440b2","created":1762952896,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Glob"}}]}
+      data: {"id":"20251112222423fd076dc057e141dd","created":1762957463,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Glob"}}]}
 
-      data: {"id":"20251112210816030b88af5c3440b2","created":1762952896,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":132,"completion_tokens":9,"total_tokens":141,"prompt_tokens_details":{"cached_tokens":4}}}
+      data: {"id":"20251112222423fd076dc057e141dd","created":1762957463,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":132,"completion_tokens":9,"total_tokens":141,"prompt_tokens_details":{"cached_tokens":5}}}
 
       data: [DONE]
 
@@ -45,7 +45,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.167107917s
+    duration: 1.232556292s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,13 +69,133 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202511122108205e5db1237d8245f2","created":1762952900,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"202511122108205e5db1237d8245f2","created":1762952900,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
 
-      data: {"id":"202511122108205e5db1237d8245f2","created":1762952900,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_75d6e84adf0f467f8b53d785","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"*.go\"}"}}]}}]}
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
 
-      data: {"id":"202511122108205e5db1237d8245f2","created":1762952900,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11164,"completion_tokens":18,"total_tokens":11182,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" glob"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" all"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ."}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" glob"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" pattern"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \"*."}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Go"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" already"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" set"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" environment"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" so"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" don"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'t"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specify"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_7d395cfc8e6041cfab1e3ec1","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"*.go\"}"}}]}}]}
+
+      data: {"id":"20251112222423ac958ba6ff894129","created":1762957463,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11164,"completion_tokens":78,"total_tokens":11242,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -84,15 +204,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 5.308754458s
+    duration: 1.525390041s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46826
+    content_length: 47121
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/grep_tool.yaml 🔗

@@ -24,15 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112210823c2d36081de8748a7","created":1762952904,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"202511122224283fc286c2ceaf4956","created":1762957468,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112210823c2d36081de8748a7","created":1762952904,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Search"}}]}
+      data: {"id":"202511122224283fc286c2ceaf4956","created":1762957468,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"grep"}}]}
 
-      data: {"id":"20251112210823c2d36081de8748a7","created":1762952904,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" package in"}}]}
+      data: {"id":"202511122224283fc286c2ceaf4956","created":1762957468,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" package"}}]}
 
-      data: {"id":"20251112210823c2d36081de8748a7","created":1762952904,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Go files"}}]}
+      data: {"id":"202511122224283fc286c2ceaf4956","created":1762957468,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" *."}}]}
 
-      data: {"id":"20251112210823c2d36081de8748a7","created":1762952904,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":133,"completion_tokens":9,"total_tokens":142,"prompt_tokens_details":{"cached_tokens":115}}}
+      data: {"id":"202511122224283fc286c2ceaf4956","created":1762957468,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"go"}}]}
+
+      data: {"id":"202511122224283fc286c2ceaf4956","created":1762957468,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":133,"completion_tokens":8,"total_tokens":141,"prompt_tokens_details":{"cached_tokens":115}}}
 
       data: [DONE]
 
@@ -41,7 +43,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.47833s
+    duration: 1.481842709s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -65,13 +67,253 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202511122108246ab9ee2fe9db44fd","created":1762952904,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" grep"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" search"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" word"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"package"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Go"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Use"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" grep"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Search"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" pattern"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"package"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Limit"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Go"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" using"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" include"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" check"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" grep"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameters"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" pattern"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"package"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"the"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" text"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" search"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" include"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '*."}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" limit"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Go"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" optional"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" defaults"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" literal"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"_text"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" set"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" true"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" since"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"package"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'"}}]}
 
-      data: {"id":"202511122108246ab9ee2fe9db44fd","created":1762952904,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
 
-      data: {"id":"202511122108246ab9ee2fe9db44fd","created":1762952904,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_9cf3843eda404ede98376e3c","index":0,"type":"function","function":{"name":"grep","arguments":"{\"include\":\"*.go\",\"literal_text\":true,\"pattern\":\"package\"}"}}]}}]}
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
 
-      data: {"id":"202511122108246ab9ee2fe9db44fd","created":1762952904,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11165,"completion_tokens":35,"total_tokens":11200,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" literal"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" word"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" not"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" regex"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" pattern"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_01f4a95cc49e4dd2889803d4","index":0,"type":"function","function":{"name":"grep","arguments":"{\"pattern\":\"package\",\"include\":\"*.go\",\"literal_text\":true}"}}]}}]}
+
+      data: {"id":"2025111222242965118aecb89744c4","created":1762957469,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11165,"completion_tokens":155,"total_tokens":11320,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -80,15 +322,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.986901667s
+    duration: 6.485207291s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46922
+    content_length: 47442
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/ls_tool.yaml 🔗

@@ -24,19 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202511122108287e8409854bed4a35","created":1762952908,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"2025111222244162c3ebaab7fa4c81","created":1762957481,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202511122108287e8409854bed4a35","created":1762952908,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"List"}}]}
+      data: {"id":"2025111222244162c3ebaab7fa4c81","created":1762957481,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"List"}}]}
 
-      data: {"id":"202511122108287e8409854bed4a35","created":1762952908,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" files"}}]}
+      data: {"id":"2025111222244162c3ebaab7fa4c81","created":1762957481,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Files"}}]}
 
-      data: {"id":"202511122108287e8409854bed4a35","created":1762952908,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
+      data: {"id":"2025111222244162c3ebaab7fa4c81","created":1762957481,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
 
-      data: {"id":"202511122108287e8409854bed4a35","created":1762952908,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" ls"}}]}
+      data: {"id":"2025111222244162c3ebaab7fa4c81","created":1762957481,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" ls"}}]}
 
-      data: {"id":"202511122108287e8409854bed4a35","created":1762952908,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" command"}}]}
-
-      data: {"id":"202511122108287e8409854bed4a35","created":1762952908,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":130,"completion_tokens":9,"total_tokens":139,"prompt_tokens_details":{"cached_tokens":4}}}
+      data: {"id":"2025111222244162c3ebaab7fa4c81","created":1762957481,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":130,"completion_tokens":8,"total_tokens":138,"prompt_tokens_details":{"cached_tokens":115}}}
 
       data: [DONE]
 
@@ -45,7 +43,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.348604s
+    duration: 1.192456791s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,13 +67,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202511122108299e8d09e0db464fe8","created":1762952909,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"2025111222244123cc6ff55f8b4154","created":1762957481,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"202511122108299e8d09e0db464fe8","created":1762952909,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"2025111222244123cc6ff55f8b4154","created":1762957481,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202511122108299e8d09e0db464fe8","created":1762952909,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_6954464985bb455a8b692dcf","index":0,"type":"function","function":{"name":"ls","arguments":"{\"path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/ls_tool\"}"}}]}}]}
+      data: {"id":"2025111222244123cc6ff55f8b4154","created":1762957481,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_e8f3eccfb14845d3a94bd285","index":0,"type":"function","function":{"name":"ls","arguments":"{\"path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/ls_tool\"}"}}]}}]}
 
-      data: {"id":"202511122108299e8d09e0db464fe8","created":1762952909,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11162,"completion_tokens":33,"total_tokens":11195,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"2025111222244123cc6ff55f8b4154","created":1762957481,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11162,"completion_tokens":33,"total_tokens":11195,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -84,15 +82,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.627097333s
+    duration: 1.53524325s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46880
+    content_length: 46905
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/multiedit_tool.yaml 🔗

@@ -24,21 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025111221083306a0050f99fb4a9e","created":1762952913,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"2025111222244786e99bb63e034417","created":1762957487,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025111221083306a0050f99fb4a9e","created":1762952913,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Mult"}}]}
+      data: {"id":"2025111222244786e99bb63e034417","created":1762957487,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Mult"}}]}
 
-      data: {"id":"2025111221083306a0050f99fb4a9e","created":1762952913,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"ied"}}]}
+      data: {"id":"2025111222244786e99bb63e034417","created":1762957487,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"ied"}}]}
 
-      data: {"id":"2025111221083306a0050f99fb4a9e","created":1762952913,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"it"}}]}
+      data: {"id":"2025111222244786e99bb63e034417","created":1762957487,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"it"}}]}
 
-      data: {"id":"2025111221083306a0050f99fb4a9e","created":1762952913,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Go"}}]}
+      data: {"id":"2025111222244786e99bb63e034417","created":1762957487,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" G"}}]}
 
-      data: {"id":"2025111221083306a0050f99fb4a9e","created":1762952913,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
+      data: {"id":"2025111222244786e99bb63e034417","created":1762957487,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"reeting Change"}}]}
 
-      data: {"id":"2025111221083306a0050f99fb4a9e","created":1762952913,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" modification"}}]}
-
-      data: {"id":"2025111221083306a0050f99fb4a9e","created":1762952913,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":153,"completion_tokens":10,"total_tokens":163,"prompt_tokens_details":{"cached_tokens":115}}}
+      data: {"id":"2025111222244786e99bb63e034417","created":1762957487,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":153,"completion_tokens":10,"total_tokens":163,"prompt_tokens_details":{"cached_tokens":4}}}
 
       data: [DONE]
 
@@ -47,7 +45,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.161148625s
+    duration: 1.561630791s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,213 +69,197 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
-
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
-
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
-
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
-
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" mult"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ied"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"it"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" make"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" two"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" mult"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changes"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ied"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"it"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Change"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Change"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hello"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hello"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" World"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"!'"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" World"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"!'"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hello"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hello"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Crush"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"!'"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Crush"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" \n"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"!'\n"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Add"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Add"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" comment"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" comment"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '//"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '//"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" G"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" G"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"reeting"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"reeting"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" above"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" above"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" fmt"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" fmt"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".Println"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".Println"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" line"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" line"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"First"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"First"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" understand"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" its"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" understand"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" structure"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" get"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" structure"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" exact"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" exact"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" formatting"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" formatting"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" before"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Then"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" making"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changes"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'ll"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" mult"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ied"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"'ll"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"it"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" read"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" make"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changes"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" first"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" one"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" operation"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" see"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" current"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" structure"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" start"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" by"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" then"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" finding"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" use"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" mult"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"ied"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"it"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" make"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" reading"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" both"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" its"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" changes"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" contents"}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":".\n"}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_b4067e470cba4cf3a3d818ff","index":0,"type":"function","function":{"name":"view","arguments":"{\"file_path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/multiedit_tool/main.go\"}"}}]}}]}
 
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
-
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_8a2c5c7bf33540298326686c","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"main.go\"}"}}]}}]}
-
-      data: {"id":"20251112210833759a347edec54a09","created":1762952914,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11187,"completion_tokens":118,"total_tokens":11305,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"2025111222244765d118311b1e4401","created":1762957487,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11187,"completion_tokens":130,"total_tokens":11317,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -286,15 +268,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 2.898964958s
+    duration: 1.560689875s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46912
+    content_length: 47475
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/parallel_tool_calls.yaml 🔗

@@ -2,6 +2,51 @@
 version: 2
 interactions:
 - id: 0
+  request:
+    proto: HTTP/1.1
+    proto_major: 1
+    proto_minor: 1
+    content_length: 797
+    host: ""
+    body: '{"messages":[{"content":"you will generate a short title based on the first message a user begins a conversation with\n\n<rules>\n- ensure it is not more than 50 characters long\n- the title should be a summary of the user''s message\n- it should be one line long\n- do not use quotes or colons\n- the entire text you return will be used as the title\n- never return anything that is more than one sentence (one line) long\n</rules>\n\n /no_think","role":"system"},{"content":"Generate a concise title for the following content:\n\nuse glob to find all .go files and use ls to list the current directory, it is very important that you run both tool calls in parallel\n <think>\n\n</think>","role":"user"}],"model":"glm-4.5-air","max_tokens":40,"stream_options":{"include_usage":true},"stream":true}'
+    headers:
+      Accept:
+      - application/json
+      Content-Type:
+      - application/json
+      User-Agent:
+      - OpenAI/Go 2.7.1
+    url: https://api.z.ai/api/coding/paas/v4/chat/completions
+    method: POST
+  response:
+    proto: HTTP/2.0
+    proto_major: 2
+    proto_minor: 0
+    content_length: -1
+    body: |+
+      data: {"id":"2025111222251016a23aa6d2ed4948","created":1762957510,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+
+      data: {"id":"2025111222251016a23aa6d2ed4948","created":1762957510,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Parallel"}}]}
+
+      data: {"id":"2025111222251016a23aa6d2ed4948","created":1762957510,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" glob"}}]}
+
+      data: {"id":"2025111222251016a23aa6d2ed4948","created":1762957510,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]}
+
+      data: {"id":"2025111222251016a23aa6d2ed4948","created":1762957510,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" ls"}}]}
+
+      data: {"id":"2025111222251016a23aa6d2ed4948","created":1762957510,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" commands"}}]}
+
+      data: {"id":"2025111222251016a23aa6d2ed4948","created":1762957510,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":149,"completion_tokens":9,"total_tokens":158,"prompt_tokens_details":{"cached_tokens":114}}}
+
+      data: [DONE]
+
+    headers:
+      Content-Type:
+      - text/event-stream;charset=UTF-8
+    status: 200 OK
+    code: 200
+    duration: 1.10545375s
+- id: 1
   request:
     proto: HTTP/1.1
     proto_major: 1
@@ -24,165 +69,327 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Use"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" glob"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" all"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Use"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ls"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" list"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Run"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" calls"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parallel"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"I"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" glob"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ls"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tools"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" For"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" glob"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provide"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" pattern"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" pattern"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" would"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" be"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \"*."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" or"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \"**"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/*."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" if"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" they"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" want"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" recursive"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" search"}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Since"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" they"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" didn"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'t"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specify"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" recursive"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'ll"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Use"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" glob"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \"*."}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" all"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ."}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ."}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Use"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ls"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" list"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"For"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ls"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" list"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Run"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" calls"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parallel"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ls"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"I"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" defaults"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" glob"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" so"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" pattern"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \"*."}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" don"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'t"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provide"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ls"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" list"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specifically"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" emphasized"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Since"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" running"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" they"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" want"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parallel"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" calls"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" execution"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parallel"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" so"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" make"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" send"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" calls"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" calls"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" single"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" message"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" single"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" message"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_fcbacb240b1a4a6d9d901600","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"**/*.go\"}"}}]}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_41792805a9c74c9391e4c24b","index":1,"type":"function","function":{"name":"ls","arguments":"{}"}}]}}]}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202511122146397fa082f1aca845b3","created":1762955199,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11182,"completion_tokens":99,"total_tokens":11281,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_1709b400f274430ab72e8347","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"*.go\"}"}}]}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_1b37c22d5b294525a471be05","index":1,"type":"function","function":{"name":"ls","arguments":"{}"}}]}}]}
+
+      data: {"id":"20251112222510c3d8bfa891bc4a05","created":1762957510,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11182,"completion_tokens":179,"total_tokens":11361,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -191,46 +398,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 2.36684475s
-- id: 1
-  request:
-    proto: HTTP/1.1
-    proto_major: 1
-    proto_minor: 1
-    content_length: 797
-    host: ""
-    body: '{"messages":[{"content":"you will generate a short title based on the first message a user begins a conversation with\n\n<rules>\n- ensure it is not more than 50 characters long\n- the title should be a summary of the user''s message\n- it should be one line long\n- do not use quotes or colons\n- the entire text you return will be used as the title\n- never return anything that is more than one sentence (one line) long\n</rules>\n\n /no_think","role":"system"},{"content":"Generate a concise title for the following content:\n\nuse glob to find all .go files and use ls to list the current directory, it is very important that you run both tool calls in parallel\n <think>\n\n</think>","role":"user"}],"model":"glm-4.5-air","max_tokens":40,"stream_options":{"include_usage":true},"stream":true}'
-    headers:
-      Accept:
-      - application/json
-      Content-Type:
-      - application/json
-      User-Agent:
-      - OpenAI/Go 2.7.1
-    url: https://api.z.ai/api/coding/paas/v4/chat/completions
-    method: POST
-  response:
-    proto: HTTP/2.0
-    proto_major: 2
-    proto_minor: 0
-    content_length: 400
-    body: "<html>\r\n<head><title>502 Bad Gateway ZS</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway ZS</h1></center>\r\n<hr><center>client(179.222.237.179)<span style='color:green; font-weight: bold'>------></span>cloud(ul2)<span style='color:red; font-weight: bold'>---X--->server(500058 connect() failed)</span>                                                                     </center>\r\n</body>\r\n</html>\r"
-    headers:
-      Content-Type:
-      - text/html
-      content-type:
-      - text/html
-    status: 502 Bad Gateway
-    code: 502
-    duration: 3.253251958s
+    duration: 1.515214542s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 47196
+    content_length: 47895
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/read_a_file.yaml 🔗

@@ -24,15 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025111221073167ddcb6fbb6d4b33","created":1762952851,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202511122223276273ab0a14e14f7d","created":1762957407,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025111221073167ddcb6fbb6d4b33","created":1762952851,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Go"}}]}
+      data: {"id":"202511122223276273ab0a14e14f7d","created":1762957407,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Read"}}]}
 
-      data: {"id":"2025111221073167ddcb6fbb6d4b33","created":1762952851,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" mod"}}]}
+      data: {"id":"202511122223276273ab0a14e14f7d","created":1762957407,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
 
-      data: {"id":"2025111221073167ddcb6fbb6d4b33","created":1762952851,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" reading"}}]}
+      data: {"id":"202511122223276273ab0a14e14f7d","created":1762957407,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" go"}}]}
 
-      data: {"id":"2025111221073167ddcb6fbb6d4b33","created":1762952851,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":124,"completion_tokens":7,"total_tokens":131,"prompt_tokens_details":{"cached_tokens":114}}}
+      data: {"id":"202511122223276273ab0a14e14f7d","created":1762957407,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" mod"}}]}
+
+      data: {"id":"202511122223276273ab0a14e14f7d","created":1762957407,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":124,"completion_tokens":8,"total_tokens":132,"prompt_tokens_details":{"cached_tokens":4}}}
 
       data: [DONE]
 
@@ -41,7 +43,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.109819292s
+    duration: 1.165430292s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -65,167 +67,115 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" go"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" mod"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" This"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" typically"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" named"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" `"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"go"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".mod"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"`"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Go"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" projects"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" go"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" contains"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" mod"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" module"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" information"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" dependencies"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" first"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" where"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" first"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" check"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" go"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" if"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".mod"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" such"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" located"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" exists"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" then"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" its"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" contents"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" then"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'ll"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" its"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" contents"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Glob"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" first"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" go"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ls"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".mod"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" see"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" then"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" what"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" files"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" are"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" View"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" then"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" look"}}]}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_f5ab10a953d24f5195c4720c","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"**/go.mod\"}"}}]}}]}
 
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" go"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".mod"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specifically"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_aaed48f451b243308573ccdf","index":0,"type":"function","function":{"name":"ls","arguments":"{\"path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/read_a_file\"}"}}]}}]}
-
-      data: {"id":"2025111221073262f02a2dca7a4971","created":1762952852,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11156,"completion_tokens":110,"total_tokens":11266,"prompt_tokens_details":{"cached_tokens":45}}}
+      data: {"id":"2025111222232834d1511695bf4d6b","created":1762957408,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11156,"completion_tokens":71,"total_tokens":11227,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -234,15 +184,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 2.20619825s
+    duration: 1.779309833s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 46858
+    content_length: 47023
     host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/simple_test.yaml 🔗

@@ -24,11 +24,11 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112210728e328587da6844490","created":1762952848,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202511122223245969f7833cbd451b","created":1762957404,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112210728e328587da6844490","created":1762952848,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
+      data: {"id":"202511122223245969f7833cbd451b","created":1762957404,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
 
-      data: {"id":"20251112210728e328587da6844490","created":1762952848,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":121,"completion_tokens":5,"total_tokens":126,"prompt_tokens_details":{"cached_tokens":4}}}
+      data: {"id":"202511122223245969f7833cbd451b","created":1762957404,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":121,"completion_tokens":5,"total_tokens":126,"prompt_tokens_details":{"cached_tokens":4}}}
 
       data: [DONE]
 
@@ -37,7 +37,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 2.741678s
+    duration: 2.068734542s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -61,29 +61,105 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"!"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" just"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" How"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" said"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" can"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" I"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hello"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" help"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" which"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" today"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"?"}}]}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
 
-      data: {"id":"2025111221072906ff980da71d4246","created":1762952849,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11152,"completion_tokens":14,"total_tokens":11166,"prompt_tokens_details":{"cached_tokens":45}}}
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" greeting"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" According"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" communication"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" style"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" guidelines"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" keep"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" responses"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" minimal"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" under"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"4"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" lines"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" A"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" simple"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" greeting"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" back"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" appropriate"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" here"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"!"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" How"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" can"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" I"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" help"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" today"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"?"}}]}
+
+      data: {"id":"2025111222232550bf7b4f7cc9412f","created":1762957405,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11152,"completion_tokens":52,"total_tokens":11204,"prompt_tokens_details":{"cached_tokens":45}}}
 
       data: [DONE]
 
@@ -92,4 +168,4 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 3.55504075s
+    duration: 2.989130667s

internal/agent/testdata/TestCoderAgent/zai-glm4.6/sourcegraph_tool.yaml 🔗

@@ -24,19 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112214557d74e267a33a4438d","created":1762955157,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251112222457612c5c97e9154233","created":1762957497,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112214557d74e267a33a4438d","created":1762955157,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Searching"}}]}
+      data: {"id":"20251112222457612c5c97e9154233","created":1762957497,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Search"}}]}
 
-      data: {"id":"20251112214557d74e267a33a4438d","created":1762955157,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Go"}}]}
+      data: {"id":"20251112222457612c5c97e9154233","created":1762957497,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" func"}}]}
 
-      data: {"id":"20251112214557d74e267a33a4438d","created":1762955157,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
+      data: {"id":"20251112222457612c5c97e9154233","created":1762957497,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
 
-      data: {"id":"20251112214557d74e267a33a4438d","created":1762955157,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Source"}}]}
+      data: {"id":"20251112222457612c5c97e9154233","created":1762957497,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" in"}}]}
 
-      data: {"id":"20251112214557d74e267a33a4438d","created":1762955157,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"graph"}}]}
+      data: {"id":"20251112222457612c5c97e9154233","created":1762957497,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Go"}}]}
 
-      data: {"id":"20251112214557d74e267a33a4438d","created":1762955157,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":133,"completion_tokens":9,"total_tokens":142,"prompt_tokens_details":{"cached_tokens":114}}}
+      data: {"id":"20251112222457612c5c97e9154233","created":1762957497,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":133,"completion_tokens":9,"total_tokens":142,"prompt_tokens_details":{"cached_tokens":4}}}
 
       data: [DONE]
 
@@ -45,7 +45,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 2.5340185s
+    duration: 1.193325875s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,13 +69,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025111221455757da62b526cc4bb1","created":1762955158,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"202511122224571a40eaaf64964f9b","created":1762957497,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"2025111221455757da62b526cc4bb1","created":1762955158,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202511122224571a40eaaf64964f9b","created":1762957497,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025111221455757da62b526cc4bb1","created":1762955158,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_3b68c9e13c7449eea553b3e2","index":0,"type":"function","function":{"name":"sourcegraph","arguments":"{\"count\":10,\"query\":\"lang:go \\\"func main\\\"\"}"}}]}}]}
+      data: {"id":"202511122224571a40eaaf64964f9b","created":1762957497,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_585395d07e384769983f315e","index":0,"type":"function","function":{"name":"sourcegraph","arguments":"{\"query\":\"lang:go \\\"func main\\\"\"}"}}]}}]}
 
-      data: {"id":"2025111221455757da62b526cc4bb1","created":1762955158,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11165,"completion_tokens":32,"total_tokens":11197,"prompt_tokens_details":{"cached_tokens":45}}}
+      data: {"id":"202511122224571a40eaaf64964f9b","created":1762957497,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11165,"completion_tokens":24,"total_tokens":11189,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -84,7 +84,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 3.1466755s
+    duration: 1.500256709s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -106,21 +106,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     uncompressed: true

internal/agent/testdata/TestCoderAgent/zai-glm4.6/update_a_file.yaml 🔗

@@ -24,19 +24,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202511122107429a7614f616404b0b","created":1762952862,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202511122107429a7614f616404b0b","created":1762952862,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Update"}}]}
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Update"}}]}
 
-      data: {"id":"202511122107429a7614f616404b0b","created":1762952862,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
 
-      data: {"id":"202511122107429a7614f616404b0b","created":1762952862,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
 
-      data: {"id":"202511122107429a7614f616404b0b","created":1762952862,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" hello"}}]}
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]}
 
-      data: {"id":"202511122107429a7614f616404b0b","created":1762952862,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" message"}}]}
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" print"}}]}
 
-      data: {"id":"202511122107429a7614f616404b0b","created":1762952862,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":134,"completion_tokens":9,"total_tokens":143,"prompt_tokens_details":{"cached_tokens":114}}}
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" hello"}}]}
+
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" from"}}]}
+
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" crush"}}]}
+
+      data: {"id":"202511122223456a14a44ed13c4790","created":1762957425,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":134,"completion_tokens":12,"total_tokens":146,"prompt_tokens_details":{"cached_tokens":114}}}
 
       data: [DONE]
 
@@ -45,7 +51,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 2.5832175s
+    duration: 2.143865541s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,251 +75,320 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" update"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" update"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" by"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" change"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changing"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" statement"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" statement"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" crush"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" crush"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"."}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"."}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n\n"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n\n"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" First"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" First"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" understand"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" see"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" its"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" its"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Locate"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Locate"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" statement"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" statement"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" needs"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" needs"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" be"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" be"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changed"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changed"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Edit"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Edit"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" change"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" change"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" statement"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" crush"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" crush"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"\n\n"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"\n"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"4"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" start"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Test"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" by"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" looking"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" change"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" works"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" start"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" reading"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" by"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" its"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" looking"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" contents"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"'ll"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" help"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" update"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"."}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"'ll"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" Let"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" help"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" me"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" first"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" update"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" find"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" read"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" current"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" change"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":".\n"}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_86bbbed998b740b8987801fc","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"**/main.go\"}"}}]}}]}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" print"}}]}
+      data: {"id":"20251112222345f313f2c5b3124db6","created":1762957425,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11166,"completion_tokens":126,"total_tokens":11292,"prompt_tokens_details":{"cached_tokens":45}}}
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" statement"}}]}
+      data: [DONE]
 
-      data: {"id":"20251112210741b09fcadf892c4776","created":1762952861,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"."}}]}
+    headers:
+      Content-Type:
+      - text/event-stream;charset=UTF-8
+    status: 200 OK
+    code: 200
+    duration: 2.483297042s
+- id: 2
+  request:
+    proto: HTTP/1.1
+    proto_major: 1
+    proto_minor: 1
+    content_length: 47343
+    host: ""

internal/agent/testdata/TestCoderAgent/zai-glm4.6/write_tool.yaml 🔗

@@ -24,21 +24,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025111221460724145789660844e2","created":1762955167,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251112222505fd2aef24acbb4e84","created":1762957505,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025111221460724145789660844e2","created":1762955167,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Create"}}]}
+      data: {"id":"20251112222505fd2aef24acbb4e84","created":1762957505,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Create"}}]}
 
-      data: {"id":"2025111221460724145789660844e2","created":1762955167,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" config"}}]}
+      data: {"id":"20251112222505fd2aef24acbb4e84","created":1762957505,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" config"}}]}
 
-      data: {"id":"2025111221460724145789660844e2","created":1762955167,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".json"}}]}
+      data: {"id":"20251112222505fd2aef24acbb4e84","created":1762957505,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".json"}}]}
 
-      data: {"id":"2025111221460724145789660844e2","created":1762955167,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
+      data: {"id":"20251112222505fd2aef24acbb4e84","created":1762957505,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"2025111221460724145789660844e2","created":1762955167,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" write"}}]}
+      data: {"id":"20251112222505fd2aef24acbb4e84","created":1762957505,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
 
-      data: {"id":"2025111221460724145789660844e2","created":1762955167,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" command"}}]}
+      data: {"id":"20251112222505fd2aef24acbb4e84","created":1762957505,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" content"}}]}
 
-      data: {"id":"2025111221460724145789660844e2","created":1762955167,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":148,"completion_tokens":10,"total_tokens":158,"prompt_tokens_details":{"cached_tokens":115}}}
+      data: {"id":"20251112222505fd2aef24acbb4e84","created":1762957505,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":148,"completion_tokens":10,"total_tokens":158,"prompt_tokens_details":{"cached_tokens":4}}}
 
       data: [DONE]
 
@@ -47,7 +47,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 2.945312333s
+    duration: 1.153194125s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,337 +71,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"202511122225067f073eed61d34604","created":1762957506,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+      data: {"id":"202511122225067f073eed61d34604","created":1762957506,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+      data: {"id":"202511122225067f073eed61d34604","created":1762957506,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_08bec39e1aaa4aef9af4668a","index":0,"type":"function","function":{"name":"write","arguments":"{\"file_path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/write_tool/config.json\",\"content\":\"{\\\"name\\\": \\\"test\\\", \\\"version\\\": \\\"1.0.0\\\"}\"}"}}]}}]}
 
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" write"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" create"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" new"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" called"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" config"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".json"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specific"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n\n"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Use"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" write"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" \n"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Set"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"_path"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"config"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".json"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"since"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" we"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'re"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" can"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" relative"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" but"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" description"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" says"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" absolute"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" paths"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" -"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" let"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" check"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" first"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Set"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '{\""}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"name"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\":"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"test"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\","}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"version"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\":"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"0"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"0"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"}"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'\n\n"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Actually"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" looking"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" at"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" description"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" says"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Use"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" absolute"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" paths"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"starting"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" /"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\""}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" cross"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-platform"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" compatibility"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" /"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"tmp"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/c"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"rush"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-test"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/Test"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Coder"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Agent"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/z"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ai"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-g"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"lm"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"4"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"6"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/write"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"_tool"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" so"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" full"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" create"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" write"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_c787c1ceb3a94e99928f4f15","index":0,"type":"function","function":{"name":"write","arguments":"{\"content\":\"{\\\"name\\\": \\\"test\\\", \\\"version\\\": \\\"1.0.0\\\"}\",\"file_path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/write_tool/config.json\"}"}}]}}]}
-
-      data: {"id":"2025111221460532156fdf91b74d5c","created":1762955166,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11180,"completion_tokens":220,"total_tokens":11400,"prompt_tokens_details":{"cached_tokens":11118}}}
+      data: {"id":"202511122225067f073eed61d34604","created":1762957506,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":11180,"completion_tokens":58,"total_tokens":11238,"prompt_tokens_details":{"cached_tokens":11118}}}
 
       data: [DONE]
 
@@ -410,15 +86,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.613426458s
+    duration: 1.526401542s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 47074
+    content_length: 47099
     host: ""