all: update tests for claude 4
diff --git a/dockerimg/testdata/testcreatedockerfile_python_misery.httprr b/dockerimg/testdata/testcreatedockerfile_python_misery.httprr
index e4b1e27..8817d9d 100644
--- a/dockerimg/testdata/testcreatedockerfile_python_misery.httprr
+++ b/dockerimg/testdata/testcreatedockerfile_python_misery.httprr
@@ -1,14 +1,14 @@
httprr trace v1
-4116 1981
+4114 1849
POST https://api.anthropic.com/v1/messages HTTP/1.1
Host: api.anthropic.com
User-Agent: Go-http-client/1.1
-Content-Length: 3919
+Content-Length: 3917
Anthropic-Version: 2023-06-01
Content-Type: application/json
{
- "model": "claude-3-7-sonnet-20250219",
+ "model": "claude-sonnet-4-20250514",
"messages": [
{
"role": "user",
@@ -54,24 +54,24 @@
Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
Anthropic-Ratelimit-Input-Tokens-Limit: 200000
Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
-Anthropic-Ratelimit-Input-Tokens-Reset: 2025-05-20T02:20:44Z
+Anthropic-Ratelimit-Input-Tokens-Reset: 2025-05-24T19:26:37Z
Anthropic-Ratelimit-Output-Tokens-Limit: 80000
-Anthropic-Ratelimit-Output-Tokens-Remaining: 79000
-Anthropic-Ratelimit-Output-Tokens-Reset: 2025-05-20T02:20:47Z
+Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
+Anthropic-Ratelimit-Output-Tokens-Reset: 2025-05-24T19:26:39Z
Anthropic-Ratelimit-Requests-Limit: 4000
Anthropic-Ratelimit-Requests-Remaining: 3999
-Anthropic-Ratelimit-Requests-Reset: 2025-05-20T02:20:42Z
+Anthropic-Ratelimit-Requests-Reset: 2025-05-24T19:26:35Z
Anthropic-Ratelimit-Tokens-Limit: 280000
-Anthropic-Ratelimit-Tokens-Remaining: 279000
-Anthropic-Ratelimit-Tokens-Reset: 2025-05-20T02:20:44Z
+Anthropic-Ratelimit-Tokens-Remaining: 280000
+Anthropic-Ratelimit-Tokens-Reset: 2025-05-24T19:26:37Z
Cf-Cache-Status: DYNAMIC
-Cf-Ray: 94285b3aacca7ad9-SJC
+Cf-Ray: 944f2f825eb7cf2e-SJC
Content-Type: application/json
-Date: Tue, 20 May 2025 02:20:47 GMT
-Request-Id: req_011CPHyyWKrFQT4xf4BTF6pR
+Date: Sat, 24 May 2025 19:26:39 GMT
+Request-Id: req_011CPSuSZvr61mxd6kuxhH4D
Server: cloudflare
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Via: 1.1 google
X-Robots-Tag: none
-{"id":"msg_0157U2SFYKMiWTV8zs7V7JHY","type":"message","role":"assistant","model":"claude-3-7-sonnet-20250219","content":[{"type":"text","text":"Based on the README.md contents, I can see that this project requires Python 3.11 and the DVC (Data Version Control) tool. I'll create a Dockerfile with extra commands to set up these requirements."},{"type":"tool_use","id":"toolu_01FX5RkeZt8mwx6vsBwVGowR","name":"dockerfile","input":{"extra_cmds":"RUN apt-get update && apt-get install -y python3.11 python3.11-venv python3-pip || true\n\n# Install DVC (Data Version Control)\nRUN pip3 install dvc || true\n\n# Set up Python 3.11 as the default Python version if available\nRUN if command -v python3.11 &> /dev/null; then \\\n update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1; \\\n fi || true"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":4,"cache_creation_input_tokens":1351,"cache_read_input_tokens":0,"output_tokens":227}}
\ No newline at end of file
+{"id":"msg_01M5T43NcRNzThpLjouPwhyb","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Based on the repository content, I can see this is a Go project that also requires Python 3.11 and the dvc tool. I'll create a Dockerfile with the necessary extra commands to set up this environment."},{"type":"tool_use","id":"toolu_011poaC5Ci5MDx4gECtv9E4K","name":"dockerfile","input":{"extra_cmds":"RUN apt-get update && apt-get install -y --no-install-recommends python3.11 python3.11-venv python3.11-dev python3-pip || true\nRUN python3.11 -m pip install --upgrade pip || true\nRUN python3.11 -m pip install dvc || true"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":4,"cache_creation_input_tokens":1351,"cache_read_input_tokens":0,"output_tokens":177,"service_tier":"standard"}}
\ No newline at end of file