@ai-sdk/anthropic 3.0.21 → 3.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +20 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -5
- package/src/anthropic-provider.ts +32 -7
- package/src/__fixtures__/anthropic-code-execution-20250825.1.chunks.txt +0 -248
- package/src/__fixtures__/anthropic-code-execution-20250825.1.json +0 -70
- package/src/__fixtures__/anthropic-code-execution-20250825.2.chunks.txt +0 -984
- package/src/__fixtures__/anthropic-code-execution-20250825.2.json +0 -111
- package/src/__fixtures__/anthropic-code-execution-20250825.pptx-skill.chunks.txt +0 -691
- package/src/__fixtures__/anthropic-code-execution-20250825.pptx-skill.json +0 -1801
- package/src/__fixtures__/anthropic-json-other-tool.1.chunks.txt +0 -13
- package/src/__fixtures__/anthropic-json-other-tool.1.json +0 -26
- package/src/__fixtures__/anthropic-json-output-format.1.chunks.txt +0 -120
- package/src/__fixtures__/anthropic-json-output-format.1.json +0 -25
- package/src/__fixtures__/anthropic-json-tool.1.chunks.txt +0 -9
- package/src/__fixtures__/anthropic-json-tool.1.json +0 -37
- package/src/__fixtures__/anthropic-json-tool.2.chunks.txt +0 -14
- package/src/__fixtures__/anthropic-mcp.1.chunks.txt +0 -17
- package/src/__fixtures__/anthropic-mcp.1.json +0 -39
- package/src/__fixtures__/anthropic-memory-20250818.1.json +0 -28
- package/src/__fixtures__/anthropic-message-delta-input-tokens.chunks.txt +0 -8
- package/src/__fixtures__/anthropic-programmatic-tool-calling.1.chunks.txt +0 -278
- package/src/__fixtures__/anthropic-programmatic-tool-calling.1.json +0 -106
- package/src/__fixtures__/anthropic-tool-no-args.chunks.txt +0 -13
- package/src/__fixtures__/anthropic-tool-no-args.json +0 -31
- package/src/__fixtures__/anthropic-tool-search-bm25.1.chunks.txt +0 -47
- package/src/__fixtures__/anthropic-tool-search-bm25.1.json +0 -67
- package/src/__fixtures__/anthropic-tool-search-deferred-bm25.2.json +0 -65
- package/src/__fixtures__/anthropic-tool-search-deferred-bm25.chunks.txt +0 -115
- package/src/__fixtures__/anthropic-tool-search-deferred-regex.2.json +0 -69
- package/src/__fixtures__/anthropic-tool-search-deferred-regex.chunks.txt +0 -119
- package/src/__fixtures__/anthropic-tool-search-regex.1.chunks.txt +0 -51
- package/src/__fixtures__/anthropic-tool-search-regex.1.json +0 -65
- package/src/__fixtures__/anthropic-web-fetch-tool.1.chunks.txt +0 -64
- package/src/__fixtures__/anthropic-web-fetch-tool.1.json +0 -54
- package/src/__fixtures__/anthropic-web-fetch-tool.2.json +0 -56
- package/src/__fixtures__/anthropic-web-fetch-tool.error.json +0 -46
- package/src/__fixtures__/anthropic-web-search-tool.1.chunks.txt +0 -120
- package/src/__fixtures__/anthropic-web-search-tool.1.json +0 -181
- package/src/__snapshots__/anthropic-messages-language-model.test.ts.snap +0 -16719
- package/src/anthropic-error.test.ts +0 -42
- package/src/anthropic-messages-language-model.test.ts +0 -7368
- package/src/anthropic-prepare-tools.test.ts +0 -1219
- package/src/anthropic-provider.test.ts +0 -162
- package/src/convert-to-anthropic-messages-prompt.test.ts +0 -2902
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{"type":"message_start","message":{"model":"claude-haiku-4-5-20251001","id":"msg_01CD3XaZfhNabxRt1SG5ybtK","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":843,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":16,"service_tier":"standard"}}}
|
|
2
|
-
{"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_019Zvehfe1XQWweT1pm7okyt","name":"weather","input":{}}}
|
|
3
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}}
|
|
4
|
-
{"type":"ping"}
|
|
5
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"location\": \"San Francisco"}}
|
|
6
|
-
{"type":"ping"}
|
|
7
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"}"}}
|
|
8
|
-
{"type":"ping"}
|
|
9
|
-
{"type":"content_block_stop","index":0}
|
|
10
|
-
{"type":"ping"}
|
|
11
|
-
{"type":"ping"}
|
|
12
|
-
{"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":843,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":28}}
|
|
13
|
-
{"type":"message_stop"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"model": "claude-haiku-4-5-20251001",
|
|
3
|
-
"id": "msg_01T8acYgh1ugip1ifUmT4MCU",
|
|
4
|
-
"type": "message",
|
|
5
|
-
"role": "assistant",
|
|
6
|
-
"content": [
|
|
7
|
-
{
|
|
8
|
-
"type": "tool_use",
|
|
9
|
-
"id": "toolu_01PQjhxo3eirCdKNvCJrKc8f",
|
|
10
|
-
"name": "weather",
|
|
11
|
-
"input": { "location": "San Francisco" }
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"stop_reason": "tool_use",
|
|
15
|
-
"usage": {
|
|
16
|
-
"input_tokens": 843,
|
|
17
|
-
"cache_creation_input_tokens": 0,
|
|
18
|
-
"cache_read_input_tokens": 0,
|
|
19
|
-
"cache_creation": {
|
|
20
|
-
"ephemeral_5m_input_tokens": 0,
|
|
21
|
-
"ephemeral_1h_input_tokens": 0
|
|
22
|
-
},
|
|
23
|
-
"output_tokens": 28,
|
|
24
|
-
"service_tier": "standard"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
{"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01KbeodbKEyjf2fLb2Jnkr5s","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":313,"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"}}}
|
|
2
|
-
{"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
|
|
3
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"{\""}}
|
|
4
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"characters\""}}
|
|
5
|
-
{"type":"ping"}
|
|
6
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":":[{\"name\":\"Th"}}
|
|
7
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"eron"}}
|
|
8
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Iron"}}
|
|
9
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"heart\",\"class\":\"warrior\",\"description"}}
|
|
10
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"\":\"A battle"}}
|
|
11
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"-scar"}}
|
|
12
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"red veteran"}}
|
|
13
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" with"}}
|
|
14
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" steel"}}
|
|
15
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"-"}}
|
|
16
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"gray hair and a"}}
|
|
17
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" prominent"}}
|
|
18
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" scar across his left eye."}}
|
|
19
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Wiel"}}
|
|
20
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ding a massive two"}}
|
|
21
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"-handed sword passe"}}
|
|
22
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d down through his family for"}}
|
|
23
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" generations,"}}
|
|
24
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Theron fights"}}
|
|
25
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" with discipl"}}
|
|
26
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ined precision h"}}
|
|
27
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"oned through decades"}}
|
|
28
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" of combat. Despite"}}
|
|
29
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" his gruff exterior, he harb"}}
|
|
30
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ors a deep sense of honor and prot"}}
|
|
31
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ects the weak"}}
|
|
32
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" without"}}
|
|
33
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" hesitation."}}
|
|
34
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"\"},{\"name\":\"Lyra"}}
|
|
35
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Star"}}
|
|
36
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"weaver\",\"class\":\"mage\",\""}}
|
|
37
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"description\":\"A young"}}
|
|
38
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" pro"}}
|
|
39
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"digy in"}}
|
|
40
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" the"}}
|
|
41
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" arcane arts with"}}
|
|
42
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" flowing"}}
|
|
43
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" silver ro"}}
|
|
44
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"bes ador"}}
|
|
45
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ned with celest"}}
|
|
46
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ial patterns"}}
|
|
47
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":". Her"}}
|
|
48
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" eyes"}}
|
|
49
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" g"}}
|
|
50
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"low f"}}
|
|
51
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"aintly blue"}}
|
|
52
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" when"}}
|
|
53
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" chann"}}
|
|
54
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"eling powerful"}}
|
|
55
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" sp"}}
|
|
56
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ells."}}
|
|
57
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Lyra special"}}
|
|
58
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"izes in ele"}}
|
|
59
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"mental magic an"}}
|
|
60
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d ast"}}
|
|
61
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ral div"}}
|
|
62
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ination, having"}}
|
|
63
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" studie"}}
|
|
64
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d at"}}
|
|
65
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" the Gran"}}
|
|
66
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d Academy since"}}
|
|
67
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" childhoo"}}
|
|
68
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d. She is"}}
|
|
69
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" curious"}}
|
|
70
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" and ide"}}
|
|
71
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"alistic, often getting"}}
|
|
72
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" into"}}
|
|
73
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" trouble"}}
|
|
74
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" while"}}
|
|
75
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" pursuing"}}
|
|
76
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" forbidden"}}
|
|
77
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" knowledge.\"},{\"name\":\"R"}}
|
|
78
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ook"}}
|
|
79
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Shadow"}}
|
|
80
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"st"}}
|
|
81
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ep"}}
|
|
82
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"\",\"class\":\"thief\",\"description\":\""}}
|
|
83
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"A nim"}}
|
|
84
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ble and cun"}}
|
|
85
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ning r"}}
|
|
86
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ogue who"}}
|
|
87
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" moves through"}}
|
|
88
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" shadows"}}
|
|
89
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" like"}}
|
|
90
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" a whis"}}
|
|
91
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"per in"}}
|
|
92
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" the night. With"}}
|
|
93
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" jet"}}
|
|
94
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"-black hair,"}}
|
|
95
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" leather"}}
|
|
96
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" armor,"}}
|
|
97
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" and an array of lock"}}
|
|
98
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"picks an"}}
|
|
99
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d daggers hidden on"}}
|
|
100
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" his person, Rook makes his"}}
|
|
101
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" living liber"}}
|
|
102
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ating treas"}}
|
|
103
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ures from those"}}
|
|
104
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" he"}}
|
|
105
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" deems unworthy of"}}
|
|
106
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" them"}}
|
|
107
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":". Behin"}}
|
|
108
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d his coc"}}
|
|
109
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"ky smile"}}
|
|
110
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" lies a trouble"}}
|
|
111
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d past and a strict"}}
|
|
112
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" personal"}}
|
|
113
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" code about"}}
|
|
114
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" who"}}
|
|
115
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" deserves to be"}}
|
|
116
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" rob"}}
|
|
117
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"bed.\"}]}"}}
|
|
118
|
-
{"type":"content_block_stop","index":0}
|
|
119
|
-
{"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":313,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":305}}
|
|
120
|
-
{"type":"message_stop"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"model": "claude-sonnet-4-5-20250929",
|
|
3
|
-
"id": "msg_015rVfxqGkwrrRARo3Uv3C9K",
|
|
4
|
-
"type": "message",
|
|
5
|
-
"role": "assistant",
|
|
6
|
-
"content": [
|
|
7
|
-
{
|
|
8
|
-
"type": "text",
|
|
9
|
-
"text": "{\"recipe\":{\"name\":\"Classic Lasagna\",\"ingredients\":[{\"name\":\"lasagna noodles\",\"amount\":\"12 sheets\"},{\"name\":\"ground beef\",\"amount\":\"1 pound\"},{\"name\":\"Italian sausage\",\"amount\":\"1/2 pound\"},{\"name\":\"onion\",\"amount\":\"1 medium, diced\"},{\"name\":\"garlic\",\"amount\":\"3 cloves, minced\"},{\"name\":\"crushed tomatoes\",\"amount\":\"28 oz can\"},{\"name\":\"tomato paste\",\"amount\":\"6 oz can\"},{\"name\":\"water\",\"amount\":\"1/2 cup\"},{\"name\":\"sugar\",\"amount\":\"2 tablespoons\"},{\"name\":\"dried basil\",\"amount\":\"1 1/2 teaspoons\"},{\"name\":\"Italian seasoning\",\"amount\":\"1 teaspoon\"},{\"name\":\"salt\",\"amount\":\"1 teaspoon\"},{\"name\":\"black pepper\",\"amount\":\"1/2 teaspoon\"},{\"name\":\"ricotta cheese\",\"amount\":\"15 oz\"},{\"name\":\"egg\",\"amount\":\"1 large\"},{\"name\":\"fresh parsley\",\"amount\":\"2 tablespoons, chopped\"},{\"name\":\"mozzarella cheese\",\"amount\":\"3 cups, shredded\"},{\"name\":\"parmesan cheese\",\"amount\":\"3/4 cup, grated\"}],\"steps\":[\"Cook lasagna noodles according to package directions, drain and set aside\",\"In a large skillet, cook ground beef, sausage, onion, and garlic over medium heat until meat is browned, drain excess fat\",\"Add crushed tomatoes, tomato paste, water, sugar, basil, Italian seasoning, salt, and pepper to the meat mixture, simmer for 30 minutes, stirring occasionally\",\"In a bowl, combine ricotta cheese, egg, and parsley, mix well\",\"Preheat oven to 375°F (190°C)\",\"Spread 1 cup of meat sauce in the bottom of a 9x13 inch baking dish\",\"Layer 4 lasagna noodles over the sauce\",\"Spread half of the ricotta mixture over the noodles\",\"Sprinkle with 1 cup mozzarella and 1/4 cup parmesan cheese\",\"Top with 1 1/2 cups meat sauce\",\"Repeat layers once more: 4 noodles, remaining ricotta mixture, 1 cup mozzarella, 1/4 cup parmesan, 1 1/2 cups meat sauce\",\"Add final layer of 4 noodles, remaining meat sauce, remaining mozzarella and parmesan cheese\",\"Cover with aluminum foil and bake for 25 minutes\",\"Remove foil and bake an additional 25 minutes until cheese is golden and bubbly\",\"Let stand for 15 minutes before serving\"]}}"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"stop_reason": "end_turn",
|
|
13
|
-
"stop_sequence": null,
|
|
14
|
-
"usage": {
|
|
15
|
-
"input_tokens": 371,
|
|
16
|
-
"cache_creation_input_tokens": 0,
|
|
17
|
-
"cache_read_input_tokens": 0,
|
|
18
|
-
"cache_creation": {
|
|
19
|
-
"ephemeral_5m_input_tokens": 0,
|
|
20
|
-
"ephemeral_1h_input_tokens": 0
|
|
21
|
-
},
|
|
22
|
-
"output_tokens": 629,
|
|
23
|
-
"service_tier": "standard"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{"type":"message_start","message":{"model":"claude-haiku-4-5-20251001","id":"msg_01K2JbSUMYhez5RHoK9ZCj9U","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":849,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":10,"service_tier":"standard"}}}
|
|
2
|
-
{"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01KFbKqPYSuAKujiL6mTfzYA","name":"json","input":{}}}
|
|
3
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}}
|
|
4
|
-
{"type":"ping"}
|
|
5
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"elements\": [{\"location\": \"San Francisco\", \"temperature\": 58, \"condition\": \"sunny\"}]"}}
|
|
6
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"}"}}
|
|
7
|
-
{"type":"content_block_stop","index":0}
|
|
8
|
-
{"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":849,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":47}}
|
|
9
|
-
{"type":"message_stop"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"model": "claude-haiku-4-5-20251001",
|
|
3
|
-
"id": "msg_0191iYfpERYfS27xLsdW2nbb",
|
|
4
|
-
"type": "message",
|
|
5
|
-
"role": "assistant",
|
|
6
|
-
"content": [
|
|
7
|
-
{
|
|
8
|
-
"type": "tool_use",
|
|
9
|
-
"id": "toolu_01Q9ExVZnzZj7E2QQYHYtNUa",
|
|
10
|
-
"name": "json",
|
|
11
|
-
"input": {
|
|
12
|
-
"elements": [
|
|
13
|
-
{
|
|
14
|
-
"location": "San Francisco",
|
|
15
|
-
"temperature": -5,
|
|
16
|
-
"condition": "snowy"
|
|
17
|
-
},
|
|
18
|
-
{ "location": "London", "temperature": 0, "condition": "snowy" },
|
|
19
|
-
{ "location": "Paris", "temperature": 23, "condition": "cloudy" },
|
|
20
|
-
{ "location": "Berlin", "temperature": -9, "condition": "snowy" }
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"stop_reason": "tool_use",
|
|
26
|
-
"usage": {
|
|
27
|
-
"input_tokens": 1151,
|
|
28
|
-
"cache_creation_input_tokens": 0,
|
|
29
|
-
"cache_read_input_tokens": 0,
|
|
30
|
-
"cache_creation": {
|
|
31
|
-
"ephemeral_5m_input_tokens": 0,
|
|
32
|
-
"ephemeral_1h_input_tokens": 0
|
|
33
|
-
},
|
|
34
|
-
"output_tokens": 87,
|
|
35
|
-
"service_tier": "standard"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{"type":"message_start","message":{"model":"claude-haiku-4-5-20251001","id":"msg_01K2JbSUMYhez5RHoK9ZCj9U","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":849,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":10,"service_tier":"standard"}}}
|
|
2
|
-
{"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
|
|
3
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll invoke"}}
|
|
4
|
-
{"type":"ping"}
|
|
5
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" the JSON response tool."}}
|
|
6
|
-
{"type":"content_block_stop","index":0}
|
|
7
|
-
{"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01KFbKqPYSuAKujiL6mTfzYA","name":"json","input":{}}}
|
|
8
|
-
{"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}}
|
|
9
|
-
{"type":"ping"}
|
|
10
|
-
{"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"elements\": [{\"location\": \"San Francisco\", \"temperature\": 58, \"condition\": \"sunny\"}]"}}
|
|
11
|
-
{"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"}"}}
|
|
12
|
-
{"type":"content_block_stop","index":1}
|
|
13
|
-
{"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":849,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":47}}
|
|
14
|
-
{"type":"message_stop"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{"type":"message_start","message":{"model":"claude-sonnet-4-5-20250929","id":"msg_01RNdvgjHoLmx2THF9AVj3KK","type":"message","role":"assistant","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":589,"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"}}}
|
|
2
|
-
{"type":"content_block_start","index":0,"content_block":{"type":"mcp_tool_use","id":"mcptoolu_017CuqaJcXe5ZHJjaz3KS1AT","name":"echo","input":{},"server_name":"echo"}}
|
|
3
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":""}}
|
|
4
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"mess"}}
|
|
5
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"age\": "}}
|
|
6
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"hello wo"}}
|
|
7
|
-
{"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"rld\"}"}}
|
|
8
|
-
{"type":"content_block_stop","index":0}
|
|
9
|
-
{"type":"content_block_start","index":1,"content_block":{"type":"mcp_tool_result","tool_use_id":"mcptoolu_017CuqaJcXe5ZHJjaz3KS1AT","is_error":false,"content":[{"type":"text","text":"Tool echo: hello world"}]}}
|
|
10
|
-
{"type":"content_block_stop","index":1}
|
|
11
|
-
{"type":"content_block_start","index":2,"content_block":{"type":"text","text":""}}
|
|
12
|
-
{"type":"content_block_delta","index":2,"delta":{"type":"text_delta","text":"The echo tool responde"}}
|
|
13
|
-
{"type":"content_block_delta","index":2,"delta":{"type":"text_delta","text":"d back with: **hello world**\n\nIt simply echoed back"}}
|
|
14
|
-
{"type":"content_block_delta","index":2,"delta":{"type":"text_delta","text":" the exact message that was sent to it."}}
|
|
15
|
-
{"type":"content_block_stop","index":2}
|
|
16
|
-
{"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":1250,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":83,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0}}}
|
|
17
|
-
{"type":"message_stop"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"model": "claude-sonnet-4-5-20250929",
|
|
3
|
-
"id": "msg_01P81KJc28LkYyoDAYG1bWVb",
|
|
4
|
-
"type": "message",
|
|
5
|
-
"role": "assistant",
|
|
6
|
-
"content": [
|
|
7
|
-
{
|
|
8
|
-
"type": "mcp_tool_use",
|
|
9
|
-
"id": "mcptoolu_015oTj2fXVKLrDohFetJd5UL",
|
|
10
|
-
"name": "echo",
|
|
11
|
-
"input": { "message": "hello world" },
|
|
12
|
-
"server_name": "echo"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"type": "mcp_tool_result",
|
|
16
|
-
"tool_use_id": "mcptoolu_015oTj2fXVKLrDohFetJd5UL",
|
|
17
|
-
"is_error": false,
|
|
18
|
-
"content": [{ "type": "text", "text": "Tool echo: hello world" }]
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"type": "text",
|
|
22
|
-
"text": "The echo tool responded back with: **\"hello world\"**\n\nAs expected, it simply echoes back the exact message that was sent to it!"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"stop_reason": "end_turn",
|
|
26
|
-
"stop_sequence": null,
|
|
27
|
-
"usage": {
|
|
28
|
-
"input_tokens": 1250,
|
|
29
|
-
"cache_creation_input_tokens": 0,
|
|
30
|
-
"cache_read_input_tokens": 0,
|
|
31
|
-
"cache_creation": {
|
|
32
|
-
"ephemeral_5m_input_tokens": 0,
|
|
33
|
-
"ephemeral_1h_input_tokens": 0
|
|
34
|
-
},
|
|
35
|
-
"output_tokens": 88,
|
|
36
|
-
"service_tier": "standard",
|
|
37
|
-
"server_tool_use": { "web_search_requests": 0, "web_fetch_requests": 0 }
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"model": "claude-sonnet-4-5-20250929",
|
|
3
|
-
"id": "msg_01CFDwFo3hhWrKC7BRpZBzJV",
|
|
4
|
-
"type": "message",
|
|
5
|
-
"role": "assistant",
|
|
6
|
-
"content": [
|
|
7
|
-
{
|
|
8
|
-
"type": "tool_use",
|
|
9
|
-
"id": "toolu_01TvNvpwszD4hKeudmbfyWiV",
|
|
10
|
-
"name": "memory",
|
|
11
|
-
"input": { "command": "view", "path": "/memories" }
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"stop_reason": "tool_use",
|
|
15
|
-
"stop_sequence": null,
|
|
16
|
-
"usage": {
|
|
17
|
-
"input_tokens": 1614,
|
|
18
|
-
"cache_creation_input_tokens": 0,
|
|
19
|
-
"cache_read_input_tokens": 0,
|
|
20
|
-
"cache_creation": {
|
|
21
|
-
"ephemeral_5m_input_tokens": 0,
|
|
22
|
-
"ephemeral_1h_input_tokens": 0
|
|
23
|
-
},
|
|
24
|
-
"output_tokens": 69,
|
|
25
|
-
"service_tier": "standard"
|
|
26
|
-
},
|
|
27
|
-
"context_management": { "applied_edits": [] }
|
|
28
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{"type":"message_start","message":{"content":[],"id":"msg_3196a1cc08de4d76b85b8f5777c0d42b","model":"claude-opus-4-5-20251101","role":"assistant","stop_reason":null,"stop_sequence":null,"type":"message","usage":{"input_tokens":43,"output_tokens":1}}}
|
|
2
|
-
{"type":"content_block_start","index":0,"content_block":{"text":"","type":"text"}}
|
|
3
|
-
{"type":"content_block_delta","index":0,"delta":{"text":"p","type":"text_delta"}}
|
|
4
|
-
{"type":"ping"}
|
|
5
|
-
{"type":"content_block_delta","index":0,"delta":{"text":"ong","type":"text_delta"}}
|
|
6
|
-
{"type":"content_block_stop","index":0}
|
|
7
|
-
{"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":61,"output_tokens":2}}
|
|
8
|
-
{"type":"message_stop"}
|