chore: regenerate tests

Kujtim Hoxha created

Change summary

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/bash_tool.yaml             |  84 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/download_tool.yaml         |  67 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/glob_tool.yaml             |  41 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/grep_tool.yaml             |  63 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/ls_tool.yaml               |  37 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/multiedit_tool.yaml        |  84 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/parallel_tool_calls.yaml   |  53 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/read_a_file.yaml           |  59 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/simple_test.yaml           |  30 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/sourcegraph_tool.yaml      |  53 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/update_a_file.yaml         |  91 
internal/agent/testdata/TestCoderAgent/anthropic-sonnet/write_tool.yaml            |   3 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/bash_tool.yaml                 |  88 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/download_tool.yaml             | 118 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/glob_tool.yaml                 |  46 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/grep_tool.yaml                 |  64 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/ls_tool.yaml                   |  82 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/multiedit_tool.yaml            |  92 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/parallel_tool_calls.yaml       |  82 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/read_a_file.yaml               |  82 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/simple_test.yaml               |  28 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/sourcegraph_tool.yaml          | 126 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/update_a_file.yaml             |  90 
internal/agent/testdata/TestCoderAgent/openai-gpt-5/write_tool.yaml                | 114 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/bash_tool.yaml           |  90 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/download_tool.yaml       | 124 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/glob_tool.yaml           |  76 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/grep_tool.yaml           |  50 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/ls_tool.yaml             |   2 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/multiedit_tool.yaml      | 140 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/parallel_tool_calls.yaml |   2 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/read_a_file.yaml         |  82 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/simple_test.yaml         |  22 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/sourcegraph_tool.yaml    | 160 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/update_a_file.yaml       |  84 
internal/agent/testdata/TestCoderAgent/openrouter-kimi-k2/write_tool.yaml          | 130 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/bash_tool.yaml                   |  30 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/download_tool.yaml               | 210 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/glob_tool.yaml                   |   3 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/grep_tool.yaml                   |  24 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/ls_tool.yaml                     |   2 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/multiedit_tool.yaml              | 218 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/parallel_tool_calls.yaml         |  32 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/read_a_file.yaml                 |   2 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/simple_test.yaml                 |  34 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/sourcegraph_tool.yaml            |   3 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/update_a_file.yaml               | 198 
internal/agent/testdata/TestCoderAgent/zai-glm4.6/write_tool.yaml                  | 332 
internal/config/load_test.go                                                       |   4 
49 files changed, 2,102 insertions(+), 1,629 deletions(-)

Detailed changes

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

@@ -25,47 +25,47 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01JTHgJWgGQz55Gx5XkA2j1o","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_01Aj7fyQD4ELhBeKbrKNQaNH","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":" Comman"}              }
+      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":"d for"}        }
+      event: ping
+      data: {"type": "ping"}
 
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" test"}  }
+      event: content_block_stop
+      data: {"type":"content_block_stop","index":0 }
 
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":".txt"}              }
+      event: ping
+      data: {"type": "ping"}
 
-      event: content_block_stop
-      data: {"type":"content_block_stop","index":0     }
+      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":12}      }
+      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: 563.10575ms
+    duration: 537.172667ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -90,73 +90,61 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01NMi7GJLfaHmFV91s5Wchrr","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3695,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3695,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}              }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_013QSPtNLzQguJawpWuCjub7","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3695,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3695,"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_01TZfhJAbLcqw2QtF4NerkGQ","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":"{\"comma"}           }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"nd\""}   }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":": \"echo 'h"}               }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01RseXE6zMp2x7W1bPA2u53E","name":"bash","input":{}}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ello"}              }
+      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":" ba"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"co"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"sh' >"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"mmand\""}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" test"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":": \"echo 'h"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":".tx"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ello bash' "}          }
 
       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":"> test."}     }
 
       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":"txt\""}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"descri"}          }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"descr"}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ptio"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ip"}           }
 
       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":"tion\": \"C"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"Create t"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"reate test."}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"est.txt wit"}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"txt w"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"h content"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ith co"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" 'hello"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ntent 'hello"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" bash'\"}"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" bash'\"}"}            }
 
       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":3695,"cache_read_input_tokens":8370,"output_tokens":87}         }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3695,"cache_read_input_tokens":8370,"output_tokens":87} }
 
       event: message_stop
       data: {"type":"message_stop"           }
@@ -166,7 +154,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 2.513536833s
+    duration: 2.381348583s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -174,7 +162,7 @@ interactions:
     proto_minor: 1
     content_length: 44646
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/download_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_01Pf5nC6PbAeXReViDunjYqR","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":160,"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_01RGPCn4FgV9PqJJV69cjGVv","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":160,"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":"Downloa"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Downloa"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Example"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Text"}  }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Text"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" File from"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" File"}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Example URL"} }
 
       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":160,"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":160,"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: 550.329333ms
+    duration: 601.683375ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,77 +84,74 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01UQkzZ58TmNYzRoPL2Yd6rM","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3703,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3703,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}     }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01PANBQmJuRUaxU3G9anW8Ce","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3703,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3703,"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_012rqFSaRUw36cE6fBkGiJv7","name":"download","input":{}} }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}          }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01Xrnsw9eMAbQPbULRC4bWwd","name":"download","input":{}}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"url\": \"ht"}          }
+      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":"tps"}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"u"}      }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"://ex"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"rl\": \""}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ample-fil"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"https://exa"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"es.online-"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"mple-fi"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"convert."}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"les.online-"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"com/doc"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"convert.com"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"um"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"/d"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ent/t"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ocument/"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"xt/example."}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"txt/exampl"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"txt\""}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"e.txt\""}              }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"fil"}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"fi"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"e_path"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"le_path\": "}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\": \"ex"}    }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"exam"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ample"}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ple.tx"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":".txt\"}"}          }
+      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":3703,"cache_read_input_tokens":8370,"output_tokens":90}             }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3703,"cache_read_input_tokens":8370,"output_tokens":90}    }
 
       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.158027583s
+    duration: 2.443494125s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -200,7 +197,7 @@ interactions:
       - text/plain; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 253.501583ms
+    duration: 222.347292ms
 - id: 3
   request:
     proto: HTTP/1.1
@@ -208,7 +205,7 @@ interactions:
     proto_minor: 1
     content_length: 44753
     host: ""

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

@@ -25,44 +25,44 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01CrzTJGVA9rY73Xv3qUFMmC","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_016NX8UVJFhg2evC3xGxxTSU","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"}     }
+      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":" Using"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Glob"}          }
+      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":9}            }
+      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: 657.918792ms
+    duration: 615.501416ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -87,38 +87,35 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_013dEUUi7Ngr8MswhttEKk8Y","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3685,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3685,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}} }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01BmAmGUZnDphSJk9Auxs7b7","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3685,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3685,"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_01QmhRKmsXz762CVbWqyWw8M","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_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01R38xeQik9zs9v6w1b3RRBn","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":"patte"}             }
+      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":"rn\": \"*.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":3685,"cache_read_input_tokens":8370,"output_tokens":52}           }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3685,"cache_read_input_tokens":8370,"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.534889334s
+    duration: 2.517417625s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -126,7 +123,7 @@ interactions:
     proto_minor: 1
     content_length: 44576
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/grep_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_01FTPxyWDzwtZaFcS2RPUWvC","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":2,"service_tier":"standard"}}             }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01LH2ENfd8Fhy2KDtUAwrZ2C","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":6,"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"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Searching Go Files for Package"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" for "}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Keywor"}        }
 
       event: ping
       data: {"type": "ping"}
 
       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":"d"}   }
 
-      event: content_block_delta
-      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":" grep"}            }
+      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":144,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":15}            }
+      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":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: 546.96425ms
+    duration: 617.504458ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -87,47 +90,53 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_017k4EhciL2iaf1CHTNzFtwq","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3687,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3687,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}     }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01L8jJPfrH2ESBThvVvaccSA","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3687,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3687,"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_01BzVgJQ1Gsw2d75dsuYjw6b","name":"grep","input":{}}        }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_013CwDHRc6MbZEtqtpLVhKrx","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":"{\"patter"}         }
 
       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":"n\": \"pa"}            }
 
       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":"ckage"}}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"pack"}            }
+      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":"age\""}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"inc"}            }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"incl"}        }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"lud"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ude\": \"*"}   }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"e\":"}    }
 
       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":3687,"cache_read_input_tokens":8370,"output_tokens":69}            }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3687,"cache_read_input_tokens":8370,"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.35918275s
+    duration: 2.267143625s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -135,7 +144,7 @@ interactions:
     proto_minor: 1
     content_length: 44646
     host: ""

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

@@ -25,22 +25,28 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_014VzajaowaWgHByMxWPPK55","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":3,"service_tier":"standard"}}            }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01RJRsUHb7QyFsq2VE8vZG9D","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":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":"Listing Files"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Listing Files"}      }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" in Current Directory"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" in"}    }
+
+      event: ping
+      data: {"type": "ping"}
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Current Directory"}        }
 
       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"}
@@ -52,14 +58,14 @@ interactions:
       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: 588.545542ms
+    duration: 566.482458ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,37 +90,40 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01LkrfjYwfNZ5W2ijUAMdfkf","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3683,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3683,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}} }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01HCdZRP2pCYFyxos9nzwS1R","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3683,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3683,"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_01NMRsDUTZorMG3CU1GtJvZV","name":"ls","input":{}}             }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_014BVvJcTcmrsH529iqHetJB","name":"ls","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":"{\"path\": \".\"}"}  }
+
       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":3683,"cache_read_input_tokens":8370,"output_tokens":34}              }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3683,"cache_read_input_tokens":8370,"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: 2.135258417s
+    duration: 6.040680041s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 44572
+    content_length: 44582
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/multiedit_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_01A8kj3YE3D9N8qWRrvDFNHJ","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_01SGH8AiimM2MEMYKcFDSV24","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":" Hello"}         }
 
       event: ping
       data: {"type": "ping"}
 
       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":" Worl"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Program"}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Program"}  }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" in 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":"end_turn","stop_sequence":null},"usage":{"input_tokens":170,"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":170,"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: 841.00425ms
+    duration: 611.379834ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,103 +87,94 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01SYEMbQvGdGyHmNw9Pg1TMJ","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3715,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3715,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}}        }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01JeuQEEvJn9Eio4a7iJ7Fdb","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3715,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3715,"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 to see"}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d the file first to see its exact structure, then use"} }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" the exact"} }
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" formatting, then use"}}
-
-      event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" multiedit to make both"}               }
-
-      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":" multiedit to make both changes."}              }
 
       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_01NJ9dz6zosqxE9fLVug8obZ","name":"view","input":{}}            }
+      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01TGJnuwssjDDk7m9Mq8LgCe","name":"view","input":{}}      }
 
       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_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"file_pat"}           }
+      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":"h\": \"/tmp/c"}     }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ile_pat"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"rus"}              }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"h\": \"/tmp/cr"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"h-tes"}  }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ush-tes"}             }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"t/TestCod"}              }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"t/Tes"} }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"er"}             }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"tCoderAgen"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"Agent"}              }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"t/anthropi"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"/a"}         }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"c-sonn"}   }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"nthropic-so"}       }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"et/mul"}       }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"nnet/multied"}         }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"tiedi"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"it_tool"}     }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"t_t"}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"/ma"}               }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ool/main"}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"in.go\"}"}              }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":".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":3715,"cache_read_input_tokens":8370,"output_tokens":102}             }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3715,"cache_read_input_tokens":8370,"output_tokens":102}}
 
       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.450759875s
+    duration: 3.270868208s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 44949
+    content_length: 44948
     host: ""

internal/agent/testdata/TestCoderAgent/anthropic-sonnet/parallel_tool_calls.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_01WWaP9Gqe3fuPVn7yDeohTS","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"}}        }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01Wwcz2xBKzSAqLwmydxfgbT","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":"Parallel"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Go Files"}      }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Go File"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" an"}        }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Search and Directory"}            }
+      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":" Listing"}     }
+      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":12}}
+      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":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: 524.640917ms
+    duration: 577.316042ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,56 +84,59 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01BNVPuyt6VKT8hmqvzwP9Pg","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3704,"cache_read_input_tokens":8370,"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_01T8AKxbdKT7LyrQMrRCf5fi","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3704,"cache_read_input_tokens":8370,"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_01DZhnYNiy52853RCMZmfvZz","name":"glob","input":{}}    }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_018KaegP7GCsMxdK2TrP2UQ1","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":"{\"pat"}}
 
       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":"tern\":"}    }
 
       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":"/*."}   }
+
+      event: content_block_delta
+      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               }
 
       event: content_block_start
-      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01CBw5jT32nvgmori4jeAf69","name":"ls","input":{}}             }
+      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01NNfKTrAyzgLfcAmqbtsiFY","name":"ls","input":{}}      }
 
       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_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"pat"}     }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"path\":"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"h\": \".\"}"}            }
+      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":3704,"cache_read_input_tokens":8370,"output_tokens":86}       }
+      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":8370,"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.217387584s
+    duration: 2.567581375s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -141,7 +144,7 @@ interactions:
     proto_minor: 1
     content_length: 44976
     host: ""

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

@@ -25,41 +25,38 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01F7Ks6hvtV8tAaPJ1vXNAeK","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_01AbVnHyVBPUEDm7zYQSqpij","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"}       }
-
-      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":" Mod File"}          }
 
       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":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":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: 722.977625ms
+    duration: 546.703334ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,65 +81,65 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_019WP3EMAQybBZRTNup4m6Vj","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3679,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3679,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}      }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_019nitzar8cm8WvqFtyi66ZR","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3679,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3679,"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_01VrjfyaPEHswTNShArkFpVF","name":"view","input":{}}  }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01QkS3MQRqFRSLwaFJ8Qofma","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":"{\"fil"}              }
+      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":"e_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":": \"/tmp/"} }
+      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":"crush-te"}            }
+      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":"st/TestCod"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"est/TestCod"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"erAgen"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"erAgent/"}        }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"t/anth"}              }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"anth"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ropic-sonnet"}             }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ropic-so"}     }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"/re"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"nnet"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ad_a_f"}  }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"/read_a"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ile/go.mo"}               }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"_file/go.m"}      }
 
       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":"od\"}"}           }
 
       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":3679,"cache_read_input_tokens":8370,"output_tokens":79}               }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3679,"cache_read_input_tokens":8370,"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: 2.118783958s
+    duration: 5.423039042s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -150,7 +147,7 @@ interactions:
     proto_minor: 1
     content_length: 44638
     host: ""

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

@@ -25,16 +25,16 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_012gsHUxRRVBcbcpWbt4jVDq","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_017wCefGK71otVYwUZwkgBu8","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":"Quick"}          }
 
       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"}
@@ -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: 782.872416ms
+    duration: 602.6235ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,29 +84,29 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_016WFKxabQBQVvghd3x8ZKVP","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":12044,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":12044,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}}}
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01RiVqTNV9NyUEqZM3wiXZFr","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":12044,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":12044,"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":"Hello! How"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Hello! Ready"}           }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" can I help you today?"} }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" to help."}              }
 
       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":12044,"cache_read_input_tokens":0,"output_tokens":12}          }
+      data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":12044,"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: 2.784341084s
+    duration: 21.36517175s

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_01M9FMyDRvFD7dDeaxGBdy9A","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":3,"service_tier":"standard"}}              }
+      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01KeJvEVZ6yryNLX67XWeQAR","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":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 Go"}        }
+      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":" Repos"}       }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"'func main' in"}               }
 
       event: ping
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" for main"}         }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Go repos"}          }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Functions"}           }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" on"}   }
+
+      event: content_block_delta
+      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":18}          }
 
       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.069022542s
+    duration: 1.704068541s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,34 +87,40 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01QySyZngwndwoApMakdTdWb","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3690,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3690,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}          }
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_016jpmUPtKFePfSPFAhfjmh6","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3690,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3690,"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_01TbkAdDYn4VZNWpiGUZAQCP","name":"sourcegraph","input":{}}       }
+      data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01FRCPveXRubpnHNG4UEy8BY","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\": \""}         }
+      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":"lang:go fu"}      }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ang:go fu"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"nc main\""}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"nc m"}         }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"count\": "}     }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"ain\""}    }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"20}"}          }
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":", \"coun"}     }
+
+      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":": 20}"} }
 
       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":3690,"cache_read_input_tokens":8370,"output_tokens":74}         }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3690,"cache_read_input_tokens":8370,"output_tokens":74}          }
 
       event: message_stop
       data: {"type":"message_stop"         }
@@ -121,7 +130,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 5.1822605s
+    duration: 2.475661625s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -149,7 +158,7 @@ interactions:
       - application/json
     status: 200 OK
     code: 200
-    duration: 6.319206917s
+    duration: 1.29763575s
 - id: 3
   request:
     proto: HTTP/1.1
@@ -157,7 +166,7 @@ interactions:
     proto_minor: 1
     content_length: 52093
     host: ""

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

@@ -25,13 +25,13 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-3-5-haiku-20241022","id":"msg_01VcFaoW2H1LocUHpbozfweA","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_01EvB96cLJokUWnWBKWsk2ND","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"}}
@@ -40,26 +40,26 @@ interactions:
       data: {"type": "ping"}
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":".go 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":" Message"}         }
+      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":145,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":9}        }
+      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":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: 636.163792ms
+    duration: 553.008708ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -84,46 +84,97 @@ interactions:
     content_length: -1
     body: |+
       event: message_start
-      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_016KoEg6EgVXQpFAdyqV4vVA","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3690,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3690,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}}}
+      data: {"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01398JQYUK3xMTJh9RNK5wqd","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3690,"cache_read_input_tokens":8370,"cache_creation":{"ephemeral_5m_input_tokens":3690,"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":"tool_use","id":"toolu_014B6GpHgUPh5aunbj68jSZf","name":"view","input":{}}             }
+      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":"input_json_delta","partial_json":""}          }
+      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":"input_json_delta","partial_json":"{\"file_pa"}}
+      data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d the file first, then update it."}     }
+
+      event: ping
+      data: {"type": "ping"}
+
+      event: content_block_stop
+      data: {"type":"content_block_stop","index":0  }
+
+      event: ping
+      data: {"type": "ping"}
+
+      event: content_block_start
+      data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01YWT2cqend3cah13Jrw6qZp","name":"view","input":{}}              }
+
+      event: ping
+      data: {"type": "ping"}
+
+      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":"{\"fi"}           }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"le_path\": "}       }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"\"/tmp/cr"}  }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ush-"}             }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"test/Tes"}           }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"tCo"}               }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"th\": "}          }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"derA"}  }
 
       event: content_block_delta
-      data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"main.go\"}"}       }
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"gent"}         }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"/ant"}              }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"hropic-son"}    }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"net/upd"}               }
+
+      event: content_block_delta
+      data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ate_a_file"}        }
+
+      event: content_block_delta
+      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":0   }
+      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":3690,"cache_read_input_tokens":8370,"output_tokens":55}          }
+      data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":2,"cache_creation_input_tokens":3690,"cache_read_input_tokens":8370,"output_tokens":91}             }
 
       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: 5.713480375s
+    duration: 2.237165875s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 44706
+    content_length: 44835
     host: ""

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

@@ -6,9 +6,9 @@ interactions:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 817
+    content_length: 44261
     host: ""
-    body: '{"max_tokens":40,"messages":[{"content":[{"text":"Generate a concise title for the following content:\n\nuse write to create a new file called config.json with content ''{\"name\": \"test\", \"version\": \"1.0.0\"}''\n \u003cthink\u003e\n\n\u003c/think\u003e","type":"text"}],"role":"user"}],"model":"claude-3-5-haiku-20241022","system":[{"text":"you will generate a short title based on the first message a user begins a conversation with\n\n\u003crules\u003e\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\u003c/rules\u003e\n\n /no_think","type":"text"}],"stream":true}'

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

@@ -24,23 +24,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"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":"AmGM22zptWNTlH"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"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":"RcwIfPpMgxdtme"}
 
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Creating"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"eJBz1mtg"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Create"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BA3NwYFN7T"}
 
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" a"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"H6sTw26kW8d7pO"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vqq5LY1WLKb"}
 
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Bash"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"G3qQHR9jtY0"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Using"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"KewDbRXZlx"}
 
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zamRbLdg0dM"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Bash"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"B92EVHLh5Kw"}
 
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Without"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"nqr5RpLY"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" without"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"mf1XUcJt"}
 
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Timestamp"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QOCCZN"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Timestamp"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"P3haqn"}
 
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"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":"ZuZ2wup3vx"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"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":"0NASMP98Fm"}
 
-      data: {"id":"chatcmpl-CVxgRENNgQBmQQNfhycMsmaIbNqWv","object":"chat.completion.chunk","created":1761733627,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":145,"completion_tokens":6,"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":"z8SYkOuOZ7Truu"}
+      data: {"id":"chatcmpl-CWOBtx0fMmKPcTEfnrFCOa5S4EizO","object":"chat.completion.chunk","created":1761835521,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":145,"completion_tokens":6,"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":"Br5vs61CB0QABs"}
 
       data: [DONE]
 
@@ -49,7 +49,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 449.903375ms
+    duration: 1.253966166s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,69 +73,61 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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_TMbkB4wXmLSygqinfCgs11GM","type":"function","function":{"name":"bash","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"yRpfZf17HH63"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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_6kjtrpkFEdgsg1iVn57rKXnE","type":"function","function":{"name":"bash","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"FbzL1RbDDziO"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"0JLp4xHFwdOwDoG"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"MW9rD7kKdD0GZ7X"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"kgtE2fnRwJU"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"Z9xMWXptYT0"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"qw6gnBOhfTRvz"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"2wm42nfLRzgwp"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"SfrdPFeUZSzG"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"7k1FPr0nECs4"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"D8jM8iFWhSmPU"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"E6Yn8wG5zfEZS"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"5tOXa8kiBPkie"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"ViwMZML2G2TOO"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"3"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"vqcRL25QhZAQB"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"1enI81q4qf6EN"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"V8l3FKiNwtxFyo"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"Un5TqYH07XEtMW"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"bBgwT98AkOcv7"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"3XkqjtesZuDCS"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"gyUf2gN"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"QX7Qicw"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"szrl5yi2Wc9bZ"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"ukCVwUWQX27pa"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"8ajNQEBYIVxV"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"sZEmiAIYymWY"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"RbWpi2jBtokQA"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"XGI21BV44OI2H"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"AyH6jxAYA8Y6XN"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"HStbx4dStjCe99"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"AD6BQb5mPWVrr"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"SZoAFaJPBrQLu"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" exact"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Y0ixRWlkl2Sf"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" the"}}]},"finish_reason":null}],"usage":null,"obfuscation":"RpxzNs1dMzIo2T"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"l5n1YTs6X8"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" exact"}}]},"finish_reason":null}],"usage":null,"obfuscation":"K6GfOXpjtsAa"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"kdRAV5yc3x"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"sVObKa5X3PemH"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" without"}}]},"finish_reason":null}],"usage":null,"obfuscation":"nb0ZSHwUqv"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"bnofRiAXZlpSY"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" trailing"}}]},"finish_reason":null}],"usage":null,"obfuscation":"2ju32L0nu"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" newline"}}]},"finish_reason":null}],"usage":null,"obfuscation":"RsYnxfgHvR"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" without"}}]},"finish_reason":null}],"usage":null,"obfuscation":"vEGYgR7MKr"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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":"wpF9rCsXM2nv7ks"}
 
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" trailing"}}]},"finish_reason":null}],"usage":null,"obfuscation":"r7saEDEm8"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"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-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" newline"}}]},"finish_reason":null}],"usage":null,"obfuscation":"j9J32fCgxJ"}
-
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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":"kC7G7czT5LbE1Ec"}
-
-      data: {"id":"chatcmpl-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"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-CVxgRM1pnv4UEhEs4KSRhsFXTy39h","object":"chat.completion.chunk","created":1761733627,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9498,"completion_tokens":687,"total_tokens":10185,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":640,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"nMJ"}
+      data: {"id":"chatcmpl-CWOBupfnvF3UuytBJw45MJLvhP3A6","object":"chat.completion.chunk","created":1761835522,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9498,"completion_tokens":555,"total_tokens":10053,"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":""}
 
       data: [DONE]
 
@@ -144,15 +136,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 15.796848458s
+    duration: 27.345105334s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43088
+    content_length: 43078
     host: ""

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

@@ -24,23 +24,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qnoXCpERe0gWXn"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"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":"fC7WoR984YIvUl"}
 
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":"Download"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MdOIpJwO"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Download"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0RPflz9w"}
 
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"XTiP3mzn4l4j"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"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":"t2ihk9TITZ96"}
 
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" Save"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ChohoJ0xvEb"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Save"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BtMCuX5plFD"}
 
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" Example"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"yZdr5cxa"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Example"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"9lUAatoS"}
 
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" Text"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wLXF2szft7L"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Text"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"FuwMZf56tRY"}
 
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"edE8Pj15ERd"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"jLnVCbfuKVV"}
 
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"vDjHdNR7An"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"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":"VvZStU3oXq"}
 
-      data: {"id":"chatcmpl-CVxgj94OGH0PU12dYpX5ciOExwngN","object":"chat.completion.chunk","created":1761733645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","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":"ZjaRuMqxN1FALY"}
+      data: {"id":"chatcmpl-CWOCROVqY4pSLNglWDujR0D2xhZuj","object":"chat.completion.chunk","created":1761835555,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"PIVOJ9l3cOGVMQ"}
 
       data: [DONE]
 
@@ -49,7 +49,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 570.639625ms
+    duration: 1.113453417s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,65 +73,97 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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_9Ysdb5sMRytjrwkVPE7QuaHI","type":"function","function":{"name":"download","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"XwXG70Ns"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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_PMB7pcHnc4PybE9fdAbYx0C2","type":"function","function":{"name":"download","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"0u5F1hLP"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"8TRYhi8Hdqs5Ld0"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"0ZHwpHnK6VEMIqS"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"7CZoV7x6xHHEFNp"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"lAur9appvETGK6"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"ONc0Iv47atrya"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"EoZQw1bUj3qU9"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"kdX17jZUHJNz4"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"4zBwdv0LZrTlwTe"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"pclxJouIReBgT8Y"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"4KhaaqqOkyW6btC"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"UxqB4UeU3OG"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"tK0q2F3A0hkLqF6"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"gBkxsIR6JUoq"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"4jIzOf4wo32Cnvq"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"4yClO8jUUM6"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"Daa440tXtElXW3c"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"0nJllYZKgpqaTD"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"bUoSet68ZFHmg"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"aPdDcZYSWNLgsU"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"4P96KN473g0YI"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"vALd1Apvsl0yZ8"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"06rN49nAAdwUG"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"RHCmfryNO"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"F2Ir5fRFU9a86"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"w3Tn6x1VFIGp0"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"SFJWDjQ4xg"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"sgEAPvI6CO9S9m"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"Oh1FKRIW8SB81"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"7G5481vEbtVKoo"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"q"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"kbym2JuQakPNp"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"En9KVLLuP"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"xWOybUMYDlpZu"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"u1tyRelGkWw08"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"PS5lEK1J3o0"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"ZKmn6kRDQ6"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"vQ3xJHlCF5a1E0"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"uUDxspH9GNgmcu"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"RFOsS8KiSuep8"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"irSnDWExPgP6I"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"jmEXFPUt1Hc"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"Ix0nvmaRfpyAlst"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"Z0VaTTNYZ4H23Dl"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"tJAVkKg6tUvrR"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"120"}}]},"finish_reason":null}],"usage":null,"obfuscation":"wMhjNZDHyce229w"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"POg8eTa4Gc7B6"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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":"h"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"Zt57bns1AKWSBYd"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"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-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"FfH1KBE3yyc"}
 
-      data: {"id":"chatcmpl-CVxgj5GaPJWoYIdRUOwQgLEjaCDnb","object":"chat.completion.chunk","created":1761733645,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9501,"completion_tokens":364,"total_tokens":9865,"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":"o"}
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"l8Wl4QFXuqwK"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"Q1sAIDOkM79"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"d46blyO2A5w6AU"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"PwRai2eDUcW1Em"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"TCVvDl4lVtBMDh"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"acKEJTLJT"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"CL9S3gvhTt"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"xuKCh56LNbABRY"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"ciRPeLvMs8Bk4"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"M5aXsIy8HfG"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"r7NEThMSLgZYF2c"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"120"}}]},"finish_reason":null}],"usage":null,"obfuscation":"SEUGSELv7AJP9dz"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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":"F"}
+
+      data: {"id":"chatcmpl-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"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-CWOCRmyKJ7RHwbvkObMklDYiFPB8c","object":"chat.completion.chunk","created":1761835555,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9501,"completion_tokens":252,"total_tokens":9753,"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":"p"}
 
       data: [DONE]
 
@@ -140,7 +172,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 15.189889834s
+    duration: 12.24415425s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -186,15 +218,15 @@ interactions:
       - text/plain; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 176.149917ms
+    duration: 84.753ms
 - id: 3
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43182
+    content_length: 43240
     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-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"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":"NAB1DQHw2gqDTq"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"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":"0OQoqvn3f6vgKX"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Find"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"tjkFQVwAavwV"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Finding"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"lib2jkDPc"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" ."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"FVzYKWkCdRyjz3"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" ."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qUdl7aIc7JIGWN"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YjIhAj6gucsNHH"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Ls5YU6KTvzydY3"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"G9fkKXijRw"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"H30GrHXML3"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"hWmnIdbdX1KP9"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QXXMWJOQnIt"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"4WiZFnlU"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Glob"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"LVaisae6oc4"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Directory"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3uDuH1"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uVH6liPwuiELr"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Using"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3hS904uQpe"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GBI8nPZw"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Glob"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"EeipjNsefLb"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Directory"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"fRhq9W"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"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":"gVwsaEHMSj"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"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":"xoEGHV4a9w"}
 
-      data: {"id":"chatcmpl-CVxh0NmURYxVtqlY01HjgtD7EAp5f","object":"chat.completion.chunk","created":1761733662,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"KGvdqBbjH3kQl7"}
+      data: {"id":"chatcmpl-CWOCg6uAHFMRy0zUG1FAb2Or3yYtN","object":"chat.completion.chunk","created":1761835570,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"tT7jFdntuPYApC"}
 
       data: [DONE]
 
@@ -55,7 +55,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 513.478542ms
+    duration: 462.271209ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -79,23 +79,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"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_djbq3UQi92k8wpVk9DCI80dh","type":"function","function":{"name":"glob","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"p6nOM5WYhDLr"}
+      data: {"id":"chatcmpl-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"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_RDs8FhUC9gMfWLGEkwSjnpmq","type":"function","function":{"name":"glob","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"E8FHGL6Tt8F2"}
 
-      data: {"id":"chatcmpl-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"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":"Qet6BrVdGH6klkT"}
+      data: {"id":"chatcmpl-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"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":"HmpUOcB11nQ88iX"}
 
-      data: {"id":"chatcmpl-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"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":"PbYGdrwDvoV"}
+      data: {"id":"chatcmpl-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"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":"HECpoOgJ7Z3"}
 
-      data: {"id":"chatcmpl-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"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":"HHf7caS87kS2l"}
+      data: {"id":"chatcmpl-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"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":"c19in5f8d1IN6"}
 
-      data: {"id":"chatcmpl-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"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-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"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-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"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-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"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-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"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":"WV4cyjJKsZsIC0o"}
+      data: {"id":"chatcmpl-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"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":"RUYPR1LW0oZu6TD"}
 
-      data: {"id":"chatcmpl-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"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-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"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-CVxh09V8tSPjsVy251YpcNn5aEOnq","object":"chat.completion.chunk","created":1761733662,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9491,"completion_tokens":151,"total_tokens":9642,"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":"U5Jb"}
+      data: {"id":"chatcmpl-CWOCgF6fxcAErS2cHOOcIQLR1EAlM","object":"chat.completion.chunk","created":1761835570,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9491,"completion_tokens":151,"total_tokens":9642,"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":"h"}
 
       data: [DONE]
 
@@ -104,7 +104,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 5.043511333s
+    duration: 7.676069042s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -112,7 +112,7 @@ interactions:
     proto_minor: 1
     content_length: 42981
     host: ""

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

@@ -24,29 +24,29 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"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":"p2dZ6SfGBobu3W"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"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":"rK9a3wyCaD3Gmp"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Searching"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"fJ0HkDR"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Searching"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"DeWHqRE"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"HmkqfksclKTzkQ"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"OaHu4hHCQntwfW"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"package"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"rDqQYDxlX"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"package"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vdl6BePH1"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"soOZa4i0C7svKWT"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"bd7ec3qqNM26GWH"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"z69knWkDznXRh"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Zrirjtl2swvQp"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5FMiQ4Uwmub1z"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"TedMts3f4eQoO"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GZnOlB9Wha"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aXu8Sy3LKW"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5WcMRC1CMmN"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"E2XsLExUOHG"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" grep"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"01zSxPpLijG"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" grep"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"UGVYyVaxxYf"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"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":"koIqz6cft6"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"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":"ohOV8y1Gw0"}
 
-      data: {"id":"chatcmpl-CVxh7CMLiOysWKxFlZ2gdcgDfk1L4","object":"chat.completion.chunk","created":1761733669,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":138,"completion_tokens":9,"total_tokens":147,"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":"SJMjNdZ2QMMUch"}
+      data: {"id":"chatcmpl-CWOCqhQzC31oSU9XX6BzS3UmQKfmU","object":"chat.completion.chunk","created":1761835580,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":138,"completion_tokens":9,"total_tokens":147,"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":"OQzDrt9tamGKGj"}
 
       data: [DONE]
 
@@ -55,7 +55,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 476.912916ms
+    duration: 518.268625ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -79,41 +79,41 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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_GSn9s8Qkcdw75G6zExgcLyZi","type":"function","function":{"name":"grep","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"0X4RSYpdS8Fs"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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_w8V048svINpGdHQ39tmjjuvx","type":"function","function":{"name":"grep","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"ajnxWTDczrw4"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"UV7l4LkKrB0BnNb"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"Mov2OZwxtwQfrvj"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"gYqvOhMAlBM"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"UGrXWHc9Zno"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"nIVm6XwvVbeHb"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"2sTSHWhGeGpLi"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"YO9OtE8tSf5"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"TjNhwmQAf6L"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"4WhK7DfS9z3sg"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"tLC0TdN1K9ssh"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"4YSf9Dd6L5l"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"OxIR4kwdWk2"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"nydzYyzFgY8kJ"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"Y2kGOgR66vfEi"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"Tyk6e5zGPIaGQ"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"yliTnMQXc82PL"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"7uRU5FpftEj"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"rkel5zGlFWy"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"lefdEZgkYlVBq"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"P6HJ5TBUgAVB9"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"o4UCVH9DjF1DqZS"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"WDIcLasDgzFLAj1"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"Yf3ijUlTttCQTz"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"VQjSvLhxN5EK9J"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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":"J"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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":"B"}
 
-      data: {"id":"chatcmpl-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"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-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"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-CVxh7MWlkgUbGhud8mv4MGmqPqKRX","object":"chat.completion.chunk","created":1761733669,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9492,"completion_tokens":225,"total_tokens":9717,"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":"p"}
+      data: {"id":"chatcmpl-CWOCq9zKrlJ8Hlxlms8A6PgJTVzL6","object":"chat.completion.chunk","created":1761835580,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9492,"completion_tokens":161,"total_tokens":9653,"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":"x"}
 
       data: [DONE]
 
@@ -122,7 +122,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 6.745695292s
+    duration: 7.495142959s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -130,7 +130,7 @@ interactions:
     proto_minor: 1
     content_length: 43077
     host: ""

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

@@ -24,25 +24,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"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":"OUcCFsf9plfLIw"}
+      data: {"id":"chatcmpl-CWOD2dghNPVrxlx9yotPGlJjl1pXS","object":"chat.completion.chunk","created":1761835592,"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":"92K9KYtaau4xCI"}
 
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Listing"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zf0U5lCiD"}
+      data: {"id":"chatcmpl-CWOD2dghNPVrxlx9yotPGlJjl1pXS","object":"chat.completion.chunk","created":1761835592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"List"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ykyxbpZuAOtD"}
 
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sfdr3DM1Jf"}
+      data: {"id":"chatcmpl-CWOD2dghNPVrxlx9yotPGlJjl1pXS","object":"chat.completion.chunk","created":1761835592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"K4n3BOiY3Y"}
 
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"kfgl3WErrrJ"}
+      data: {"id":"chatcmpl-CWOD2dghNPVrxlx9yotPGlJjl1pXS","object":"chat.completion.chunk","created":1761835592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vfebf1ejUiU"}
 
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"afNDkcYCz6uDaX"}
+      data: {"id":"chatcmpl-CWOD2dghNPVrxlx9yotPGlJjl1pXS","object":"chat.completion.chunk","created":1761835592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Command"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Fnh9oI36"}
 
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"ls"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zqzkSTfCokPeVW"}
+      data: {"id":"chatcmpl-CWOD2dghNPVrxlx9yotPGlJjl1pXS","object":"chat.completion.chunk","created":1761835592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" LS"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"HBLvmooP7wEww"}
 
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wmkFiII0Y9Oa2qb"}
+      data: {"id":"chatcmpl-CWOD2dghNPVrxlx9yotPGlJjl1pXS","object":"chat.completion.chunk","created":1761835592,"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":"VVuIQFXPMQ"}
 
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Command"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MXHRRbN7"}
-
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"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":"iIIkNaa1OO"}
-
-      data: {"id":"chatcmpl-CVxhHyJqdCwGQtDrKyvvJtDrclXnA","object":"chat.completion.chunk","created":1761733679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":135,"completion_tokens":7,"total_tokens":142,"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":"KW58RCA9aKzZ87"}
+      data: {"id":"chatcmpl-CWOD2dghNPVrxlx9yotPGlJjl1pXS","object":"chat.completion.chunk","created":1761835592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"JjcbJG8uLC9jCg"}
 
       data: [DONE]
 
@@ -51,7 +47,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 542.968958ms
+    duration: 920.314333ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -75,21 +71,61 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxhHum7d1fLob7wQbTs4c6dUeYRp","object":"chat.completion.chunk","created":1761733679,"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_DnEfNg47tkE6i8f1xvrnycf4","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"lmr4yDSHCwawh6"}
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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_yKCb4wAfoqQkKn3jM5l6Bl1Z","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"vTOmVWjWyRQrMk"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"ewFt5YuAiCQcIKl"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"S7rDedrD2qMaGE"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"ppzR6JilnIT737u"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"yW4lbD7LdsYeE49"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"5ZPwJJlzrs4PMGt"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"siHjzGIoAELysln"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"WkLM5B4xXBoZvb6"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"hQYTBbA8PE4uP"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"QWO87hra1kcr1"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"yX6HdFDXLRUNz"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"i4MPi6qnbjsXK"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"lzjQIjQrXjQ9j"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"S"}
+
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"aSbstmgMBa3TL"}
 
-      data: {"id":"chatcmpl-CVxhHum7d1fLob7wQbTs4c6dUeYRp","object":"chat.completion.chunk","created":1761733679,"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":"V5l62Iw5tXtuI1N"}
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"RyI9owpN4bKf5"}
 
-      data: {"id":"chatcmpl-CVxhHum7d1fLob7wQbTs4c6dUeYRp","object":"chat.completion.chunk","created":1761733679,"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":"zMlaaPpmBHiiRs"}
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"tE1BCjPx9N99W"}
 
-      data: {"id":"chatcmpl-CVxhHum7d1fLob7wQbTs4c6dUeYRp","object":"chat.completion.chunk","created":1761733679,"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":"tVnv5U8Ic8lqfgQ"}
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"Q2eWbMPiZu2eYcZ"}
 
-      data: {"id":"chatcmpl-CVxhHum7d1fLob7wQbTs4c6dUeYRp","object":"chat.completion.chunk","created":1761733679,"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":"P6NuqcNrrnyl"}
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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":"r"}
 
-      data: {"id":"chatcmpl-CVxhHum7d1fLob7wQbTs4c6dUeYRp","object":"chat.completion.chunk","created":1761733679,"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-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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-CVxhHum7d1fLob7wQbTs4c6dUeYRp","object":"chat.completion.chunk","created":1761733679,"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-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"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-CVxhHum7d1fLob7wQbTs4c6dUeYRp","object":"chat.completion.chunk","created":1761733679,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9489,"completion_tokens":87,"total_tokens":9576,"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":"IWMJq1"}
+      data: {"id":"chatcmpl-CWOD3RDHYfGyBbAFIG8KFGSz93hs3","object":"chat.completion.chunk","created":1761835593,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9489,"completion_tokens":43,"total_tokens":9532,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"x5XJ"}
 
       data: [DONE]
 
@@ -98,15 +134,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 5.672162542s
+    duration: 5.424865083s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 42988
+    content_length: 43049
     host: ""

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

@@ -24,29 +24,27 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"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":"LnicSn4wD8GWRf"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"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":"j7SPmg0rhaTKDs"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Use"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"IZXdo9VmdCdZF"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Edit"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BeM3GAvvue4m"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Mult"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wUkBVGdm2ug"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"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":"ctyaOJmaADvc"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"ied"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"lw2EnKthwLacq"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Add"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"nGBYYK8pEX7p"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"it"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"momAyIo7whNmLs"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Comment"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aLt7xoDn"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Edy1cOVKQrsPf"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dyy40I9kfNHZu"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Modify"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"g20g3cbE3"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6EW6OQE7klP"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Y7JnFnjHGBp"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":".go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0Pgyk4uFIRtCp"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":".go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"a2IGxZTNuslXm"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Code"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"CdhHjmeRxy6"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Greeting"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"hAabjEt"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"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":"Rqkgss7Mxk"}
 
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"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":"kezhecR5hZ"}
-
-      data: {"id":"chatcmpl-CVxhPQMVtd7SrmIv02t724jvc6dWi","object":"chat.completion.chunk","created":1761733687,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":157,"completion_tokens":9,"total_tokens":166,"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":"MlDqdY6ew20bYP"}
+      data: {"id":"chatcmpl-CWODAU58xxLV08LgxVUksIXNB646f","object":"chat.completion.chunk","created":1761835600,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":157,"completion_tokens":8,"total_tokens":165,"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":"ZUDnP30tbseJUK"}
 
       data: [DONE]
 
@@ -55,7 +53,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 464.908125ms
+    duration: 511.030167ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -79,69 +77,69 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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_2kfvT9YLjB55KgVqjOkoY0n9","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"uVtMzdzHZYLlM9"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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_uatu6WsSUOe4ETvxh1t7DA8Z","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"jJLrlqTMJzSbWo"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"OBheFqQMeAVRS2f"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"UMqGVwlapwYIyr4"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"ovUpTbynEErKdC"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"3iAlHl5OqpviO7"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"yg8m089xJUAhZfJ"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"kPn3zjZYPRSFWlH"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"dHxLx0PuvHNLsa"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"ypYoBwBNsMmFUQ"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"w0gzkeIQG6hOLwI"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"Kj3hb76XvKdhTzX"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"nX9IJD0tVyXesmy"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"DfT1sTSrlQZpxRW"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"cmzGY3foOE2IO33"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"oSkGd3HHsd6h3M0"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"8gxlhIcgUaqdt"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"3yG5zBTORbhza"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"hnjlhHL6sh9RE"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"6PVweCoP1tNAN"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"xOaKygwKavpjW"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"3bNUgIPP35fFi"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"U6mfSXUZYHS8r"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"kwxsyKZBmu2qA"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"iPjgwhPDJODb7"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"GqLF543vMrsW7"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"9"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"x"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/m"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"/m"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ult"}}]},"finish_reason":null}],"usage":null,"obfuscation":"RLYxFhMEpnWvDFQ"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ult"}}]},"finish_reason":null}],"usage":null,"obfuscation":"4H2U5h6c26Hd3om"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ied"}}]},"finish_reason":null}],"usage":null,"obfuscation":"kUm611h4X7tYo3w"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ied"}}]},"finish_reason":null}],"usage":null,"obfuscation":"nF8KgaoylSMDR2A"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"it"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"it"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"udItw3v51XkR9"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"BASry3f0N3ahb"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"H2FtDSyaNgEza8T"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"TSGF1UCD7e66ps9"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"Nm29HpI4PnNcrKP"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"ZpyLKuv6N1jCpQ8"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"ZfcfeqCLWG9Ee"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"XEr08cR2RvkcX"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"x4ixKnnWrnqjoCx"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"srhio1bVNCv9Q3v"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"c"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"r"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"9"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"G"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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":"9"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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":"C"}
 
-      data: {"id":"chatcmpl-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"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-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"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-CVxhPDi25TQNZTUSHhCzxFLQkWVOZ","object":"chat.completion.chunk","created":1761733687,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9513,"completion_tokens":111,"total_tokens":9624,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":64,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Ol"}
+      data: {"id":"chatcmpl-CWODAzRZKGkE2FzLyqmgo1LIp9E5O","object":"chat.completion.chunk","created":1761835600,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9513,"completion_tokens":111,"total_tokens":9624,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":64,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"jZ"}
 
       data: [DONE]
 
@@ -150,7 +148,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 3.477606875s
+    duration: 3.512279084s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -158,7 +156,7 @@ interactions:
     proto_minor: 1
     content_length: 43152
     host: ""

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-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"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":"pPAfydXsKPNSnz"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"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":"fS0dnxDSKDYwap"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Parallel"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"I5kwdHz1"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Parallel"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Dhtg3wrn"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Execution"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"yhJGdB"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Command"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Mt2UxfBC"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"OCYNUhtxTa5xw"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Execution"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QCOgei"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Glob"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YNlUPQjUwB5"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"rEQ0LlYlljUe"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"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":"s2emJwIDXWjf"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" ."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dHzXQyLAPEGWnT"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" LS"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6oMosjVJaCJHG"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"kjRiegIiAKdCuG"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Commands"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"1GkSlvU"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Files"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"XbxcCnjozR"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"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":"XgaPRqEY5C"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"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":"UNpTOTFXPwpr"}
 
-      data: {"id":"chatcmpl-CVxiYD1I2ZQgpRLtr0xUKkTjo8yEC","object":"chat.completion.chunk","created":1761733758,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"cwWpW77FBYIOim"}
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Directory"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"7whVs8"}
+
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Listing"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"7JwoaNlq"}
+
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"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":"cjzn6xTXDE"}
+
+      data: {"id":"chatcmpl-CWOHl4bhyAdmcaY0dmCv330mLcD2Z","object":"chat.completion.chunk","created":1761835885,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"KTXK3cB3Z5UyY"}
 
       data: [DONE]
 
@@ -51,7 +57,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 486.920208ms
+    duration: 420.103916ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -75,27 +81,55 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"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":"5poS3ah"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"uedaJ2M"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_QEvGxSyJL7oSZWFvXx4pK4yM","type":"function","function":{"name":"glob","arguments":""}}]},"finish_reason":null}],"obfuscation":"tUx7YC7FIXKbO"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"bFihr4vKjEY4V"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"eiqmU9anJooih"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"QUg8WNgPh7"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"9Il6Hnqluyii0R"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"eva78xAzXQwmsA"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_AQvoS9sb8hOVGS36S97eHvXQ","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null}],"obfuscation":"JfbRilMsoLf6ugj"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_nTWkd4gIVlQ1qikh14eOOiVt","type":"function","function":{"name":"glob","arguments":""}}]},"finish_reason":null}],"obfuscation":"fzL66CtmwEYZP"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"LQrHPaDvhdOe3"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"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":"ya7BisZGSp1PN"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"BFzO8rPTJeNz"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"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":"aPpRXUZCPlYYV"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"pLplAIEOCgS"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"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":"37gv0JCSUJ"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"Zs6rgqJp5hxwmW"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"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":"6PolKMUetKk9gA"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"GYUYb81Predkx"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"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":"6TzBj92jS1838T"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"VbDUzm07hIfQ"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_xL9SnbqyX8xk2L42j3ZFoELh","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null}],"obfuscation":"q9DbbRA4L1uB3xE"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"jzwofMlU8NBnEt"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{}"}}]},"finish_reason":null}],"obfuscation":""}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"QV9SdG5nVp8Oc"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"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-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"IDyQrdnDnUay"}
 
-      data: {"id":"chatcmpl-CVxiZfZ0lDy2DpSvAzlRCF2cjZSBo","object":"chat.completion.chunk","created":1761733759,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9509,"completion_tokens":308,"total_tokens":9817,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":256,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Ovbi"}
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"ssi2ZhtT3g65NC"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"qtIRefIeHCNs1"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"yiGccyFl7LLw"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"CtJdiQigJ5MqvV"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"04m8jVnOqRr6v"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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":"ftCHGUO02l6"}
+
+      data: {"id":"chatcmpl-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"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-CWOHlJxFCktpPxUqoDB51egbcOscG","object":"chat.completion.chunk","created":1761835885,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9509,"completion_tokens":391,"total_tokens":9900,"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":"c"}
 
       data: [DONE]
 
@@ -104,15 +138,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 8.874002s
+    duration: 18.386723167s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43354
+    content_length: 43431
     host: ""

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

@@ -24,21 +24,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxfsqyhMAnXQCedYjL0jY0sLpsr6","object":"chat.completion.chunk","created":1761733592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"VK2BAijwTlajVd"}
+      data: {"id":"chatcmpl-CWOB3sJQVmRe24qinqguLTiisNfNJ","object":"chat.completion.chunk","created":1761835469,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"q8WrWNrH2R3HIB"}
 
-      data: {"id":"chatcmpl-CVxfsqyhMAnXQCedYjL0jY0sLpsr6","object":"chat.completion.chunk","created":1761733592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":"Understanding"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qOm"}
+      data: {"id":"chatcmpl-CWOB3sJQVmRe24qinqguLTiisNfNJ","object":"chat.completion.chunk","created":1761835469,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":"Reading"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RY7R2pKgd"}
 
-      data: {"id":"chatcmpl-CVxfsqyhMAnXQCedYjL0jY0sLpsr6","object":"chat.completion.chunk","created":1761733592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5vPcqD6EIohJ"}
+      data: {"id":"chatcmpl-CWOB3sJQVmRe24qinqguLTiisNfNJ","object":"chat.completion.chunk","created":1761835469,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"pHc8s1CQqjcV"}
 
-      data: {"id":"chatcmpl-CVxfsqyhMAnXQCedYjL0jY0sLpsr6","object":"chat.completion.chunk","created":1761733592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"iXF5gAJ7XhejP"}
+      data: {"id":"chatcmpl-CWOB3sJQVmRe24qinqguLTiisNfNJ","object":"chat.completion.chunk","created":1761835469,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vXLAL0HWBXbGT"}
 
-      data: {"id":"chatcmpl-CVxfsqyhMAnXQCedYjL0jY0sLpsr6","object":"chat.completion.chunk","created":1761733592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" Module"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vMjD37sXi"}
+      data: {"id":"chatcmpl-CWOB3sJQVmRe24qinqguLTiisNfNJ","object":"chat.completion.chunk","created":1761835469,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" Mod"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"y0M57FQdNchb"}
 
-      data: {"id":"chatcmpl-CVxfsqyhMAnXQCedYjL0jY0sLpsr6","object":"chat.completion.chunk","created":1761733592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"XzSQUAtgDX5"}
+      data: {"id":"chatcmpl-CWOB3sJQVmRe24qinqguLTiisNfNJ","object":"chat.completion.chunk","created":1761835469,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"k2Tvk5JZoxY"}
 
-      data: {"id":"chatcmpl-CVxfsqyhMAnXQCedYjL0jY0sLpsr6","object":"chat.completion.chunk","created":1761733592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"VtQgyQkkRQ"}
+      data: {"id":"chatcmpl-CWOB3sJQVmRe24qinqguLTiisNfNJ","object":"chat.completion.chunk","created":1761835469,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"SSjIlY0x45"}
 
-      data: {"id":"chatcmpl-CVxfsqyhMAnXQCedYjL0jY0sLpsr6","object":"chat.completion.chunk","created":1761733592,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[],"usage":{"prompt_tokens":129,"completion_tokens":5,"total_tokens":134,"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":"0GYhPD0vZ1pavO"}
+      data: {"id":"chatcmpl-CWOB3sJQVmRe24qinqguLTiisNfNJ","object":"chat.completion.chunk","created":1761835469,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[],"usage":{"prompt_tokens":129,"completion_tokens":5,"total_tokens":134,"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":"kuURrn6cyJuyte"}
 
       data: [DONE]
 
@@ -47,7 +47,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.309171083s
+    duration: 6.188927084s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,65 +71,59 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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_aisx5buOifNvNrcHEZjT36jt","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"iN6ziAF5Ms1X7J"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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_HmT0AcBj0b37MdV743fcZ3jd","type":"function","function":{"name":"view","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"AHNRfUS2dNFW"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"4lyStB0TVJ59zIa"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"TbghUHbtuGIcayM"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"3dBPEbH2pBbTVF"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"YeN79lWALZ4imD"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"GrFSjPpBrZV3oZf"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"sMTsX7CXKFfWq"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"EigLR4ieIhVNBi"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"sB5arqc84uuQAOZ"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"vTB1HPH7q8jwuDX"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"XpMlRshelUIhRCF"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"D1Og4aTC8lX5zFV"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"8JH25LluqxpcuG3"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"O2Tl07emWgB226Q"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"kPYoZhYEhm8PeEB"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"sFXlgPALvTwv5"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"KVlb8Uxy4RobdAc"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"TlcjoDJ3rfjuY"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"xSSDMpJwkn0dY"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"xHh4QdKulogGE"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"MjcteAdNjW74q"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"FP0c4wmVk4Foy"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"IlrK2XyBwIp2I"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"hA9Wjl9G0xSwW"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"EyuN0saXQPKZL"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"QtlScr6vbBtOn"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"H"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"6Y7rIJJueRyG6"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"9SOubL7mMtY6x"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"9lUe0LIaIk3jm"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"3JTsrXt4CqSt6bT"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"5YqvHRyY24ehM"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"1tuBS8VoNiLfCwV"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"OtQKY6TZgZMRrBp"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"OXiU9eaEQipxJ"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".mod"}}]},"finish_reason":null}],"usage":null,"obfuscation":"2TqNnKgFTugyx0"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"VSnKhYABQCBYCPS"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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":"6a1WVSA2nfXK7Lz"}
 
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"p"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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":"Z"}
-
-      data: {"id":"chatcmpl-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"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-CVxfshUCLBpl8gM23njNijETK3VcC","object":"chat.completion.chunk","created":1761733592,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9483,"completion_tokens":109,"total_tokens":9592,"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":"xyyKC"}
+      data: {"id":"chatcmpl-CWOB2JnpmI8Hsp9RwcjlMEOwgyQs6","object":"chat.completion.chunk","created":1761835468,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9483,"completion_tokens":169,"total_tokens":9652,"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":"T"}
 
       data: [DONE]
 
@@ -138,100 +132,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 5.358237292s
+    duration: 11.811486291s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43030
-    host: ""

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

@@ -24,21 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxfoZB6zcGc1VZrZUzSamYIAWNXh","object":"chat.completion.chunk","created":1761733588,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"aMsC5a8SLmugEm"}
+      data: {"id":"chatcmpl-CWOAsnqRm9VE0uIjyldqsMKoRm5P6","object":"chat.completion.chunk","created":1761835458,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"7BiXMOYwIkx9oe"}
 
-      data: {"id":"chatcmpl-CVxfoZB6zcGc1VZrZUzSamYIAWNXh","object":"chat.completion.chunk","created":1761733588,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":"User"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"LOYyNuNKwOaU"}
+      data: {"id":"chatcmpl-CWOAsnqRm9VE0uIjyldqsMKoRm5P6","object":"chat.completion.chunk","created":1761835458,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":"Greetings"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"HOETrTe"}
 
-      data: {"id":"chatcmpl-CVxfoZB6zcGc1VZrZUzSamYIAWNXh","object":"chat.completion.chunk","created":1761733588,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" gre"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"mCBrKVx5IO1a"}
+      data: {"id":"chatcmpl-CWOAsnqRm9VE0uIjyldqsMKoRm5P6","object":"chat.completion.chunk","created":1761835458,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GJFue9v7Lolo"}
 
-      data: {"id":"chatcmpl-CVxfoZB6zcGc1VZrZUzSamYIAWNXh","object":"chat.completion.chunk","created":1761733588,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":"ets"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"pHwmDStNNLMhM"}
+      data: {"id":"chatcmpl-CWOAsnqRm9VE0uIjyldqsMKoRm5P6","object":"chat.completion.chunk","created":1761835458,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" Introduction"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"IgX"}
 
-      data: {"id":"chatcmpl-CVxfoZB6zcGc1VZrZUzSamYIAWNXh","object":"chat.completion.chunk","created":1761733588,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sbZTyOCJuiwY"}
+      data: {"id":"chatcmpl-CWOAsnqRm9VE0uIjyldqsMKoRm5P6","object":"chat.completion.chunk","created":1761835458,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"ohJ0lHo9NC"}
 
-      data: {"id":"chatcmpl-CVxfoZB6zcGc1VZrZUzSamYIAWNXh","object":"chat.completion.chunk","created":1761733588,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{"content":" assistant"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"f4h3Jb"}
-
-      data: {"id":"chatcmpl-CVxfoZB6zcGc1VZrZUzSamYIAWNXh","object":"chat.completion.chunk","created":1761733588,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"w8CJ3UFu8C"}
-
-      data: {"id":"chatcmpl-CVxfoZB6zcGc1VZrZUzSamYIAWNXh","object":"chat.completion.chunk","created":1761733588,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[],"usage":{"prompt_tokens":126,"completion_tokens":5,"total_tokens":131,"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":"CEbJX40DtPTTCY"}
+      data: {"id":"chatcmpl-CWOAsnqRm9VE0uIjyldqsMKoRm5P6","object":"chat.completion.chunk","created":1761835458,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_65564d8ba5","choices":[],"usage":{"prompt_tokens":126,"completion_tokens":3,"total_tokens":129,"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":"P54NdCJFbEmL0l"}
 
       data: [DONE]
 
@@ -47,7 +43,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.06631825s
+    duration: 1.203604s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,13 +67,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxfpTwrcHzg9CVeTJXNaDh3AEC0U","object":"chat.completion.chunk","created":1761733589,"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":"XiifzSy3Zx"}
+      data: {"id":"chatcmpl-CWOAszFUqHQiumAunQ383rPJH6PTc","object":"chat.completion.chunk","created":1761835458,"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":"Kw0D8f1Mtc"}
 
-      data: {"id":"chatcmpl-CVxfpTwrcHzg9CVeTJXNaDh3AEC0U","object":"chat.completion.chunk","created":1761733589,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Hi"},"finish_reason":null}],"usage":null,"obfuscation":"wI28msJhka"}
+      data: {"id":"chatcmpl-CWOAszFUqHQiumAunQ383rPJH6PTc","object":"chat.completion.chunk","created":1761835458,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Hi"},"finish_reason":null}],"usage":null,"obfuscation":"QU1cr0MWiw"}
 
-      data: {"id":"chatcmpl-CVxfpTwrcHzg9CVeTJXNaDh3AEC0U","object":"chat.completion.chunk","created":1761733589,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"iToHqf"}
+      data: {"id":"chatcmpl-CWOAszFUqHQiumAunQ383rPJH6PTc","object":"chat.completion.chunk","created":1761835458,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"CBho0c"}
 
-      data: {"id":"chatcmpl-CVxfpTwrcHzg9CVeTJXNaDh3AEC0U","object":"chat.completion.chunk","created":1761733589,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9479,"completion_tokens":74,"total_tokens":9553,"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":"tTQ5Cj"}
+      data: {"id":"chatcmpl-CWOAszFUqHQiumAunQ383rPJH6PTc","object":"chat.completion.chunk","created":1761835458,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9479,"completion_tokens":10,"total_tokens":9489,"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":"1daEdho"}
 
       data: [DONE]
 
@@ -86,4 +82,4 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 3.8844445s
+    duration: 10.112062084s

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

@@ -24,35 +24,35 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"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":"nyQRnfPR5mNFuX"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"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":"fhwTPNZ2tNPjH4"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Searching"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5Z1lXvc"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Searching"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Tr1w7Ep"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"K7mRbp9xJHNKSj"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" '"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vzVB2DOU13VMuv"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"func"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"fN4z6f7wpdU7"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"func"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xN0cy74Fyetu"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xxdpmMec5mM"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AkQoyReYuQD"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"VPigHmppyEiAzMM"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"'"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"48iwwXcsVtREml9"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dNn1aDIPvyjgv"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"hMERFpceLvULm"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"UMLOIcnJjGBOe"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0WCEoiAyEzG2e"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Re"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"LHBc4UtQDuB1J"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Re"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Ajb3sOsVeKFFY"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"positories"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"tBFMl7"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"pos"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vpcMNxvP0llS0"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YoyEXpzCbxj"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RVmM2AjMBWe"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Source"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"oRUMilyWc"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Source"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"20csfeyT8"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"graph"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vsCbW6B8FR7"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"graph"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"iLWQNEbvINo"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"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":"01xlhXGDvI"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"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":"jNCd0KnuPS"}
 
-      data: {"id":"chatcmpl-CVxhb9XpRntdr2SCeaKyYgPZD2Yzo","object":"chat.completion.chunk","created":1761733699,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"MSJHp2mgtD0CD"}
+      data: {"id":"chatcmpl-CWOGMkSUYoRNmQGWUpeifJ2trX4cw","object":"chat.completion.chunk","created":1761835798,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"aiKUvRnXPEB9d"}
 
       data: [DONE]
 
@@ -61,7 +61,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 613.245583ms
+    duration: 1.153429791s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -85,93 +85,51 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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_aJVDFP0W6iLFKxt3YI1ufrYh","type":"function","function":{"name":"sourcegraph","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"Cy2ry"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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_lHUfxqWo6R0JLCoj7JTbMdrY","type":"function","function":{"name":"sourcegraph","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"GYHmY"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"vgT4V3uj42uNlrO"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"es0mkjoFumQmyfX"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"WuKq4PQNF6eJF"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"nuplTbA6vvfc4"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"2A79D0Sacq4h0"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"w3xO9a5xRpuu1"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"rHgNTJVyjT5wMn"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"a1XTAsgcne52wl"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"NzvjTqXoEb4gF"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"fKzcjKiGl9f9w"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"ATMuyeY31bWgN"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"6ssYQOFoJU5g79"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"p"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"ni1BTFw6GG7sP"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"H71CuSzAHFX"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"C"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"5dtAF1gJiVCNtJc"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"Rm6cZKal4P"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"Nrny3nlgwqqkR"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"Kc0w5hLxUjX28"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"x0CIvLSZDSRv0KM"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"7OB2RpK2rI0wO4"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"20"}}]},"finish_reason":null}],"usage":null,"obfuscation":""}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"n1nR0HakJ1yN1"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"Nue1q8L3jZbGU"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"RI9WsYKrhbIqFAv"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"aRSbhcdXXrX"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"1WHhNnrPPfONND"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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":"jW5pl0MjC9afAeR"}
 
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"qyJtClODSVo7y"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"dufIFgle5411e4"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"UNoFko4GXBTixi"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"eqj2WkxDH65jd7U"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"53rC4RF56WJa"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"oqNkZR3yzb5NQ"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"51xwmmvq1uzCE"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"baoePVzbmypw1dB"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"s0lRWW9yQiMg3ik"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"NbwraE5osS1"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"xQMMwb1w22W"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"MOpP05H4fuDXsoA"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"H"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"LZTpb1VUhWaf8mV"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"FnLP0uDpFVU"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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":"WdfI3mQbFBY9PY2"}
-
-      data: {"id":"chatcmpl-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"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-CVxhc8P00hi9v7nyu9VmMqekZE0ao","object":"chat.completion.chunk","created":1761733700,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9492,"completion_tokens":251,"total_tokens":9743,"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":"q"}
+      data: {"id":"chatcmpl-CWOGMLXSVSKRfYZHlnpAd081qvWCz","object":"chat.completion.chunk","created":1761835798,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9492,"completion_tokens":166,"total_tokens":9658,"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":"idQA"}
 
       data: [DONE]
 
@@ -180,15 +138,15 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 6.529730416s
+    duration: 19.945458166s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 484
+    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 file:\\.go$ content:\"func main(\" -file:test -file:_test.go count:10"}}'
+    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
@@ -202,21 +160,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     uncompressed: true

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

@@ -24,31 +24,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"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":"COo8l457OyXcgE"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"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":"5tvjQJBq2JyR8R"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Update"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PSuYFhJBOx"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Modify"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"y98ar3qvIm"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"XTDMk5Dt4vs"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" main"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"oHYQIkCZ3T9"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":".go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Ab1crzsxJ3SVM"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":".go"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PzeY7a5FWckmq"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"D8ozuo7RM6KrP"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"gUemaZxXzQLJ"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Print"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"g5f4xAuL7X"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" New"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uJblqrIAqNzT"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" \""},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"1yUEywLDO0XRU"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Greeting"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Ij5NriX"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"iV2XJQhI7hw"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Message"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YNpjQhXO"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" from"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3YW0T3Cr6EA"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"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":"nRkiWgGFN2"}
 
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Crush"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"TuUrlEUj4X"}
-
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"\""},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"usWGbfw0PRJC3O"}
-
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"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":"z9oIvbznOQ"}
-
-      data: {"id":"chatcmpl-CVxg2Ul1F1r6MVIMBv4rGUwO4rh67","object":"chat.completion.chunk","created":1761733602,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"7SZ5XrmBfz2kc"}
+      data: {"id":"chatcmpl-CWOBIcprGm27pKjVhKy0Y3JZSDuAa","object":"chat.completion.chunk","created":1761835484,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":139,"completion_tokens":7,"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":"UySnbUbwFiCCI3"}
 
       data: [DONE]
 
@@ -57,7 +51,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 1.258785333s
+    duration: 1.448413875s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -81,65 +75,65 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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_AHec9mWdQ536CLhJSxPwGoK9","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"Mg0QAtutJCt6Ve"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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_lsn7Ocdz9BTJGxC70WNyvqjf","type":"function","function":{"name":"ls","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"8ECkwynT5YCIAo"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"Lx5xCNamMvOErGF"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"lc91e1G79itq7bd"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"0eO9gZkTpQFS1q"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"rRuzc8ltCzQbE2"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"h9yzlqrLfOoxGrV"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"P41UgBcJXAfDsuF"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"2CApdn0anMTPbO"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"V5aDCJmipkqLzq"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"FDODzculonKSk1K"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"HTNjTiZIEoqND1o"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"AQ9kUT6DYxpzmWK"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"yRaNdcEBw49g4kC"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"x7LOCG89in6GADO"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"Kl2SlwLW40PTGpL"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"5BQjibpGX9vOR"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"kJAsA7yTXi2Os"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"k9fE4ohVRlpRt"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"mnSwYzZPI7OGK"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"GxeeKTHrCA3mT"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"s6V8gZGFgeYdT"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"KtyNiGhQ0s4re"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"XHoNOb6wELwf9"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"7Gz9OM8OW6sVU"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"tz4STvWrjRkDp"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"j"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"C"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"D"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"yOgD7EXwEY4"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"2mcx7BPW7n9"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"jmjriBzb8OrN4"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"XfqXIRDZZ0e9e"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"sWxRiqfzToe20j8"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"xHDVjLjog5rTr66"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"3caREGj3STbaoXs"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"rNIwJtUQqs9Rhxl"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"9bQfPS4z4GvoU"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"5aGj9Aq8MLVe0"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"3tA0mWsK66GCYA3"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"qH1XDy3hKIw5QIa"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"r"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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":"C"}
 
-      data: {"id":"chatcmpl-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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":"h"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"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-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"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-CVxg2MgD7rhjwDspGfG1Y1vIu9Now","object":"chat.completion.chunk","created":1761733602,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9493,"completion_tokens":45,"total_tokens":9538,"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":"yHhZFqg"}
+      data: {"id":"chatcmpl-CWOBIBW1L68XZxDITahp44wqwuIml","object":"chat.completion.chunk","created":1761835484,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9493,"completion_tokens":237,"total_tokens":9730,"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":"x"}
 
       data: [DONE]
 
@@ -148,7 +142,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 4.008910916s
+    duration: 10.902706709s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -156,7 +150,7 @@ interactions:
     proto_minor: 1
     content_length: 43090
     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-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"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":"OcEqqziWPD46fi"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"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":"TPT1JKJrjNi99M"}
 
-      data: {"id":"chatcmpl-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Creating"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"JrYNqxQ5"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Creating"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Pa3gAES3"}
 
-      data: {"id":"chatcmpl-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" config"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ZQtnHQNKI"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" a"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6EbM8Y6wMXkeXQ"}
 
-      data: {"id":"chatcmpl-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":".json"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"LJB3dk4vWaZ"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" New"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"UhG0fz2TVL4Y"}
 
-      data: {"id":"chatcmpl-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" with"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sb0zunw8UpE"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" JSON"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RZQ5hEXCra0"}
 
-      data: {"id":"chatcmpl-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Test"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3j3jGHjFnB2"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Config"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"js1EkhDBL"}
 
-      data: {"id":"chatcmpl-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Data"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vlsO150IsiS"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" File"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ZRQVAaadPPP"}
 
-      data: {"id":"chatcmpl-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"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":"NehQtKlmHH"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"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":"i2hPGBZWaZ"}
 
-      data: {"id":"chatcmpl-CVxiAs2yjsNkZKfyisdCJpzWC1PyT","object":"chat.completion.chunk","created":1761733734,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"8pyxFjKsPd7DtS"}
+      data: {"id":"chatcmpl-CWOHTqdNlZbu2fZBe7qvZ9BH052Ga","object":"chat.completion.chunk","created":1761835867,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","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":"PIS6nAP4Tqm77Z"}
 
       data: [DONE]
 
@@ -49,7 +49,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 641.712416ms
+    duration: 487.367041ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,97 +73,97 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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_UJ0wNA2wkscBRb47rg2l8SAF","type":"function","function":{"name":"write","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"rjuiXrhYTAn"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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_cnz3h3HgXcPSV9BFMmnzKBbU","type":"function","function":{"name":"write","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"or2hmtG48y6"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"otiIsHBV7KorCn9"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"VxyccGl4JxQOR8m"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"kfad4TENMNAgaz"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"8BxfWawOpN0s6f"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"w6k4VY7hTOWdF"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"YuT4czCsOiOcr"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"p7qvfVwNNyYAXdr"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"lZ1ybItMcm4V81U"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"HWU7dw1NGpeNg2R"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"2tckpn661SsMpzf"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"C8H22zcgkSslnh4"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"XNT3tpBv3mWQnKQ"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"AFiaGgGCD3PPXSR"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"eJcFQIj2eP4WvIe"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"CT55SHbfU3flrKu"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"3kyng04nrS44ZJl"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"Y7MDJFx7oC1qD"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"aKc2Kfbfg7Qj5"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"U2iNTvwi4gAdS"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"a88IAQCihAV1n"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"sbRxAN1uTDSRR"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"9m7kxwlg9gd77"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"Uao5JSvRP7I2Q"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"5zepwEx2CfNZc"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"kpfMmc5RPCjKt"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"fKHXhqCyhrXEB"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"c"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"k"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"3qy427I6oqO8"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"n8q6cj0uu8wv"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"peWDPqjSaMz83"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"BRUklMbX4J1Sj"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"Yu5geIlnydZ"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"yDx0ozk1To5"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"im72dR4UEAcxw"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"szj0rM9G5SYEa"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"rMzrXOg8BvYDZ"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"2uVOmpBgbcfxS"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"g62XyHaP6YA"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"wlM7RObQ6zE"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"vWMykJ6scRUVP"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"OlX5WUpHAWRlJ"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"IXZdDS6ZqRA8o"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"s2625xDe5bn1w"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"CwnVJ0dqt1mUyv"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"R6j45iv8u9gDL0"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"EX6vP85bSqHqM"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"9fpG8LMwFJcgK"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"OmY5cBAoAFHD8"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"aRBBs5Ph972Oa"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"62jul5geYOKtdX"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"Bli8X9I6tKdO4G"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"f9EhhlJDcmNzN"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"APIPkRIJdbSFG"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"08yCYr6ErzWbY"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"invyRBCvEf4jn"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"pQUkUwAXV0J"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"2dYAEGPPIrJ"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"egKCa7v7k4mX8"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"8pmMEicoZJ56A"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"0TMqSjuSZfJ6w"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"hNtstehZ4ehTa"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"X"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"m"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"U"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"2"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"f"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"F"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"A"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"u"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"gEhD91Yf63LPLP"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"Y89WsBLUtZgElu"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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":"52jeg9Y9i0BAENu"}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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":"wEMJDBGxInbqWWR"}
 
-      data: {"id":"chatcmpl-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"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-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"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-CVxiACtWsyetLoZgMbH0pwHDQWZzJ","object":"chat.completion.chunk","created":1761733734,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9507,"completion_tokens":892,"total_tokens":10399,"prompt_tokens_details":{"cached_tokens":2688,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":832,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":""}
+      data: {"id":"chatcmpl-CWOHTWe8swD9a77JLxKgUukMWYfGK","object":"chat.completion.chunk","created":1761835867,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":9507,"completion_tokens":380,"total_tokens":9887,"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":"H"}
 
       data: [DONE]
 
@@ -172,7 +172,7 @@ interactions:
       - text/event-stream; charset=utf-8
     status: 200 OK
     code: 200
-    duration: 22.070237958s
+    duration: 16.426927208s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -180,7 +180,7 @@ interactions:
     proto_minor: 1
     content_length: 43231
     host: ""

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

@@ -24,23 +24,27 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":"Create"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":"Create"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":" test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":" test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":".txt"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":".txt with"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":" with"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":" hello bash using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":" hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":" bash"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":" bash"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733808-gWYFVsD8O5jlSK47iImH","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733808,"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.00003048,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002058,"upstream_inference_completions_cost":0.0000099},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":" bash"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1761836175-c7rVlUHAA8JmppfwHIPS","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836175,"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},"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]
 
@@ -49,7 +53,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 589.636459ms
+    duration: 1.232872s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,67 +77,63 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"bash:0","type":"function","function":{"name":"bash","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"command"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"echo"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"hello"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" bash"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"description"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Create"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":" the"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" with"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" hello"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" bash"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"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_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"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-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]}
-
-      data: {"id":"gen-1761733808-H56MTOteqnFyOhnI05Ag","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733808,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9889,"completion_tokens":39,"total_tokens":9928,"cost":0.00555556,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00543895,"upstream_inference_completions_cost":0.00011661},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836175-3zFMbMwNSKAi6IetqZMA","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836176,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10575,"completion_tokens":35,"total_tokens":10610,"cost":0.00167375,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10575,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00158625,"upstream_inference_completions_cost":0.0000875},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -142,60 +142,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 957.039417ms
+    duration: 2.403438666s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43147
-    host: ""

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

@@ -24,25 +24,31 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":"Download"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":"Download"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":" example"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":" and save example.txt"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":".txt"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":" from example-files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":" from"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":".online"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":" example"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":"-files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":"convert.com"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":".online"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733814-zptGksGigu7PlbaRXl28","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733814,"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.0000353,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000021,"upstream_inference_completions_cost":0.0000143},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":"convert"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":".com"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1761836181-XjaM8gwPmBhsi9V8xxb2","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":150,"completion_tokens":11,"total_tokens":161,"cost":0.0000238,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000015,"upstream_inference_completions_cost":0.0000088},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -51,7 +57,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 683.878584ms
+    duration: 630.184917ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -75,29 +81,95 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"functions.download:0","index":0,"type":"function","function":{"name":"download","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"{\"url\": \"https://example-files.online"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"-convert.com/document/txt"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"/example.txt\", \"file_path"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"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-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"tmp/crush-test/Test"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"CoderAgent/openrouter-kimi"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"-k2/download_tool/example.txt"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"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-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
 
-      data: {"id":"gen-1761733814-iRpg5wrenybXMnqAuNbB","provider":"Together","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733814,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10160,"completion_tokens":51,"total_tokens":10211,"cost":0.010313,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.01016,"upstream_inference_completions_cost":0.000153},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"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_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+
+      data: {"id":"gen-1761836181-NbYRtWMyUT5y4EqqK11n","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836181,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10578,"completion_tokens":50,"total_tokens":10628,"cost":0.0017486,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016236,"upstream_inference_completions_cost":0.000125},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -106,7 +178,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 852.158708ms
+    duration: 2.808174458s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -152,15 +224,15 @@ interactions:
       - text/plain; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 183.7515ms
+    duration: 236.922917ms
 - id: 3
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43327
+    content_length: 43307
     host: ""

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

@@ -24,31 +24,31 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":"Find"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":"Find"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":" all"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":" all"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":" ."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":" ."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":"go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":"go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":" files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":" files"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":" directory"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":" directory"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":" glob"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":" glob"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1761733816-Itp2AxcvgWIzcqbOvflP","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733816,"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.0000227,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000139,"upstream_inference_completions_cost":0.0000088},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836188-tl9VWKcVPKrttdOSDd3U","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836188,"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},"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]
 
@@ -57,7 +57,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 717.71875ms
+    duration: 566.849125ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -81,25 +81,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"glob:0","type":"function","function":{"name":"glob"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"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_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"{\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"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_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"pattern"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"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_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"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_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":" \"*."}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"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_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"go"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"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_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"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_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733816-0GRhrCxFn9tIlcUfKKhC","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733816,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10568,"completion_tokens":15,"total_tokens":10583,"cost":0.0063783,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0063408,"upstream_inference_completions_cost":0.0000375},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836188-82lEE8XeI1grQD9qfrLx","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836188,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10568,"completion_tokens":15,"total_tokens":10583,"cost":0.0016551,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016176,"upstream_inference_completions_cost":0.0000375},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -108,7 +108,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.920246125s
+    duration: 2.127499458s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -132,29 +132,27 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":"Found"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":"Found"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":"1"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":" Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":"1"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":" file"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":" Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":" file"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":" `"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":"main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":"`"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":null}
-
-      data: {"id":"gen-1761733819-ObFfZMhxTHBCJB8yEvaM","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733819,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10289,"completion_tokens":11,"total_tokens":10300,"cost":0.0062009,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0061734,"upstream_inference_completions_cost":0.0000275},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836190-GdtCXAr9TVd70Xlz36HI","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836190,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10617,"completion_tokens":9,"total_tokens":10626,"cost":0.0016695,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001647,"upstream_inference_completions_cost":0.0000225},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -163,4 +161,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 525.491083ms
+    duration: 1.947105208s

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

@@ -24,17 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733820-CQHZl42X8s5cISK2alLW","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836192-d0nyn36Wd3ox7cRxui94","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836193,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733820-CQHZl42X8s5cISK2alLW","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":"Search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836192-d0nyn36Wd3ox7cRxui94","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836193,"choices":[{"index":0,"delta":{"role":"assistant","content":"Search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733820-CQHZl42X8s5cISK2alLW","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":" for package in Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836192-d0nyn36Wd3ox7cRxui94","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836193,"choices":[{"index":0,"delta":{"role":"assistant","content":" for package in Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733820-CQHZl42X8s5cISK2alLW","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":" files using grep"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836192-d0nyn36Wd3ox7cRxui94","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836193,"choices":[{"index":0,"delta":{"role":"assistant","content":" files using grep"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733820-CQHZl42X8s5cISK2alLW","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1761836192-d0nyn36Wd3ox7cRxui94","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836193,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1761733820-CQHZl42X8s5cISK2alLW","provider":"AtlasCloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":144,"completion_tokens":8,"total_tokens":152,"cost":0.0000336,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000216,"upstream_inference_completions_cost":0.000012},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836192-d0nyn36Wd3ox7cRxui94","provider":"Hyperbolic","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836193,"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.0000447,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000042,"upstream_inference_completions_cost":0.0000027},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -43,7 +43,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.170736709s
+    duration: 1.217518s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -67,35 +67,37 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"functions.grep:0","index":0,"type":"function","function":{"name":"grep","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"package"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"include"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"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-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]}
+      data: {"id":"gen-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"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_41b1161c"}
 
-      data: {"id":"gen-1761733820-twlSVCvSqdBOeRePYGWW","provider":"Parasail","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733820,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9883,"completion_tokens":23,"total_tokens":9906,"cost":0.00550442,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00543565,"upstream_inference_completions_cost":0.00006877},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+
+      data: {"id":"gen-1761836192-kaKxFnSAFeCLMNcE0yqb","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836193,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10569,"completion_tokens":22,"total_tokens":10591,"cost":0.0016732,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016182,"upstream_inference_completions_cost":0.000055},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -104,15 +106,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 899.474542ms
+    duration: 2.207646792s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43150
+    content_length: 43130
     host: ""

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

@@ -24,21 +24,25 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733828-6t3xDpaxxRgcurwc8tki","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733828-6t3xDpaxxRgcurwc8tki","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":"Use"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733828-6t3xDpaxxRgcurwc8tki","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiedit to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":"Use"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733828-6t3xDpaxxRgcurwc8tki","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" update greeting"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiedit to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733828-6t3xDpaxxRgcurwc8tki","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" and add comment in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" update"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733828-6t3xDpaxxRgcurwc8tki","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" main.go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" greeting"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733828-6t3xDpaxxRgcurwc8tki","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" and add comment in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733828-6t3xDpaxxRgcurwc8tki","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733828,"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},"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-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" main.go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+
+      data: {"id":"gen-1761836204-mkXnF9V3XCmk3hhD5fDV","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836204,"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.0000378,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000224,"upstream_inference_completions_cost":0.0000154},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -47,7 +51,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 419.65225ms
+    duration: 828.327916ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,119 +75,83 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" help"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" make"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" those"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" changes"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" using"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" mult"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":"ied"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":"it"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" use"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" mult"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" Let"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":"ied"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" me"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":"it"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" first"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" read"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" make"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" both"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" file"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" changes"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" see"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" your"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" its"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" content"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" file"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":" structure"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" Let"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" me"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" first"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" read"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" file"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" see"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" exact"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":" formatting"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"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_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"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_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733828-bRhWfDjULsovVTHPLqhR","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733828,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10590,"completion_tokens":62,"total_tokens":10652,"cost":0.0017858,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016308,"upstream_inference_completions_cost":0.000155},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836204-NH7eiQaCBsmwCWhn7U2M","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836204,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10590,"completion_tokens":44,"total_tokens":10634,"cost":0.0017408,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016308,"upstream_inference_completions_cost":0.00011},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -192,15 +160,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.999484125s
+    duration: 1.815165625s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43429
+    content_length: 43352
     host: ""

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

@@ -24,19 +24,19 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733779-sEc7tEApUgYMUp7lbCac","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835909-x7kYJho87S9UcYNmwLv9","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733779-sEc7tEApUgYMUp7lbCac","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":"Read"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835909-x7kYJho87S9UcYNmwLv9","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":"Read"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733779-sEc7tEApUgYMUp7lbCac","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835909-x7kYJho87S9UcYNmwLv9","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733779-sEc7tEApUgYMUp7lbCac","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":" go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835909-x7kYJho87S9UcYNmwLv9","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":" go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733779-sEc7tEApUgYMUp7lbCac","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":" mod"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835909-x7kYJho87S9UcYNmwLv9","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":" mod"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733779-sEc7tEApUgYMUp7lbCac","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1761835909-x7kYJho87S9UcYNmwLv9","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1761733779-sEc7tEApUgYMUp7lbCac","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":131,"completion_tokens":5,"total_tokens":136,"cost":0.0000186,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000131,"upstream_inference_completions_cost":0.0000055},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761835909-x7kYJho87S9UcYNmwLv9","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":131,"completion_tokens":5,"total_tokens":136,"cost":0.0000171,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000131,"upstream_inference_completions_cost":0.000004},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -45,7 +45,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.006641375s
+    duration: 966.716084ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,67 +69,61 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"functions.view:0","type":"function","function":{"name":"view","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"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-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"file"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"_path"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"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-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"tmp"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"/c"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"rush"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"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-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"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-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"Coder"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"Agent"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"/open"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"router"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"-k"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"imi"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"-k"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"2"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"/read"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"_a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"/read"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"_file"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"/go"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":".mod"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"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-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":".mod"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"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-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"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_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"functions.ls:1","type":"function","function":{"name":"ls","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":null,"type":"function","function":{"arguments":"{"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
-
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":null,"type":"function","function":{"arguments":"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
-
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":""}
-
-      data: {"id":"gen-1761733779-aRHVEB2A3SKaMsUrxYDu","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733779,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9944,"completion_tokens":41,"total_tokens":9985,"cost":0.0040596,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0039776,"upstream_inference_completions_cost":0.000082},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761835909-F3wvE8LvV4NYlc8HBSCL","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835909,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10560,"completion_tokens":33,"total_tokens":10593,"cost":0.0064185,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.006336,"upstream_inference_completions_cost":0.0000825},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -138,96 +132,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 4.106994583s
+    duration: 2.994577458s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43353
-    host: ""

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

@@ -24,13 +24,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733771-iUUmpKrD6ph4346Kptnp","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733771,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835907-FrJdt6U3eRNFecCvztpo","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835907,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733771-iUUmpKrD6ph4346Kptnp","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733771,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835907-FrJdt6U3eRNFecCvztpo","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835907,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733771-iUUmpKrD6ph4346Kptnp","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733771,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1761835907-FrJdt6U3eRNFecCvztpo","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835907,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1761733771-iUUmpKrD6ph4346Kptnp","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733771,"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},"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: {"id":"gen-1761835907-FrJdt6U3eRNFecCvztpo","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835907,"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},"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: [DONE]
 
@@ -39,7 +39,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.234817583s
+    duration: 1.3521075s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -63,15 +63,11 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733771-VAJMK1i5ONdLyn1C5Mbb","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733771,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835907-hyWZvkh2ITGPCtqLvkbt","provider":"DeepInfra","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835907,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733771-VAJMK1i5ONdLyn1C5Mbb","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733771,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
+      data: {"id":"gen-1761835907-hyWZvkh2ITGPCtqLvkbt","provider":"DeepInfra","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835907,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hello. What can I help you with?"},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1761733771-VAJMK1i5ONdLyn1C5Mbb","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733771,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""}
-
-      data: {"id":"gen-1761733771-VAJMK1i5ONdLyn1C5Mbb","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733771,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":""}
-
-      data: {"id":"gen-1761733771-VAJMK1i5ONdLyn1C5Mbb","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733771,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9940,"completion_tokens":2,"total_tokens":9942,"cost":0.00398,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.003976,"upstream_inference_completions_cost":0.000004},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761835907-hyWZvkh2ITGPCtqLvkbt","provider":"DeepInfra","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835907,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9950,"completion_tokens":9,"total_tokens":9959,"cost":0.004993,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.004975,"upstream_inference_completions_cost":0.000018},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -80,4 +76,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 8.038143541s
+    duration: 1.165733041s

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

@@ -24,23 +24,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836217-3ifnPFxgBK4QY1DoiCZZ","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836217-3ifnPFxgBK4QY1DoiCZZ","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":"Search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":"Search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836217-3ifnPFxgBK4QY1DoiCZZ","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":" for func"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":" for func"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836217-3ifnPFxgBK4QY1DoiCZZ","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":" main in Go repositories"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":" main in Go repositories"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836217-3ifnPFxgBK4QY1DoiCZZ","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":" using Source"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":" using Source"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836217-3ifnPFxgBK4QY1DoiCZZ","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":"graph"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":"graph"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836217-3ifnPFxgBK4QY1DoiCZZ","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
-
-      data: {"id":"gen-1761733858-zXu6rsGdHU6vwoDH9ubX","provider":"DeepInfra","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733858,"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},"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: {"id":"gen-1761836217-3ifnPFxgBK4QY1DoiCZZ","provider":"Google","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836217,"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.0000342,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000021,"upstream_inference_completions_cost":0.0000132},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -49,7 +47,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 309.261709ms
+    duration: 628.176416ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,45 +71,45 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"count"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"count"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"10"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"10"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"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_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"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_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733858-Cu0d3JZsrYvItxglBRoi","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733858,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10569,"completion_tokens":26,"total_tokens":10595,"cost":0.0016832,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016182,"upstream_inference_completions_cost":0.000065},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836217-2J0ZeJNDJcnRwX0Z6gEK","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836217,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10569,"completion_tokens":26,"total_tokens":10595,"cost":0.0016832,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016182,"upstream_inference_completions_cost":0.000065},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -120,7 +118,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.725909791s
+    duration: 2.111263958s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -148,7 +146,7 @@ interactions:
       - application/json
     status: 200 OK
     code: 200
-    duration: 1.364214834s
+    duration: 1.408952625s
 - id: 3
   request:
     proto: HTTP/1.1
@@ -172,99 +170,95 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"Found"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
-
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"30"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"Found"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" matches"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" across"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"30"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" matches"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"30"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" across"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" repositories"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"30"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" repositories"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" The"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" showing"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" search"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" various"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" shows"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" various"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" `"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" implementations"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" of"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"`"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" `"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" functions"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"func"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" Examples"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"()`"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" range"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" from"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" Go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" simple"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" programs"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" \""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" including"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" world"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" basic"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"\""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" examples"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" programs"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" from"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" G"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" complex"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"olang"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" function"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"Training"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" call"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" tutorials"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" chains"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" demonstrating"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" applications"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" stack"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" like"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" traces"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" us"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"c"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" with"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"ope"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" most"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" that"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" being"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" demonstrate"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" basic"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" function"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" program"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" call"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" entry"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":" patterns"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":" points"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733863-hnfx19rETay3BoYOBBBE","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733863,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":13262,"completion_tokens":45,"total_tokens":13307,"cost":0.0033465,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.003234,"upstream_inference_completions_cost":0.0001125},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836221-yu8OxP2UtSYUBjXEtvbp","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836221,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":13262,"completion_tokens":43,"total_tokens":13305,"cost":0.0033415,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.003234,"upstream_inference_completions_cost":0.0001075},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -273,4 +267,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.259373959s
+    duration: 2.035180375s

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

@@ -24,27 +24,27 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":"Update"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":"Update"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":" main"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":".go"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":" print"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":" print"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":" hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":" hello"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":" from"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":" from"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":" crush"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":" crush"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1761733794-B3op6tEEbXbn8lanf34Q","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733794,"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.000024,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000141,"upstream_inference_completions_cost":0.0000099},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761835918-w3PFsU16SKtTjO7w2NNp","provider":"Parasail","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761835918,"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.000024,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000141,"upstream_inference_completions_cost":0.0000099},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -53,7 +53,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 508.559083ms
+    duration: 681.606333ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -77,59 +77,61 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"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-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]}
+      data: {"id":"gen-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"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_41b1161c"}
 
-      data: {"id":"gen-1761733794-0skQfIJlGxncfol5PUrZ","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733794,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9884,"completion_tokens":34,"total_tokens":9918,"cost":0.00391936,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00385476,"upstream_inference_completions_cost":0.0000646},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+
+      data: {"id":"gen-1761835918-SEmRrs5UNuKrAAUwjjIN","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761835918,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10570,"completion_tokens":33,"total_tokens":10603,"cost":0.0017013,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016188,"upstream_inference_completions_cost":0.0000825},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -138,15 +140,15 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.583528291s
+    duration: 2.145067333s
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43245
+    content_length: 43226
     host: ""

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

@@ -24,23 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836226-q4VA5NMo1DGVbTSNUZTg","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836226,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":"Create"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836226-q4VA5NMo1DGVbTSNUZTg","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836226,"choices":[{"index":0,"delta":{"role":"assistant","content":"Create"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":" config"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836226-q4VA5NMo1DGVbTSNUZTg","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836226,"choices":[{"index":0,"delta":{"role":"assistant","content":" config.json with name"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":".json"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836226-q4VA5NMo1DGVbTSNUZTg","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836226,"choices":[{"index":0,"delta":{"role":"assistant","content":" and version data"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":" with"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
+      data: {"id":"gen-1761836226-q4VA5NMo1DGVbTSNUZTg","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836226,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
 
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":" test"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":" data"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
-
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}
-
-      data: {"id":"gen-1761733868-3cnLSj74PvP4wu6yDI8T","provider":"Chutes","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":155,"completion_tokens":7,"total_tokens":162,"cost":0.0000211,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000155,"upstream_inference_completions_cost":0.0000056},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836226-q4VA5NMo1DGVbTSNUZTg","provider":"GMICloud","model":"qwen/qwen3-next-80b-a3b-instruct","object":"chat.completion.chunk","created":1761836226,"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},"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: [DONE]
 
@@ -49,7 +43,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.005078167s
+    duration: 1.874524917s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,101 +67,101 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"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_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"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_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733868-M0J6NEeHwsU7G4K4KPxW","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733868,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10584,"completion_tokens":53,"total_tokens":10637,"cost":0.0017597,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016272,"upstream_inference_completions_cost":0.0001325},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836226-e9Ioh5UNrAdrJ5RrlhqU","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836226,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10584,"completion_tokens":53,"total_tokens":10637,"cost":0.0017597,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0016272,"upstream_inference_completions_cost":0.0001325},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -176,7 +170,7 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 2.629372458s
+    duration: 2.432215542s
 - id: 2
   request:
     proto: HTTP/1.1
@@ -200,13 +194,15 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"gen-1761733873-pv82nfQvODNB1m28oWAw","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733873,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836230-hvofq6wf4T5JNJuvc5nJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836231,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+
+      data: {"id":"gen-1761836230-hvofq6wf4T5JNJuvc5nJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836231,"choices":[{"index":0,"delta":{"role":"assistant","content":"Done"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733873-pv82nfQvODNB1m28oWAw","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733873,"choices":[{"index":0,"delta":{"role":"assistant","content":"Done"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836230-hvofq6wf4T5JNJuvc5nJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836231,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733873-pv82nfQvODNB1m28oWAw","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733873,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
+      data: {"id":"gen-1761836230-hvofq6wf4T5JNJuvc5nJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836231,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_41b1161c"}
 
-      data: {"id":"gen-1761733873-pv82nfQvODNB1m28oWAw","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761733873,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10682,"completion_tokens":2,"total_tokens":10684,"cost":0.001691,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001686,"upstream_inference_completions_cost":0.000005},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
+      data: {"id":"gen-1761836230-hvofq6wf4T5JNJuvc5nJ","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1761836231,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":10682,"completion_tokens":3,"total_tokens":10685,"cost":0.0016935,"is_byok":false,"prompt_tokens_details":{"cached_tokens":10496,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001686,"upstream_inference_completions_cost":0.0000075},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
 
       data: [DONE]
 
@@ -215,4 +211,4 @@ interactions:
       - text/event-stream
     status: 200 OK
     code: 200
-    duration: 1.439386458s
+    duration: 1.405051667s

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

@@ -24,19 +24,21 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025102918321999da3a024b8b4ea7","created":1761733940,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202510302257351e758abc5e0c48ea","created":1761836255,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025102918321999da3a024b8b4ea7","created":1761733940,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Create"}}]}
+      data: {"id":"202510302257351e758abc5e0c48ea","created":1761836255,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"B"}}]}
 
-      data: {"id":"2025102918321999da3a024b8b4ea7","created":1761733940,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" bash"}}]}
+      data: {"id":"202510302257351e758abc5e0c48ea","created":1761836255,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"ash"}}]}
 
-      data: {"id":"2025102918321999da3a024b8b4ea7","created":1761733940,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
+      data: {"id":"202510302257351e758abc5e0c48ea","created":1761836255,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"2025102918321999da3a024b8b4ea7","created":1761733940,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" without"}}]}
+      data: {"id":"202510302257351e758abc5e0c48ea","created":1761836255,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" creation"}}]}
 
-      data: {"id":"2025102918321999da3a024b8b4ea7","created":1761733940,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" timestamp"}}]}
+      data: {"id":"202510302257351e758abc5e0c48ea","created":1761836255,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" without"}}]}
 
-      data: {"id":"2025102918321999da3a024b8b4ea7","created":1761733940,"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":4}}}
+      data: {"id":"202510302257351e758abc5e0c48ea","created":1761836255,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" timestamp"}}]}
+
+      data: {"id":"202510302257351e758abc5e0c48ea","created":1761836255,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":140,"completion_tokens":10,"total_tokens":150,"prompt_tokens_details":{"cached_tokens":4}}}
 
       data: [DONE]
 
@@ -45,7 +47,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 656.420459ms
+    duration: 592.751959ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,13 +71,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202510291832205dab67d562f74cc9","created":1761733940,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251030225735d2d4db52257e40db","created":1761836255,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"202510291832205dab67d562f74cc9","created":1761733940,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251030225735d2d4db52257e40db","created":1761836255,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202510291832205dab67d562f74cc9","created":1761733940,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_2d203d1246c94ff59c6967e6","index":0,"type":"function","function":{"name":"bash","arguments":"{\"command\":\"echo 'hello bash' > test.txt\",\"description\":\"Create test.txt with 'hello bash' content\"}"}}]}}]}
+      data: {"id":"20251030225735d2d4db52257e40db","created":1761836255,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_54d421489e1843688d4cfc6c","index":0,"type":"function","function":{"name":"bash","arguments":"{\"command\":\"echo 'hello bash' > test.txt\",\"description\":\"Create test.txt with specified content\"}"}}]}}]}
 
-      data: {"id":"202510291832205dab67d562f74cc9","created":1761733940,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10285,"completion_tokens":40,"total_tokens":10325,"prompt_tokens_details":{"cached_tokens":10232}}}
+      data: {"id":"20251030225735d2d4db52257e40db","created":1761836255,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10285,"completion_tokens":37,"total_tokens":10322,"prompt_tokens_details":{"cached_tokens":10232}}}
 
       data: [DONE]
 
@@ -84,15 +86,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 720.599208ms
+    duration: 783.959417ms
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43058
+    content_length: 43055
     host: ""

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

@@ -24,23 +24,17 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202510302257373253f62e826d4435","created":1761836257,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Download"}}]}
+      data: {"id":"202510302257373253f62e826d4435","created":1761836257,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Download"}}]}
 
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
+      data: {"id":"202510302257373253f62e826d4435","created":1761836257,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" example"}}]}
 
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" from"}}]}
+      data: {"id":"202510302257373253f62e826d4435","created":1761836257,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" txt"}}]}
 
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" URL"}}]}
+      data: {"id":"202510302257373253f62e826d4435","created":1761836257,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]}
-
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" save"}}]}
-
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" locally"}}]}
-
-      data: {"id":"20251029183222c2929f83bb5a4d83","created":1761733942,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":143,"completion_tokens":11,"total_tokens":154,"prompt_tokens_details":{"cached_tokens":114}}}
+      data: {"id":"202510302257373253f62e826d4435","created":1761836257,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":143,"completion_tokens":8,"total_tokens":151,"prompt_tokens_details":{"cached_tokens":114}}}
 
       data: [DONE]
 
@@ -49,7 +43,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 615.878792ms
+    duration: 633.052833ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -73,13 +67,189 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251029183222dac46479fbe14e3a","created":1761733942,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" download"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specific"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" URL"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" save"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"example"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".txt"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"."}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" download"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" task"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" URL"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" https"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"://"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"example"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-files"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".online"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"convert"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".com"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/document"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/t"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"xt"}}]}
 
-      data: {"id":"20251029183222dac46479fbe14e3a","created":1761733942,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/example"}}]}
 
-      data: {"id":"20251029183222dac46479fbe14e3a","created":1761733942,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_fce6343ca90343508dc8de0d","index":0,"type":"function","function":{"name":"download","arguments":"{\"url\":\"https://example-files.online-convert.com/document/txt/example.txt\",\"file_path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/download_tool/example.txt\"}"}}]}}]}
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".txt"}}]}
 
-      data: {"id":"20251029183222dac46479fbe14e3a","created":1761733942,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10288,"completion_tokens":55,"total_tokens":10343,"prompt_tokens_details":{"cached_tokens":10232}}}
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" output"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" be"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" example"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".txt"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"since"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" they"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" didn"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'t"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specify"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" full"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'ll"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" save"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n\n"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" download"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" these"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameters"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_089bfacdd19444eea85ebd42","index":0,"type":"function","function":{"name":"download","arguments":"{\"url\":\"https://example-files.online-convert.com/document/txt/example.txt\",\"file_path\":\"example.txt\"}"}}]}}]}
+
+      data: {"id":"20251030225737100b29dc5d85403e","created":1761836257,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10288,"completion_tokens":127,"total_tokens":10415,"prompt_tokens_details":{"cached_tokens":10232}}}
 
       data: [DONE]
 
@@ -88,7 +258,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 722.089ms
+    duration: 824.205916ms
 - id: 2
   request:
     proto: HTTP/1.1
@@ -134,15 +304,15 @@ interactions:
       - text/plain; charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 165.79825ms
+    duration: 58.724208ms
 - id: 3
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43226
+    content_length: 43170
     host: ""

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

@@ -6,9 +6,9 @@ interactions:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 718
+    content_length: 42676
     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 in the current directory\n <think>\n\n</think>","role":"user"}],"model":"glm-4.5-air","max_tokens":40,"stream_options":{"include_usage":true},"stream":true}'

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

@@ -24,13 +24,13 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202510291832276c8a6145c6c64a22","created":1761733947,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"202510302257452d1313ae731247f8","created":1761836265,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"202510291832276c8a6145c6c64a22","created":1761733947,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202510302257452d1313ae731247f8","created":1761836265,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202510291832276c8a6145c6c64a22","created":1761733947,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_a1ddeeb8a5f84a93b0b3c4d2","index":0,"type":"function","function":{"name":"grep","arguments":"{\"include\":\"*.go\",\"pattern\":\"package\"}"}}]}}]}
+      data: {"id":"202510302257452d1313ae731247f8","created":1761836265,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_933b7e9d956749b0b1c9f784","index":0,"type":"function","function":{"name":"grep","arguments":"{\"include\":\"*.go\",\"pattern\":\"package\"}"}}]}}]}
 
-      data: {"id":"202510291832276c8a6145c6c64a22","created":1761733947,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10279,"completion_tokens":26,"total_tokens":10305,"prompt_tokens_details":{"cached_tokens":10232}}}
+      data: {"id":"202510302257452d1313ae731247f8","created":1761836265,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10279,"completion_tokens":26,"total_tokens":10305,"prompt_tokens_details":{"cached_tokens":10233}}}
 
       data: [DONE]
 
@@ -39,7 +39,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 674.027708ms
+    duration: 680.185584ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -63,17 +63,15 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202510291832277139fecd64054e23","created":1761733947,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251030225745cd9c216f6e154d37","created":1761836265,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202510291832277139fecd64054e23","created":1761733947,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"grep"}}]}
+      data: {"id":"20251030225745cd9c216f6e154d37","created":1761836265,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"grep"}}]}
 
-      data: {"id":"202510291832277139fecd64054e23","created":1761733947,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" package"}}]}
+      data: {"id":"20251030225745cd9c216f6e154d37","created":1761836265,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" package go"}}]}
 
-      data: {"id":"202510291832277139fecd64054e23","created":1761733947,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" *."}}]}
+      data: {"id":"20251030225745cd9c216f6e154d37","created":1761836265,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" files"}}]}
 
-      data: {"id":"202510291832277139fecd64054e23","created":1761733947,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"go"}}]}
-
-      data: {"id":"202510291832277139fecd64054e23","created":1761733947,"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: {"id":"20251030225745cd9c216f6e154d37","created":1761836265,"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]
 
@@ -82,7 +80,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 764.02725ms
+    duration: 587.853ms
 - id: 2
   request:
     proto: HTTP/1.1
@@ -90,7 +88,7 @@ interactions:
     proto_minor: 1
     content_length: 43057
     host: ""

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

@@ -24,21 +24,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025102918323136c292c30b5948ee","created":1761733951,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025102918323136c292c30b5948ee","created":1761733951,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Edit"}}]}
+      data: {"id":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Edit"}}]}
 
-      data: {"id":"2025102918323136c292c30b5948ee","created":1761733951,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Go"}}]}
+      data: {"id":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
 
-      data: {"id":"2025102918323136c292c30b5948ee","created":1761733951,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" greeting"}}]}
+      data: {"id":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
 
-      data: {"id":"2025102918323136c292c30b5948ee","created":1761733951,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]}
+      data: {"id":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" greeting"}}]}
 
-      data: {"id":"2025102918323136c292c30b5948ee","created":1761733951,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" add"}}]}
+      data: {"id":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]}
 
-      data: {"id":"2025102918323136c292c30b5948ee","created":1761733951,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" comment"}}]}
+      data: {"id":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" add"}}]}
 
-      data: {"id":"2025102918323136c292c30b5948ee","created":1761733951,"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":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" comment"}}]}
+
+      data: {"id":"20251030225751dcbca7bc5c1c4bea","created":1761836271,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":153,"completion_tokens":11,"total_tokens":164,"prompt_tokens_details":{"cached_tokens":115}}}
 
       data: [DONE]
 
@@ -47,7 +49,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 807.196625ms
+    duration: 607.46925ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,199 +73,67 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" mult"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ied"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"it"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Change"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hello"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" World"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"!'"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hello"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Crush"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"!'\n"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Add"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" comment"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '//"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" G"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"reeting"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" above"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" fmt"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".Println"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" line"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"First"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"'ll"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" help"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" use"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" mult"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" read"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"ied"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"it"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" modify"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" understand"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" its"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"."}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" state"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" Let"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" me"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" structure"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" first"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" read"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" then"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" mult"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ied"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" see"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"it"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" its"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" current"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" make"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" contents"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":".\n"}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changes"}}]}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_833a8e943dc4451b999dce95","index":0,"type":"function","function":{"name":"view","arguments":"{\"file_path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/multiedit_tool/main.go\"}"}}]}}]}
 
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" one"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" operation"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" start"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" by"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" viewing"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" see"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" what"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'s"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" currently"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_013f54c8c7bd47a48b924c06","index":0,"type":"function","function":{"name":"view","arguments":"{\"file_path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/multiedit_tool/main.go\"}"}}]}}]}
-
-      data: {"id":"202510291832314ab8147fda644c1b","created":1761733951,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10301,"completion_tokens":131,"total_tokens":10432,"prompt_tokens_details":{"cached_tokens":10232}}}
+      data: {"id":"2025103022575182bc09e045f6469f","created":1761836271,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10301,"completion_tokens":65,"total_tokens":10366,"prompt_tokens_details":{"cached_tokens":10232}}}
 
       data: [DONE]
 
@@ -272,15 +142,15 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 658.704958ms
+    duration: 653.21975ms
 - id: 2
   request:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 43216
+    content_length: 43329
     host: ""

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

@@ -24,19 +24,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025102918325085e754557ab54389","created":1761733970,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025102918325085e754557ab54389","created":1761733970,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Parallel"}}]}
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Parallel"}}]}
 
-      data: {"id":"2025102918325085e754557ab54389","created":1761733970,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" glob"}}]}
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" glob"}}]}
 
-      data: {"id":"2025102918325085e754557ab54389","created":1761733970,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]}
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]}
 
-      data: {"id":"2025102918325085e754557ab54389","created":1761733970,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" ls"}}]}
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" ls"}}]}
 
-      data: {"id":"2025102918325085e754557ab54389","created":1761733970,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" commands"}}]}
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]}
 
-      data: {"id":"2025102918325085e754557ab54389","created":1761733970,"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":122}}}
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" Go"}}]}
+
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" files"}}]}
+
+      data: {"id":"20251030225819aa9713faf3e844ca","created":1761836299,"model":"glm-4.5-air","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":149,"completion_tokens":11,"total_tokens":160,"prompt_tokens_details":{"cached_tokens":122}}}
 
       data: [DONE]
 
@@ -45,7 +49,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 729.023ms
+    duration: 600.076583ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -69,15 +73,15 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"202510291832503dd2d843d82042e3","created":1761733970,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"20251030225819269ba3d2d8d44c2a","created":1761836299,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"202510291832503dd2d843d82042e3","created":1761733970,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251030225819269ba3d2d8d44c2a","created":1761836299,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"202510291832503dd2d843d82042e3","created":1761733970,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_89a95270d84c4281a224021b","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"**/*.go\"}"}}]}}]}
+      data: {"id":"20251030225819269ba3d2d8d44c2a","created":1761836299,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_74eea25cfda44e6bb36a360e","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"**/*.go\"}"}}]}}]}
 
-      data: {"id":"202510291832503dd2d843d82042e3","created":1761733970,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_ae0a41015c1b46cdaf341a41","index":1,"type":"function","function":{"name":"ls","arguments":"{\"path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/parallel_tool_calls\"}"}}]}}]}
+      data: {"id":"20251030225819269ba3d2d8d44c2a","created":1761836299,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_6be6d6c2547b45d19595a21e","index":1,"type":"function","function":{"name":"ls","arguments":"{\"path\":\"/tmp/crush-test/TestCoderAgent/zai-glm4.6/parallel_tool_calls\"}"}}]}}]}
 
-      data: {"id":"202510291832503dd2d843d82042e3","created":1761733970,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10296,"completion_tokens":49,"total_tokens":10345,"prompt_tokens_details":{"cached_tokens":10232}}}
+      data: {"id":"20251030225819269ba3d2d8d44c2a","created":1761836299,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10296,"completion_tokens":49,"total_tokens":10345,"prompt_tokens_details":{"cached_tokens":10233}}}
 
       data: [DONE]
 
@@ -86,7 +90,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 1.201420458s
+    duration: 702.266666ms
 - id: 2
   request:
     proto: HTTP/1.1
@@ -94,7 +98,7 @@ interactions:
     proto_minor: 1
     content_length: 43427
     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":"2025102918312703ad574c829a4b77","created":1761733887,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251030225721942f640295644933","created":1761836241,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025102918312703ad574c829a4b77","created":1761733887,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
+      data: {"id":"20251030225721942f640295644933","created":1761836241,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
 
-      data: {"id":"2025102918312703ad574c829a4b77","created":1761733887,"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":114}}}
+      data: {"id":"20251030225721942f640295644933","created":1761836241,"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":114}}}
 
       data: [DONE]
 
@@ -37,7 +37,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 2.761298541s
+    duration: 2.39982275s
 - id: 1
   request:
     proto: HTTP/1.1
@@ -61,29 +61,29 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"!"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"!"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" How"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" How"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" can"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" can"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" I"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" I"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" help"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" help"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" today"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":" today"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"?"}}]}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"?"}}]}
 
-      data: {"id":"2025102918312741751065f16040a7","created":1761733887,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10266,"completion_tokens":14,"total_tokens":10280,"prompt_tokens_details":{"cached_tokens":45}}}
+      data: {"id":"202510302257210bd495edfa8b4bb8","created":1761836241,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10266,"completion_tokens":14,"total_tokens":10280,"prompt_tokens_details":{"cached_tokens":45}}}
 
       data: [DONE]
 
@@ -92,4 +92,4 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 3.244215459s
+    duration: 2.827181625s

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

@@ -6,9 +6,9 @@ interactions:
     proto: HTTP/1.1
     proto_major: 1
     proto_minor: 1
-    content_length: 723
+    content_length: 42688
     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 sourcegraph to search for ''func main'' in Go repositories\n <think>\n\n</think>","role":"user"}],"model":"glm-4.5-air","max_tokens":40,"stream_options":{"include_usage":true},"stream":true}'

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

@@ -24,25 +24,23 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Update"}}]}
+      data: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Update main"}}]}
 
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" main"}}]}
+      data: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
 
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".go"}}]}
+      data: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]}
 
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]}
+      data: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" print"}}]}
 
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" print"}}]}
+      data: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" hello"}}]}
 
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" hello"}}]}
+      data: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" from"}}]}
 
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" from"}}]}
+      data: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" crush"}}]}
 
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" crush"}}]}
-
-      data: {"id":"20251029183204383353ac76db4b68","created":1761733924,"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: {"id":"20251030225727fb641b40b63545f1","created":1761836247,"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":4}}}
 
       data: [DONE]
 
@@ -51,7 +49,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 615.001083ms
+    duration: 624.020292ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -75,153 +73,179 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" update"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" by"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changing"}}]}
+
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" update"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" crush"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"."}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" First"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" change"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n\n"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" statement"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Find"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" crush"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"."}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Read"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n\n"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" see"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" First"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" find"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Edit"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Read"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" change"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" understand"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" statement"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"4"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" statement"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Verify"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" change"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Edit"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" start"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" change"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" by"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" looking"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" print"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" crush"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"\n\n"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" then"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Let"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" reading"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" it"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" start"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" by"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" see"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" finding"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" what"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" needs"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" main"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".go"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" be"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" changed"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_0d013783d99841168f8c8fc0","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"**/main.go\"}"}}]}}]}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_93c9451dae1b47d98ec57d51","index":0,"type":"function","function":{"name":"glob","arguments":"{\"pattern\":\"**/main.go\"}"}}]}}]}
 
-      data: {"id":"20251029183204b52b98b9a9f742ce","created":1761733924,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10280,"completion_tokens":90,"total_tokens":10370,"prompt_tokens_details":{"cached_tokens":45}}}
+      data: {"id":"2025103022572748efd926e1714b9d","created":1761836247,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10280,"completion_tokens":103,"total_tokens":10383,"prompt_tokens_details":{"cached_tokens":10232}}}
 
       data: [DONE]
 
@@ -230,7 +254,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 5.139200333s
+    duration: 924.261083ms
 - id: 2
   request:
     proto: HTTP/1.1
@@ -238,7 +262,7 @@ interactions:
     proto_minor: 1
     content_length: 43011
     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":"2025102918324772f21754518745ad","created":1761733967,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202510302258087207cf9fda754922","created":1761836288,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
 
-      data: {"id":"2025102918324772f21754518745ad","created":1761733967,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Create"}}]}
+      data: {"id":"202510302258087207cf9fda754922","created":1761836288,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":"Create"}}]}
 
-      data: {"id":"2025102918324772f21754518745ad","created":1761733967,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" config"}}]}
+      data: {"id":"202510302258087207cf9fda754922","created":1761836288,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" config"}}]}
 
-      data: {"id":"2025102918324772f21754518745ad","created":1761733967,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".json"}}]}
+      data: {"id":"202510302258087207cf9fda754922","created":1761836288,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":".json"}}]}
 
-      data: {"id":"2025102918324772f21754518745ad","created":1761733967,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
+      data: {"id":"202510302258087207cf9fda754922","created":1761836288,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" file"}}]}
 
-      data: {"id":"2025102918324772f21754518745ad","created":1761733967,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" JSON"}}]}
+      data: {"id":"202510302258087207cf9fda754922","created":1761836288,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" with"}}]}
 
-      data: {"id":"2025102918324772f21754518745ad","created":1761733967,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" content"}}]}
+      data: {"id":"202510302258087207cf9fda754922","created":1761836288,"model":"glm-4.5-air","choices":[{"index":0,"delta":{"role":"assistant","content":" content"}}]}
 
-      data: {"id":"2025102918324772f21754518745ad","created":1761733967,"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":"202510302258087207cf9fda754922","created":1761836288,"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: [DONE]
 
@@ -47,7 +47,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 658.645917ms
+    duration: 553.93275ms
 - id: 1
   request:
     proto: HTTP/1.1
@@ -71,13 +71,317 @@ interactions:
     proto_minor: 0
     content_length: -1
     body: |+
-      data: {"id":"2025102918324792caa0b563714f0b","created":1761733967,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
 
-      data: {"id":"2025102918324792caa0b563714f0b","created":1761733967,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
 
-      data: {"id":"2025102918324792caa0b563714f0b","created":1761733967,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_19ceb1a698a14e929da1d909","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":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]}
 
-      data: {"id":"2025102918324792caa0b563714f0b","created":1761733967,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10294,"completion_tokens":58,"total_tokens":10352,"prompt_tokens_details":{"cached_tokens":10232}}}
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" write"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" create"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" new"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" called"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" config"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".json"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specific"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" This"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" straightforward"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n\n"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Use"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" write"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tool"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" file"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"_path"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"config"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".json"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"should"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" be"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" absolute"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" so"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '{\""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"name"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\":"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"test"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\","}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"version"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\":"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"0"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"0"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"}"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'\n\n"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Since"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" working"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" directory"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \"/"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"tmp"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/c"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"rush"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-test"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/Test"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Coder"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Agent"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/z"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ai"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-g"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"lm"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"4"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"6"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/write"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"_tool"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\","}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" absolute"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" path"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \"/"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"tmp"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/c"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"rush"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-test"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/Test"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Coder"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Agent"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/z"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ai"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-g"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"lm"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"4"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"6"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/write"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"_tool"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/config"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".json"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"\n\n"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" content"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" exactly"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provided"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" '{\""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"name"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\":"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"test"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\","}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"version"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\":"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"1"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"0"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"0"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"}"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]}
+
+      data: {"id":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_2dab8c1c732c40cea2d4c8cc","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":"202510302258085e169666caaf40d7","created":1761836288,"model":"glm-4.6","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":10294,"completion_tokens":210,"total_tokens":10504,"prompt_tokens_details":{"cached_tokens":10232}}}
 
       data: [DONE]
 
@@ -86,7 +390,7 @@ interactions:
       - text/event-stream;charset=UTF-8
     status: 200 OK
     code: 200
-    duration: 724.87625ms
+    duration: 727.210708ms
 - id: 2
   request:
     proto: HTTP/1.1
@@ -94,7 +398,7 @@ interactions:
     proto_minor: 1
     content_length: 43231
     host: ""

internal/config/load_test.go 🔗

@@ -485,7 +485,7 @@ func TestConfig_setupAgentsWithDisabledTools(t *testing.T) {
 	cfg.SetupAgents()
 	coderAgent, ok := cfg.Agents[AgentCoder]
 	require.True(t, ok)
-	assert.Equal(t, []string{"agent", "bash", "multiedit", "lsp_diagnostics", "lsp_references", "fetch", "glob", "ls", "sourcegraph", "view", "write"}, coderAgent.AllowedTools)
+	assert.Equal(t, []string{"agent", "bash", "multiedit", "lsp_diagnostics", "lsp_references", "fetch", "agentic_fetch", "glob", "ls", "sourcegraph", "view", "write"}, coderAgent.AllowedTools)
 
 	taskAgent, ok := cfg.Agents[AgentTask]
 	require.True(t, ok)
@@ -508,7 +508,7 @@ func TestConfig_setupAgentsWithEveryReadOnlyToolDisabled(t *testing.T) {
 	cfg.SetupAgents()
 	coderAgent, ok := cfg.Agents[AgentCoder]
 	require.True(t, ok)
-	assert.Equal(t, []string{"agent", "bash", "download", "edit", "multiedit", "lsp_diagnostics", "lsp_references", "fetch", "write"}, coderAgent.AllowedTools)
+	assert.Equal(t, []string{"agent", "bash", "download", "edit", "multiedit", "lsp_diagnostics", "lsp_references", "fetch", "agentic_fetch", "write"}, coderAgent.AllowedTools)
 
 	taskAgent, ok := cfg.Agents[AgentTask]
 	require.True(t, ok)