diff --git a/providertests/.env.sample b/providertests/.env.sample index cdbb6ff50c8c11794633f1ec8e24358b4d090727..db4c285764209ef84a09529c4f591f931b33d53e 100644 --- a/providertests/.env.sample +++ b/providertests/.env.sample @@ -1,6 +1,7 @@ ANTHROPIC_API_KEY= GEMINI_API_KEY= +GROQ_API_KEY= OPENAI_API_KEY= -XAI_API_KEY= OPENROUTER_API_KEY= -GROQ_API_KEY= +XAI_API_KEY= +ZAI_API_KEY= diff --git a/providertests/anthropic_test.go b/providertests/anthropic_test.go index 3345833c045f1b62c016b6132e03b3eadb3ddaf2..8797cc09370582ac41cf1aa9a5341dfa575756b8 100644 --- a/providertests/anthropic_test.go +++ b/providertests/anthropic_test.go @@ -11,11 +11,19 @@ import ( "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" ) +var anthropicTestModels = []testModel{ + {"claude-sonnet-4", "claude-sonnet-4-20250514", true}, +} + func TestAnthropicCommon(t *testing.T) { - testCommon(t, []builderPair{ - {"claude-sonnet-4", builderAnthropicClaudeSonnet4, nil}, - }) + var pairs []builderPair + for _, m := range anthropicTestModels { + pairs = append(pairs, builderPair{m.name, anthropicBuilder(m.model), nil}) + } + testCommon(t, pairs) +} +func TestAnthropicThinking(t *testing.T) { opts := ai.ProviderOptions{ anthropic.Name: &anthropic.ProviderOptions{ Thinking: &anthropic.ThinkingProviderOption{ @@ -23,9 +31,14 @@ func TestAnthropicCommon(t *testing.T) { }, }, } - testThinking(t, []builderPair{ - {"claude-sonnet-4", builderAnthropicClaudeSonnet4, opts}, - }, testGoogleThinking) + var pairs []builderPair + for _, m := range anthropicTestModels { + if !m.reasoning { + continue + } + pairs = append(pairs, builderPair{m.name, anthropicBuilder(m.model), opts}) + } + testThinking(t, pairs, testAnthropicThinking) } func testAnthropicThinking(t *testing.T, result *ai.AgentResult) { @@ -64,10 +77,12 @@ func testAnthropicThinking(t *testing.T, result *ai.AgentResult) { require.Equal(t, reasoningContentCount, signaturesCount) } -func builderAnthropicClaudeSonnet4(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := anthropic.New( - anthropic.WithAPIKey(os.Getenv("ANTHROPIC_API_KEY")), - anthropic.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("claude-sonnet-4-20250514") +func anthropicBuilder(model string) builderFunc { + return func(r *recorder.Recorder) (ai.LanguageModel, error) { + provider := anthropic.New( + anthropic.WithAPIKey(os.Getenv("ANTHROPIC_API_KEY")), + anthropic.WithHTTPClient(&http.Client{Transport: r}), + ) + return provider.LanguageModel(model) + } } diff --git a/providertests/common_test.go b/providertests/common_test.go index e4326e31ab108e822f5ea206f899fbd284ae33b5..d1597a12e7d2f9ca9d96ff1ed4f7d1ad43919212 100644 --- a/providertests/common_test.go +++ b/providertests/common_test.go @@ -11,6 +11,12 @@ import ( "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" ) +type testModel struct { + name string + model string + reasoning bool +} + type builderFunc func(r *recorder.Recorder) (ai.LanguageModel, error) type builderPair struct { @@ -21,9 +27,11 @@ type builderPair struct { func testCommon(t *testing.T, pairs []builderPair) { for _, pair := range pairs { - testSimple(t, pair) - testTool(t, pair) - testMultiTool(t, pair) + t.Run(pair.name, func(t *testing.T) { + testSimple(t, pair) + testTool(t, pair) + testMultiTool(t, pair) + }) } } @@ -35,7 +43,7 @@ func testSimple(t *testing.T, pair builderPair) { require.True(t, strings.Contains(got, option1) || strings.Contains(got, option2), "unexpected response: got %q, want %q or %q", got, option1, option2) } - t.Run("simple "+pair.name, func(t *testing.T) { + t.Run("simple", func(t *testing.T) { r := newRecorder(t) languageModel, err := pair.builder(r) @@ -53,7 +61,7 @@ func testSimple(t *testing.T, pair builderPair) { require.NoError(t, err, "failed to generate") checkResult(t, result) }) - t.Run("simple streaming "+pair.name, func(t *testing.T) { + t.Run("simple streaming", func(t *testing.T) { r := newRecorder(t) languageModel, err := pair.builder(r) @@ -106,7 +114,7 @@ func testTool(t *testing.T, pair builderPair) { require.True(t, strings.Contains(got, want1) && strings.Contains(got, want2), "unexpected response: got %q, want %q %q", got, want1, want2) } - t.Run("tool "+pair.name, func(t *testing.T) { + t.Run("tool", func(t *testing.T) { r := newRecorder(t) languageModel, err := pair.builder(r) @@ -125,7 +133,7 @@ func testTool(t *testing.T, pair builderPair) { require.NoError(t, err, "failed to generate") checkResult(t, result) }) - t.Run("tool streaming "+pair.name, func(t *testing.T) { + t.Run("tool streaming", func(t *testing.T) { r := newRecorder(t) languageModel, err := pair.builder(r) @@ -187,7 +195,7 @@ func testMultiTool(t *testing.T, pair builderPair) { require.Contains(t, finalText, "6", "expected response to contain '6', got: %q", finalText) } - t.Run("multi tool "+pair.name, func(t *testing.T) { + t.Run("multi tool", func(t *testing.T) { r := newRecorder(t) languageModel, err := pair.builder(r) @@ -207,7 +215,7 @@ func testMultiTool(t *testing.T, pair builderPair) { require.NoError(t, err, "failed to generate") checkResult(t, result) }) - t.Run("multi tool streaming "+pair.name, func(t *testing.T) { + t.Run("multi tool streaming", func(t *testing.T) { r := newRecorder(t) languageModel, err := pair.builder(r) @@ -231,77 +239,79 @@ func testMultiTool(t *testing.T, pair builderPair) { func testThinking(t *testing.T, pairs []builderPair, thinkChecks func(*testing.T, *ai.AgentResult)) { for _, pair := range pairs { - t.Run("thinking-"+pair.name, func(t *testing.T) { - r := newRecorder(t) - - languageModel, err := pair.builder(r) - require.NoError(t, err, "failed to build language model") - - type WeatherInput struct { - Location string `json:"location" description:"the city"` - } - - weatherTool := ai.NewAgentTool( - "weather", - "Get weather information for a location", - func(ctx context.Context, input WeatherInput, _ ai.ToolCall) (ai.ToolResponse, error) { - return ai.NewTextResponse("40 C"), nil - }, - ) - - agent := ai.NewAgent( - languageModel, - ai.WithSystemPrompt("You are a helpful assistant"), - ai.WithTools(weatherTool), - ) - result, err := agent.Generate(t.Context(), ai.AgentCall{ - Prompt: "What's the weather in Florence, Italy?", - ProviderOptions: pair.providerOptions, + t.Run(pair.name, func(t *testing.T) { + t.Run("thinking", func(t *testing.T) { + r := newRecorder(t) + + languageModel, err := pair.builder(r) + require.NoError(t, err, "failed to build language model") + + type WeatherInput struct { + Location string `json:"location" description:"the city"` + } + + weatherTool := ai.NewAgentTool( + "weather", + "Get weather information for a location", + func(ctx context.Context, input WeatherInput, _ ai.ToolCall) (ai.ToolResponse, error) { + return ai.NewTextResponse("40 C"), nil + }, + ) + + agent := ai.NewAgent( + languageModel, + ai.WithSystemPrompt("You are a helpful assistant"), + ai.WithTools(weatherTool), + ) + result, err := agent.Generate(t.Context(), ai.AgentCall{ + Prompt: "What's the weather in Florence, Italy?", + ProviderOptions: pair.providerOptions, + }) + require.NoError(t, err, "failed to generate") + + want1 := "Florence" + want2 := "40" + got := result.Response.Content.Text() + require.True(t, strings.Contains(got, want1) && strings.Contains(got, want2), "unexpected response: got %q, want %q %q", got, want1, want2) + + thinkChecks(t, result) }) - require.NoError(t, err, "failed to generate") - - want1 := "Florence" - want2 := "40" - got := result.Response.Content.Text() - require.True(t, strings.Contains(got, want1) && strings.Contains(got, want2), "unexpected response: got %q, want %q %q", got, want1, want2) - - thinkChecks(t, result) - }) - t.Run("thinking-streaming-"+pair.name, func(t *testing.T) { - r := newRecorder(t) - - languageModel, err := pair.builder(r) - require.NoError(t, err, "failed to build language model") - - type WeatherInput struct { - Location string `json:"location" description:"the city"` - } - - weatherTool := ai.NewAgentTool( - "weather", - "Get weather information for a location", - func(ctx context.Context, input WeatherInput, _ ai.ToolCall) (ai.ToolResponse, error) { - return ai.NewTextResponse("40 C"), nil - }, - ) - - agent := ai.NewAgent( - languageModel, - ai.WithSystemPrompt("You are a helpful assistant"), - ai.WithTools(weatherTool), - ) - result, err := agent.Stream(t.Context(), ai.AgentStreamCall{ - Prompt: "What's the weather in Florence, Italy?", - ProviderOptions: pair.providerOptions, + t.Run("thinking-streaming", func(t *testing.T) { + r := newRecorder(t) + + languageModel, err := pair.builder(r) + require.NoError(t, err, "failed to build language model") + + type WeatherInput struct { + Location string `json:"location" description:"the city"` + } + + weatherTool := ai.NewAgentTool( + "weather", + "Get weather information for a location", + func(ctx context.Context, input WeatherInput, _ ai.ToolCall) (ai.ToolResponse, error) { + return ai.NewTextResponse("40 C"), nil + }, + ) + + agent := ai.NewAgent( + languageModel, + ai.WithSystemPrompt("You are a helpful assistant"), + ai.WithTools(weatherTool), + ) + result, err := agent.Stream(t.Context(), ai.AgentStreamCall{ + Prompt: "What's the weather in Florence, Italy?", + ProviderOptions: pair.providerOptions, + }) + require.NoError(t, err, "failed to generate") + + want1 := "Florence" + want2 := "40" + got := result.Response.Content.Text() + require.True(t, strings.Contains(got, want1) && strings.Contains(got, want2), "unexpected response: got %q, want %q %q", got, want1, want2) + + thinkChecks(t, result) }) - require.NoError(t, err, "failed to generate") - - want1 := "Florence" - want2 := "40" - got := result.Response.Content.Text() - require.True(t, strings.Contains(got, want1) && strings.Contains(got, want2), "unexpected response: got %q, want %q %q", got, want1, want2) - - thinkChecks(t, result) }) } } diff --git a/providertests/google_test.go b/providertests/google_test.go index d2eba21e62346d0e9693258bf853476e1888e48e..3147802d687e8ccfb0458a9a48f45ed6a4eb425f 100644 --- a/providertests/google_test.go +++ b/providertests/google_test.go @@ -12,11 +12,20 @@ import ( "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" ) +var googleTestModels = []testModel{ + {"gemini-2.5-flash", "gemini-2.5-flash", true}, + {"gemini-2.5-pro", "gemini-2.5-pro", true}, +} + func TestGoogleCommon(t *testing.T) { - testCommon(t, []builderPair{ - {"gemini-2.5-flash", builderGoogleGemini25Flash, nil}, - {"gemini-2.5-pro", builderGoogleGemini25Pro, nil}, - }) + var pairs []builderPair + for _, m := range googleTestModels { + pairs = append(pairs, builderPair{m.name, googleBuilder(m.model), nil}) + } + testCommon(t, pairs) +} + +func TestGoogleThinking(t *testing.T) { opts := ai.ProviderOptions{ google.Name: &google.ProviderOptions{ ThinkingConfig: &google.ThinkingConfig{ @@ -25,10 +34,15 @@ func TestGoogleCommon(t *testing.T) { }, }, } - testThinking(t, []builderPair{ - {"gemini-2.5-flash", builderGoogleGemini25Flash, opts}, - {"gemini-2.5-pro", builderGoogleGemini25Pro, opts}, - }, testGoogleThinking) + + var pairs []builderPair + for _, m := range googleTestModels { + if !m.reasoning { + continue + } + pairs = append(pairs, builderPair{m.name, googleBuilder(m.model), opts}) + } + testThinking(t, pairs, testGoogleThinking) } func testGoogleThinking(t *testing.T, result *ai.AgentResult) { @@ -46,18 +60,12 @@ func testGoogleThinking(t *testing.T, result *ai.AgentResult) { require.Greater(t, reasoningContentCount, 0) } -func builderGoogleGemini25Flash(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := google.New( - google.WithAPIKey(cmp.Or(os.Getenv("GEMINI_API_KEY"), "(missing)")), - google.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("gemini-2.5-flash") -} - -func builderGoogleGemini25Pro(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := google.New( - google.WithAPIKey(cmp.Or(os.Getenv("GEMINI_API_KEY"), "(missing)")), - google.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("gemini-2.5-pro") +func googleBuilder(model string) builderFunc { + return func(r *recorder.Recorder) (ai.LanguageModel, error) { + provider := google.New( + google.WithAPIKey(cmp.Or(os.Getenv("GEMINI_API_KEY"), "(missing)")), + google.WithHTTPClient(&http.Client{Transport: r}), + ) + return provider.LanguageModel(model) + } } diff --git a/providertests/openaicompat_test.go b/providertests/openaicompat_test.go index e1694ad0bd5a29a53458522bc8040cb47d574118..7735a5842d242e12b6b4f8b256336e4ba2d6a665 100644 --- a/providertests/openaicompat_test.go +++ b/providertests/openaicompat_test.go @@ -19,6 +19,9 @@ func TestOpenAICompatibleCommon(t *testing.T) { {"groq-kimi-k2", builderGroq, nil}, {"zai-glm-4.5", builderZAIGLM45, nil}, }) +} + +func TestOpenAICompatibleThinking(t *testing.T) { opts := ai.ProviderOptions{ openaicompat.Name: &openaicompat.ProviderOptions{ ReasoningEffort: openai.ReasoningEffortOption(openai.ReasoningEffortHigh), diff --git a/providertests/openrouter_test.go b/providertests/openrouter_test.go index 643c2605abe1de0c971d94eea8a6aeac02d8a6f8..1eae72e447522dd7d1d15b1e00fed9c7c2b526dc 100644 --- a/providertests/openrouter_test.go +++ b/providertests/openrouter_test.go @@ -15,19 +15,26 @@ import ( "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" ) +var openrouterTestModels = []testModel{ + {"kimi-k2", "moonshotai/kimi-k2-0905", false}, + {"grok-code-fast-1", "x-ai/grok-code-fast-1", false}, + {"claude-sonnet-4", "anthropic/claude-sonnet-4", true}, + {"gemini-2.5-flash", "google/gemini-2.5-flash", false}, + {"deepseek-chat-v3.1-free", "deepseek/deepseek-chat-v3.1:free", false}, + {"qwen3-235b-a22b-2507", "qwen/qwen3-235b-a22b-2507", false}, + {"gpt-5", "openai/gpt-5", true}, + {"glm-4.5", "z-ai/glm-4.5", false}, +} + func TestOpenRouterCommon(t *testing.T) { - testCommon(t, []builderPair{ - {"kimi-k2", builderOpenRouterKimiK2, nil}, - {"grok-code-fast-1", builderOpenRouterGrokCodeFast1, nil}, - {"claude-sonnet-4", builderOpenRouterClaudeSonnet4, nil}, - {"grok-4-fast-free", builderOpenRouterGrok4FastFree, nil}, - {"gemini-2.5-flash", builderOpenRouterGemini25Flash, nil}, - {"gemini-2.0-flash", builderOpenRouterGemini20Flash, nil}, - {"deepseek-chat-v3.1-free", builderOpenRouterDeepseekV31Free, nil}, - {"qwen3-235b-a22b-2507", builderOpenRouterQwen3Instruct, nil}, - {"gpt-5", builderOpenRouterGPT5, nil}, - {"glm-4.5", builderOpenRouterGLM45, nil}, - }) + var pairs []builderPair + for _, m := range openrouterTestModels { + pairs = append(pairs, builderPair{m.name, openrouterBuilder(m.model), nil}) + } + testCommon(t, pairs) +} + +func TestOpenRouterThinking(t *testing.T) { opts := ai.ProviderOptions{ openrouter.Name: &openrouter.ProviderOptions{ Reasoning: &openrouter.ReasoningOptions{ @@ -35,10 +42,15 @@ func TestOpenRouterCommon(t *testing.T) { }, }, } - testThinking(t, []builderPair{ - {"gpt-5", builderOpenRouterGPT5, opts}, - {"glm-4.5", builderOpenRouterGLM45, opts}, - }, testOpenrouterThinking) + + var pairs []builderPair + for _, m := range openrouterTestModels { + if !m.reasoning { + continue + } + pairs = append(pairs, builderPair{m.name, openrouterBuilder(m.model), opts}) + } + testThinking(t, pairs, testOpenrouterThinking) } func testOpenrouterThinking(t *testing.T, result *ai.AgentResult) { @@ -55,7 +67,7 @@ func testOpenrouterThinking(t *testing.T, result *ai.AgentResult) { require.Greater(t, reasoningContentCount, 0) } -func TestWithUniqueToolCallIDs(t *testing.T) { +func TestOpenRouterWithUniqueToolCallIDs(t *testing.T) { type CalculatorInput struct { A int `json:"a" description:"first number"` B int `json:"b" description:"second number"` @@ -155,82 +167,12 @@ func TestWithUniqueToolCallIDs(t *testing.T) { }) } -func builderOpenRouterKimiK2(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("moonshotai/kimi-k2-0905") -} - -func builderOpenRouterGrokCodeFast1(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("x-ai/grok-code-fast-1") -} - -func builderOpenRouterGrok4FastFree(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("x-ai/grok-4-fast:free") -} - -func builderOpenRouterGemini25Flash(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("google/gemini-2.5-flash") -} - -func builderOpenRouterGemini20Flash(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("google/gemini-2.0-flash-001") -} - -func builderOpenRouterDeepseekV31Free(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("deepseek/deepseek-chat-v3.1:free") -} - -func builderOpenRouterClaudeSonnet4(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("anthropic/claude-sonnet-4") -} - -func builderOpenRouterGPT5(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("openai/gpt-5") -} - -func builderOpenRouterGLM45(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("z-ai/glm-4.5") -} - -func builderOpenRouterQwen3Instruct(r *recorder.Recorder) (ai.LanguageModel, error) { - provider := openrouter.New( - openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), - openrouter.WithHTTPClient(&http.Client{Transport: r}), - ) - return provider.LanguageModel("qwen/qwen3-235b-a22b-2507") +func openrouterBuilder(model string) builderFunc { + return func(r *recorder.Recorder) (ai.LanguageModel, error) { + provider := openrouter.New( + openrouter.WithAPIKey(os.Getenv("OPENROUTER_API_KEY")), + openrouter.WithHTTPClient(&http.Client{Transport: r}), + ) + return provider.LanguageModel(model) + } } diff --git a/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/multi_tool.yaml b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d940adab23dcd13f98565d8d96b5264cdf2c25e9 --- /dev/null +++ b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 815 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Add and multiply the number 2 and 3","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers"},{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"msg_012C9wnj2t5QUQ9h5kZsQYbY","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"I''ll add and multiply the numbers 2 and 3 for you."},{"type":"tool_use","id":"toolu_01RZ48N8E3iuoHP5TqX57bHP","name":"add","input":{"a":2,"b":3}},{"type":"tool_use","id":"toolu_01FLTgP8FxddWfSCSNsD3cpM","name":"multiply","input":{"a":2,"b":3}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":507,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":137,"service_tier":"standard"}}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.215481584s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1361 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Add and multiply the number 2 and 3","type":"text"}],"role":"user"},{"content":[{"text":"I''ll add and multiply the numbers 2 and 3 for you.","type":"text"},{"id":"toolu_01RZ48N8E3iuoHP5TqX57bHP","input":{"a":2,"b":3},"name":"add","type":"tool_use"},{"id":"toolu_01FLTgP8FxddWfSCSNsD3cpM","input":{"a":2,"b":3},"name":"multiply","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01RZ48N8E3iuoHP5TqX57bHP","content":[{"text":"5","type":"text"}],"type":"tool_result"},{"tool_use_id":"toolu_01FLTgP8FxddWfSCSNsD3cpM","content":[{"text":"6","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers"},{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"msg_01GXK2MWdJ8vNAhV63dyxdSV","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"The results are:\n- 2 + 3 = 5\n- 2 × 3 = 6"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":705,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":31,"service_tier":"standard"}}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.172643959s diff --git a/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/multi_tool_streaming.yaml b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..20dd844338e0713958fefc63e84aba9a56aba24c --- /dev/null +++ b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/multi_tool_streaming.yaml @@ -0,0 +1,151 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 812 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Add and multiply the number 2 and 3","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time.","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers"},{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + event: message_start + data: {"type":"message_start","message":{"id":"msg_01Sp6xSRhhVGg9eCXwHHDK4H","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":502,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":4,"service_tier":"standard"}} } + + event: content_block_start + data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll add an"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d multiply the numbers 2 and 3 for"} } + + event: ping + data: {"type": "ping"} + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" you."} } + + 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_01GrN36ErVgy85ECZ6pbzBL4","name":"add","input":{}} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"a\": "} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"2"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":", \"b\": 3}"} } + + event: content_block_stop + data: {"type":"content_block_stop","index":1 } + + event: content_block_start + data: {"type":"content_block_start","index":2,"content_block":{"type":"tool_use","id":"toolu_0113xQa4VtccyoXcHaukkzom","name":"multiply","input":{}}} + + event: content_block_delta + data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":""} } + + event: content_block_delta + data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":"{\"a\": 2"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":", \"b\":"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":" 3}"} } + + event: content_block_stop + data: {"type":"content_block_stop","index":2 } + + event: message_delta + data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":502,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":137} } + + event: message_stop + data: {"type":"message_stop" } + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.85757275s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1358 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Add and multiply the number 2 and 3","type":"text"}],"role":"user"},{"content":[{"text":"I''ll add and multiply the numbers 2 and 3 for you.","type":"text"},{"id":"toolu_01GrN36ErVgy85ECZ6pbzBL4","input":{"a":2,"b":3},"name":"add","type":"tool_use"},{"id":"toolu_0113xQa4VtccyoXcHaukkzom","input":{"a":2,"b":3},"name":"multiply","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01GrN36ErVgy85ECZ6pbzBL4","content":[{"text":"5","type":"text"}],"type":"tool_result"},{"tool_use_id":"toolu_0113xQa4VtccyoXcHaukkzom","content":[{"text":"6","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time.","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers"},{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + event: message_start + data: {"type":"message_start","message":{"id":"msg_015VFFpA2pw4T7BRXd2sXMNL","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":700,"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":""}} + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"The results"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" are:\n- 2 + 3 = "} } + + event: ping + data: {"type": "ping"} + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"5\n- 2 × 3 = 6"} } + + event: content_block_stop + data: {"type":"content_block_stop","index":0 } + + event: message_delta + data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":700,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":31} } + + event: message_stop + data: {"type":"message_stop" } + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.874751333s diff --git a/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/simple.yaml b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8ae67fab7faf7e3e57e303bad8070c837790a673 --- /dev/null +++ b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 205 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Say hi in Portuguese","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"msg_01P9AGfyVhqwFEY82kTBEeip","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Olá! (Oh-LAH)\n\nThis is the most common way to say \"hi\" in Portuguese. You could also use \"Oi!\" (OY) which is a bit more casual and friendly."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":16,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":50,"service_tier":"standard"}}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 3.286588541s diff --git a/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/simple_streaming.yaml b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c22a1785d593c41c8ba05b1cec90915c55d4ef74 --- /dev/null +++ b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/simple_streaming.yaml @@ -0,0 +1,68 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 219 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Say hi in Portuguese","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + event: message_start + data: {"type":"message_start","message":{"id":"msg_01LA3hHsa4pzM8hT7PTXtJGz","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":16,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":4,"service_tier":"standard"}} } + + event: content_block_start + data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Olá!"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"\n\n(This is the most common way to say \"hi"} } + + event: ping + data: {"type": "ping"} + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"\" in Portuguese. You"}} + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" could also say \"Oi!\""} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" for a more casual"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" greeting.)"} } + + event: content_block_stop + data: {"type":"content_block_stop","index":0 } + + event: message_delta + data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":16,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":38} } + + event: message_stop + data: {"type":"message_stop" } + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.544292291s diff --git a/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/tool.yaml b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a66e33ee3298a5edeb3a7ecbafcabdbd59f75411 --- /dev/null +++ b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 496 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"What''s the weather in Florence,Italy?","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"msg_015hRye3hWyU1hyU9Vsbzept","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"I''ll check the weather in Florence, Italy for you."},{"type":"tool_use","id":"toolu_01Dx5rwFL7pCC3c11qUZiSFH","name":"weather","input":{"location":"Florence, Italy"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":394,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":66,"service_tier":"standard"}}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.2413465s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 859 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"What''s the weather in Florence,Italy?","type":"text"}],"role":"user"},{"content":[{"text":"I''ll check the weather in Florence, Italy for you.","type":"text"},{"id":"toolu_01Dx5rwFL7pCC3c11qUZiSFH","input":{"location":"Florence, Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01Dx5rwFL7pCC3c11qUZiSFH","content":[{"text":"40 C","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"msg_01DvxRTrWQwennnPVCKYDpVg","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"The current weather in Florence, Italy is 40°C (104°F). That''s quite hot! It''s a very warm day in Florence."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":475,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":34,"service_tier":"standard"}}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.441049125s diff --git a/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/tool_streaming.yaml b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..049cb9c21b5482ef1be6bfa7f72ff77d2fd16dc6 --- /dev/null +++ b/providertests/testdata/TestAnthropicCommon/claude-sonnet-4/tool_streaming.yaml @@ -0,0 +1,148 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 510 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"What''s the weather in Florence,Italy?","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + event: message_start + data: {"type":"message_start","message":{"id":"msg_01YNtSKCnRnNJoaUmmcZVnsF","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":394,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":8,"service_tier":"standard"}}} + + event: content_block_start + 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 check the weather in Florence,"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Italy for you."} } + + 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_01TQLWhUiZa4j3esJhrzHpRV","name":"weather","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":"{\"lo"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"cation\""} } + + 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":"\"Florence"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":",Italy\"}"} } + + event: content_block_stop + 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":394,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":66} } + + event: message_stop + data: {"type":"message_stop" } + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.173477625s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 872 + host: "" + body: '{"max_tokens":4000,"messages":[{"content":[{"text":"What''s the weather in Florence,Italy?","type":"text"}],"role":"user"},{"content":[{"text":"I''ll check the weather in Florence, Italy for you.","type":"text"},{"id":"toolu_01TQLWhUiZa4j3esJhrzHpRV","input":{"location":"Florence,Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01TQLWhUiZa4j3esJhrzHpRV","content":[{"text":"40 C","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + event: message_start + data: {"type":"message_start","message":{"id":"msg_01Xib3pEmJjt4hNy7sEx4k5S","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":475,"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":""} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"The"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" current weather in Florence, Italy shows a temperature of 40°C (104"} } + + event: ping + data: {"type": "ping"} + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"°F). That's quite hot! Make sure to stay hydrated and seek"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" shade or air conditioning if you're planning to be out"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"doors."} } + + event: content_block_stop + data: {"type":"content_block_stop","index":0 } + + event: message_delta + data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":475,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":49} } + + event: message_stop + data: {"type":"message_stop" } + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 2.470388833s diff --git a/providertests/testdata/TestAnthropicCommon/multi_tool_claude-sonnet-4.yaml b/providertests/testdata/TestAnthropicCommon/multi_tool_claude-sonnet-4.yaml deleted file mode 100644 index 8dcd763aade614b60fbb1dc7a40ac176cc0683e8..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestAnthropicCommon/multi_tool_claude-sonnet-4.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 815 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Add and multiply the number 2 and 3","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers"},{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"msg_01A5PGN4ueCUhzDB6xbU36up","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"I''ll add and multiply the numbers 2 and 3 for you."},{"type":"tool_use","id":"toolu_01VKhsyaKnZywCbVZ9pHYwWW","name":"add","input":{"a":2,"b":3}},{"type":"tool_use","id":"toolu_013ZmfmY7mBZm9anqQt9jqdu","name":"multiply","input":{"a":2,"b":3}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":507,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":137,"service_tier":"standard"}}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 3.283630333s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1361 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Add and multiply the number 2 and 3","type":"text"}],"role":"user"},{"content":[{"text":"I''ll add and multiply the numbers 2 and 3 for you.","type":"text"},{"id":"toolu_01VKhsyaKnZywCbVZ9pHYwWW","input":{"a":2,"b":3},"name":"add","type":"tool_use"},{"id":"toolu_013ZmfmY7mBZm9anqQt9jqdu","input":{"a":2,"b":3},"name":"multiply","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01VKhsyaKnZywCbVZ9pHYwWW","content":[{"text":"5","type":"text"}],"type":"tool_result"},{"tool_use_id":"toolu_013ZmfmY7mBZm9anqQt9jqdu","content":[{"text":"6","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers"},{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"msg_01J8EB1Mr7A1JqyrRgbmq8tr","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"The results are:\n- 2 + 3 = 5\n- 2 × 3 = 6"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":705,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":31,"service_tier":"standard"}}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.177728292s diff --git a/providertests/testdata/TestAnthropicCommon/multi_tool_streaming_claude-sonnet-4.yaml b/providertests/testdata/TestAnthropicCommon/multi_tool_streaming_claude-sonnet-4.yaml deleted file mode 100644 index 1f54f1c06ed82c0a96bd0649bb3d39661501ad77..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestAnthropicCommon/multi_tool_streaming_claude-sonnet-4.yaml +++ /dev/null @@ -1,160 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 812 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Add and multiply the number 2 and 3","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time.","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers"},{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - event: message_start - data: {"type":"message_start","message":{"id":"msg_01D33E4JF3ZwZD2HqkXkwbQS","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":502,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":4,"service_tier":"standard"}} } - - event: content_block_start - data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll add an"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d multiply the numbers 2 and 3 for"} } - - event: ping - data: {"type": "ping"} - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" you."} } - - 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_01HLPoXK6LHqHMYKpzUEJBAp","name":"add","input":{}} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"a\": 2"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":", \"b\": 3}"} } - - event: content_block_stop - data: {"type":"content_block_stop","index":1 } - - event: content_block_start - data: {"type":"content_block_start","index":2,"content_block":{"type":"tool_use","id":"toolu_019bwqS1UvTVa3NPdJAdu2zD","name":"multiply","input":{}} } - - event: content_block_delta - data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":"{\""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":"a\": 2"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":", "} } - - event: content_block_delta - data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":"\"b\""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":2,"delta":{"type":"input_json_delta","partial_json":": 3}"} } - - event: content_block_stop - data: {"type":"content_block_stop","index":2 } - - event: message_delta - data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":502,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":137} } - - event: message_stop - data: {"type":"message_stop"} - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 1.250113459s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1358 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Add and multiply the number 2 and 3","type":"text"}],"role":"user"},{"content":[{"text":"I''ll add and multiply the numbers 2 and 3 for you.","type":"text"},{"id":"toolu_01HLPoXK6LHqHMYKpzUEJBAp","input":{"a":2,"b":3},"name":"add","type":"tool_use"},{"id":"toolu_019bwqS1UvTVa3NPdJAdu2zD","input":{"a":2,"b":3},"name":"multiply","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01HLPoXK6LHqHMYKpzUEJBAp","content":[{"text":"5","type":"text"}],"type":"tool_result"},{"tool_use_id":"toolu_019bwqS1UvTVa3NPdJAdu2zD","content":[{"text":"6","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time.","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers"},{"input_schema":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - event: message_start - data: {"type":"message_start","message":{"id":"msg_01E55gbdmtwL1UFoG4pYPvib","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":700,"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":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"The"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" results are:\n- 2 + 3 = "} } - - event: ping - data: {"type": "ping"} - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"5\n- 2 × "} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"3 = 6"} } - - event: content_block_stop - data: {"type":"content_block_stop","index":0 } - - event: message_delta - data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":700,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":31} } - - event: message_stop - data: {"type":"message_stop" } - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 1.1963455s diff --git a/providertests/testdata/TestAnthropicCommon/simple_claude-sonnet-4.yaml b/providertests/testdata/TestAnthropicCommon/simple_claude-sonnet-4.yaml deleted file mode 100644 index 65729cc9421904b0734721de4e7b89f3fb038ad5..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestAnthropicCommon/simple_claude-sonnet-4.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 205 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Say hi in Portuguese","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"msg_017KTuKXoM4C6SAss2KSxPAK","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Oi! \n\n(That''s an informal \"hi\" in Portuguese. You could also say \"Olá\" for a slightly more formal greeting.)"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":16,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":36,"service_tier":"standard"}}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 4.631234083s diff --git a/providertests/testdata/TestAnthropicCommon/simple_streaming_claude-sonnet-4.yaml b/providertests/testdata/TestAnthropicCommon/simple_streaming_claude-sonnet-4.yaml deleted file mode 100644 index df4a40ee0ac30b647ca94a2da83ed037f6178e3a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestAnthropicCommon/simple_streaming_claude-sonnet-4.yaml +++ /dev/null @@ -1,62 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 219 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"Say hi in Portuguese","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - event: message_start - data: {"type":"message_start","message":{"id":"msg_01RFuVPPnYCFGL9ucejc3Rd4","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":16,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":5,"service_tier":"standard"}} } - - event: content_block_start - data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Olá! "} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"\n\n(That's \"hi\" in Portuguese!)"} } - - event: ping - data: {"type": "ping"} - - event: content_block_stop - 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":16,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":18} } - - event: message_stop - data: {"type":"message_stop" } - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 1.141609875s diff --git a/providertests/testdata/TestAnthropicCommon/thinking-claude-sonnet-4.yaml b/providertests/testdata/TestAnthropicCommon/thinking-claude-sonnet-4.yaml deleted file mode 100644 index 99c52111bd0dec252a68447011c47cc2da094d9e..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestAnthropicCommon/thinking-claude-sonnet-4.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 548 - host: "" - body: '{"max_tokens":8096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"thinking":{"budget_tokens":4000,"type":"enabled"},"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"msg_014ro9Ta21FzoNNbUnLGNZnd","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"thinking","thinking":"The user is asking for weather information for Florence, Italy. I have access to a weather function that requires a location parameter. The user has provided \"Florence, Italy\" as the location. I should use this exact location in my function call.","signature":"Ep8DCkYIBxgCKkAOBMGY1BYb72lMWlJDTXe8tKCTd48uBO4sqOMYLqI2WZD8DaseV03tSVsBObecDyrb2Omtagha8kh4UFnRazPoEgzPGSZY4wXCWYxr5aIaDDwh07fdcnwhnIqTaiIw31yCF1OvusyyXjKj72wLYbpkkJcbieCGBziRhXcYsxIUKf0+u3NK8Hbjx8es7RORKoYCUWgbBdiDoPf5v0Da4uuTEOZ7KoNRtd7oARxtdt7+rNRHDK3rQBR+5iJ6mATY8FU8T5I5mbtIr40kA418VoiMW3sMxheNaEP54Lu91s41BsovV1jQeHF53LBmpvoTM/mEI4bR6PnIPp5186zEBpbShHTeoPfdrMEoAYsr8r5KvbQjdQzOq9Rf3ozqBsn8zpQTy1vj00e2r0G+ryl36luG2rnqkzNw8ns+wIllRTGcT1kriXoZkq627V8eW98YgtAkB6s2JRC4EP5pMp7izr1TSp4NaMLPTUMV/f7zI95Vjye9L3Eck9YRZZ9Ab75VALd1VaAnTipjkrtrxe2uYvKEB+GBioUyPBgB"},{"type":"tool_use","id":"toolu_0147dftUz9U4cpkCSW5Bmr66","name":"weather","input":{"location":"Florence, Italy"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":423,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":111,"service_tier":"standard"}}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.781825458s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1692 - host: "" - body: '{"max_tokens":8096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"},{"content":[{"signature":"Ep8DCkYIBxgCKkAOBMGY1BYb72lMWlJDTXe8tKCTd48uBO4sqOMYLqI2WZD8DaseV03tSVsBObecDyrb2Omtagha8kh4UFnRazPoEgzPGSZY4wXCWYxr5aIaDDwh07fdcnwhnIqTaiIw31yCF1OvusyyXjKj72wLYbpkkJcbieCGBziRhXcYsxIUKf0+u3NK8Hbjx8es7RORKoYCUWgbBdiDoPf5v0Da4uuTEOZ7KoNRtd7oARxtdt7+rNRHDK3rQBR+5iJ6mATY8FU8T5I5mbtIr40kA418VoiMW3sMxheNaEP54Lu91s41BsovV1jQeHF53LBmpvoTM/mEI4bR6PnIPp5186zEBpbShHTeoPfdrMEoAYsr8r5KvbQjdQzOq9Rf3ozqBsn8zpQTy1vj00e2r0G+ryl36luG2rnqkzNw8ns+wIllRTGcT1kriXoZkq627V8eW98YgtAkB6s2JRC4EP5pMp7izr1TSp4NaMLPTUMV/f7zI95Vjye9L3Eck9YRZZ9Ab75VALd1VaAnTipjkrtrxe2uYvKEB+GBioUyPBgB","thinking":"The user is asking for weather information for Florence, Italy. I have access to a weather function that requires a location parameter. The user has provided \"Florence, Italy\" as the location. I should use this exact location in my function call.","type":"thinking"},{"id":"toolu_0147dftUz9U4cpkCSW5Bmr66","input":{"location":"Florence, Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_0147dftUz9U4cpkCSW5Bmr66","content":[{"text":"40 C","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"thinking":{"budget_tokens":4000,"type":"enabled"},"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"msg_01PagoEQ1263hFpSPvr7pNqs","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"The current temperature in Florence, Italy is 40°C (104°F). That''s quite hot! It looks like Florence is experiencing very warm weather right now."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":549,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":37,"service_tier":"standard"}}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.863132958s diff --git a/providertests/testdata/TestAnthropicCommon/thinking-streaming-claude-sonnet-4.yaml b/providertests/testdata/TestAnthropicCommon/thinking-streaming-claude-sonnet-4.yaml deleted file mode 100644 index a907de0a9d50abad5d5a1a94a70c0b680a14e7f9..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestAnthropicCommon/thinking-streaming-claude-sonnet-4.yaml +++ /dev/null @@ -1,157 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 562 - host: "" - body: '{"max_tokens":8096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"thinking":{"budget_tokens":4000,"type":"enabled"},"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - event: message_start - data: {"type":"message_start","message":{"id":"msg_01D12QbeYmBERw387x1F4vHB","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":423,"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":"thinking","thinking":"","signature":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"The user is asking for"} } - - event: ping - data: {"type": "ping"} - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" weather information for Florence, Italy. I have access"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" to a weather function that takes a location parameter. The user"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" has provided a specific location: \"Florence, Italy\". I have"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" all the required parameters to make this function call."} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"signature_delta","signature":"EqsDCkYICBgCKkBZgA2aLmZQDmRH4RVCT4iXR95b6oYoMjp4e2kPdf2Po5wKmOD2b4fyCcDgesqaf1am+tK5ghnLAfrPp0kAa4ZmEgz7xJ7dsX+9kX6x5sQaDKwfxRyHgF5D2PiztSIwGQ1HRyC/mwdt3c9Qu4E1xM0NfpBITMx9H4Eao8fquBpONVcKbndPXNMR1tM9GNP9KpIChms34P/x6SOMvZMtnXiMldFVeH/NQGzJkXpMYM0MIri6Mw2bsPdJQ9QhCDB5HFNpKPqbTjj4BS0ElqaVG6XL5INBVXMqhrvuLrfRFb3Q8azDwUSyUvsfGvdbQ7igv7mRD7gbkVb7CbKdxo6rz3D3lcBxSz9ssrGoviNlS23B0RBI8wmje1a40l0GS7uRxTXH70ZHRs6nOmsmXEUL+JOS3rMdpw8+SKl9r1JGHdur3Biyhy2/HwBnJUkfiOEEEh/QBc7UaANcLpuS0r4WJjC+PRiKhCKlHGNYdjU6d5bQOX1EcTqlvpxju+9Dv0vqXoPNObl3IUPAXmeReG/9aUO28vf52CH8+rafZ2cDYmjLpQrTpBgB"} } - - 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_01VDunTVNHZwPF7WfabdESCC","name":"weather","input":{}} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}} - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"loca"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ti"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"on\": \"Flore"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"nce, Ital"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"y\"}"} } - - event: content_block_stop - 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":423,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":112}} - - event: message_stop - data: {"type":"message_stop" } - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 1.456683208s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1733 - host: "" - body: '{"max_tokens":8096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"},{"content":[{"signature":"EqsDCkYICBgCKkBZgA2aLmZQDmRH4RVCT4iXR95b6oYoMjp4e2kPdf2Po5wKmOD2b4fyCcDgesqaf1am+tK5ghnLAfrPp0kAa4ZmEgz7xJ7dsX+9kX6x5sQaDKwfxRyHgF5D2PiztSIwGQ1HRyC/mwdt3c9Qu4E1xM0NfpBITMx9H4Eao8fquBpONVcKbndPXNMR1tM9GNP9KpIChms34P/x6SOMvZMtnXiMldFVeH/NQGzJkXpMYM0MIri6Mw2bsPdJQ9QhCDB5HFNpKPqbTjj4BS0ElqaVG6XL5INBVXMqhrvuLrfRFb3Q8azDwUSyUvsfGvdbQ7igv7mRD7gbkVb7CbKdxo6rz3D3lcBxSz9ssrGoviNlS23B0RBI8wmje1a40l0GS7uRxTXH70ZHRs6nOmsmXEUL+JOS3rMdpw8+SKl9r1JGHdur3Biyhy2/HwBnJUkfiOEEEh/QBc7UaANcLpuS0r4WJjC+PRiKhCKlHGNYdjU6d5bQOX1EcTqlvpxju+9Dv0vqXoPNObl3IUPAXmeReG/9aUO28vf52CH8+rafZ2cDYmjLpQrTpBgB","thinking":"The user is asking for weather information for Florence, Italy. I have access to a weather function that takes a location parameter. The user has provided a specific location: \"Florence, Italy\". I have all the required parameters to make this function call.","type":"thinking"},{"id":"toolu_01VDunTVNHZwPF7WfabdESCC","input":{"location":"Florence, Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01VDunTVNHZwPF7WfabdESCC","content":[{"text":"40 C","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"thinking":{"budget_tokens":4000,"type":"enabled"},"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - event: message_start - data: {"type":"message_start","message":{"id":"msg_01MXNZyH3T2NqTQQXgW5YHm9","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":550,"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":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"The current"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" weather in Florence, Italy is 40°C (104°F)."} } - - event: ping - data: {"type": "ping"} - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" That's quite hot! Make"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" sure to stay hydrated and seek"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" shade if you're planning to be out"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"doors."} } - - event: content_block_stop - data: {"type":"content_block_stop","index":0 } - - event: message_delta - data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":550,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":43} } - - event: message_stop - data: {"type":"message_stop" } - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 1.532076875s diff --git a/providertests/testdata/TestAnthropicCommon/tool_claude-sonnet-4.yaml b/providertests/testdata/TestAnthropicCommon/tool_claude-sonnet-4.yaml deleted file mode 100644 index 595973d712b3eb2c8776a8b922ff940ecaf0c34e..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestAnthropicCommon/tool_claude-sonnet-4.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 496 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"What''s the weather in Florence,Italy?","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"msg_01XS5ugdqXSWzdgv1t8KCAgM","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"I''ll get the weather information for Florence, Italy for you."},{"type":"tool_use","id":"toolu_01H9xgJiNz1LrNwZBL2mhDSZ","name":"weather","input":{"location":"Florence,Italy"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":394,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":67,"service_tier":"standard"}}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.846444333s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 869 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"What''s the weather in Florence,Italy?","type":"text"}],"role":"user"},{"content":[{"text":"I''ll get the weather information for Florence, Italy for you.","type":"text"},{"id":"toolu_01H9xgJiNz1LrNwZBL2mhDSZ","input":{"location":"Florence,Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01H9xgJiNz1LrNwZBL2mhDSZ","content":[{"text":"40 C","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"msg_013cdiX8KF7mYMg4iXHqHMq5","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"The current weather in Florence, Italy shows a temperature of 40°C (104°F). That''s quite hot! It would be a good idea to stay hydrated and seek shade or air conditioning if you''re planning to be outdoors."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":476,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":53,"service_tier":"standard"}}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.396289583s diff --git a/providertests/testdata/TestAnthropicCommon/tool_streaming_claude-sonnet-4.yaml b/providertests/testdata/TestAnthropicCommon/tool_streaming_claude-sonnet-4.yaml deleted file mode 100644 index f0112bda418fc797cc9d386302e0f4feb4afd12e..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestAnthropicCommon/tool_streaming_claude-sonnet-4.yaml +++ /dev/null @@ -1,145 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 510 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"What''s the weather in Florence,Italy?","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - event: message_start - data: {"type":"message_start","message":{"id":"msg_01Ev2qZySqgvcng4tnssxBCo","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":394,"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":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll get"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" the current weather information for Florence, Italy for you."} } - - 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_01UJ8W4Q3xN4BF7BQbn4hx4p","name":"weather","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":"{\""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"locat"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ion\":"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":" \"Florence, "} } - - event: content_block_delta - data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"Italy\"}"} } - - event: content_block_stop - 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":394,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":68} } - - event: message_stop - data: {"type":"message_stop" } - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 990.073459ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 892 - host: "" - body: '{"max_tokens":4000,"messages":[{"content":[{"text":"What''s the weather in Florence,Italy?","type":"text"}],"role":"user"},{"content":[{"text":"I''ll get the current weather information for Florence, Italy for you.","type":"text"},{"id":"toolu_01UJ8W4Q3xN4BF7BQbn4hx4p","input":{"location":"Florence, Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_01UJ8W4Q3xN4BF7BQbn4hx4p","content":[{"text":"40 C","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - Anthropic/Go 1.10.0 - url: https://api.anthropic.com/v1/messages - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - event: message_start - data: {"type":"message_start","message":{"id":"msg_01UQXrLmqCxBjSvkL5m4cPoV","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":477,"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":""} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"The current"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" weather in Florence, Italy shows a temperature of 40°C ("} } - - event: ping - data: {"type": "ping"} - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"104°F). That's quite hot"} } - - event: content_block_delta - data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"! Florence is experiencing very warm weather today."} } - - event: content_block_stop - data: {"type":"content_block_stop","index":0 } - - event: message_delta - data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":477,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":36} } - - event: message_stop - data: {"type":"message_stop"} - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 1.728299292s diff --git a/providertests/testdata/TestAnthropicThinking/claude-sonnet-4/thinking-streaming.yaml b/providertests/testdata/TestAnthropicThinking/claude-sonnet-4/thinking-streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d788a3137b1dfa19422d018b531c3975dd2d56d5 --- /dev/null +++ b/providertests/testdata/TestAnthropicThinking/claude-sonnet-4/thinking-streaming.yaml @@ -0,0 +1,160 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 562 + host: "" + body: '{"max_tokens":8096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"thinking":{"budget_tokens":4000,"type":"enabled"},"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + event: message_start + data: {"type":"message_start","message":{"id":"msg_01WBeG2NaYQ8w99747S3n8MZ","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":423,"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":"thinking","thinking":"","signature":""} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"The user is asking for"}} + + event: ping + data: {"type": "ping"} + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" weather information for Florence, Italy. I have"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" access to a weather function that takes a \"location\" parameter. The"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" user has provided the location as \"Florence,"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" Italy\" which is clear and specific. I have"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":" all the required parameters to make this function call."} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"signature_delta","signature":"EsQDCkYICBgCKkBr9+FTcKs+la0OlmRVB4HF/bTERKj+hr9pp9uxwdet2/P99iNZh/vwxm7Cd5wrZD0FnPkUz3DEqXv+ZoIL2fAoEgxOEzQepAptMFJiFJcaDM2L2wJzGec9170N1SIwHhl0DW0hXYbwHTRAR6w9biU0HwUh00oLghjeBusiv40ctsJB4tO/WyOR2f0iH7pZKqsC3UTE2b7nqQUmYP8dEDfnfNdbr24zEaWiZ2QMbwv9ZrwtUy0Wo/ot3n9JMpocHUSwtyKzB4GsMsgr/xtGEl9541AMSFhR1G8y3Ffn22e6pXV7dakwU/vxcBTvdwfBplrBxxJ1zT/ieuQUrdemKCRZS4QVmaVijUpYQMaQF7iCJJPKYI+wBhxT0y0yOoVqORKg2AuRmbkTpMfKZJ5xRBLAeydMhloeKfYswDDisWIChmJlclIro0Jr80OhpohTcQGayY4fjn0A/ir+9PYzLzjGitR3a+/lfHvuTmPC9AnWv3Sp87mddUuJ10jqO9QWXNTnAVdehLiN/heJVjOMkXCstWLVUycEgnfwXEqlNMMFuRAfOwTte0Ls9qHkl3Fzo8ompJiqxF879rSwcSEYAQ=="} } + + 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_0171KFcBwn1Z64XzvQfz3sZS","name":"weather","input":{}} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}} + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"location"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"\": \"F"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"lo"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"rence, I"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"taly"} } + + event: content_block_delta + 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 } + + event: message_delta + data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":423,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":119} } + + event: message_stop + data: {"type":"message_stop" } + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.294270083s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1796 + host: "" + body: '{"max_tokens":8096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"},{"content":[{"signature":"EsQDCkYICBgCKkBr9+FTcKs+la0OlmRVB4HF/bTERKj+hr9pp9uxwdet2/P99iNZh/vwxm7Cd5wrZD0FnPkUz3DEqXv+ZoIL2fAoEgxOEzQepAptMFJiFJcaDM2L2wJzGec9170N1SIwHhl0DW0hXYbwHTRAR6w9biU0HwUh00oLghjeBusiv40ctsJB4tO/WyOR2f0iH7pZKqsC3UTE2b7nqQUmYP8dEDfnfNdbr24zEaWiZ2QMbwv9ZrwtUy0Wo/ot3n9JMpocHUSwtyKzB4GsMsgr/xtGEl9541AMSFhR1G8y3Ffn22e6pXV7dakwU/vxcBTvdwfBplrBxxJ1zT/ieuQUrdemKCRZS4QVmaVijUpYQMaQF7iCJJPKYI+wBhxT0y0yOoVqORKg2AuRmbkTpMfKZJ5xRBLAeydMhloeKfYswDDisWIChmJlclIro0Jr80OhpohTcQGayY4fjn0A/ir+9PYzLzjGitR3a+/lfHvuTmPC9AnWv3Sp87mddUuJ10jqO9QWXNTnAVdehLiN/heJVjOMkXCstWLVUycEgnfwXEqlNMMFuRAfOwTte0Ls9qHkl3Fzo8ompJiqxF879rSwcSEYAQ==","thinking":"The user is asking for weather information for Florence, Italy. I have access to a weather function that takes a \"location\" parameter. The user has provided the location as \"Florence, Italy\" which is clear and specific. I have all the required parameters to make this function call.","type":"thinking"},{"id":"toolu_0171KFcBwn1Z64XzvQfz3sZS","input":{"location":"Florence, Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_0171KFcBwn1Z64XzvQfz3sZS","content":[{"text":"40 C","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"thinking":{"budget_tokens":4000,"type":"enabled"},"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + event: message_start + data: {"type":"message_start","message":{"id":"msg_013robXNGqrQ66iDpnRyejiu","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":557,"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":""} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"The current"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" weather in Florence, Italy is 40°C (104°F)."}} + + event: ping + data: {"type": "ping"} + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" That's quite hot! It appears"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" to be a very warm day there"} } + + event: content_block_delta + data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"."} } + + event: content_block_stop + data: {"type":"content_block_stop","index":0 } + + event: message_delta + data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":557,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":35}} + + event: message_stop + data: {"type":"message_stop" } + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.164435458s diff --git a/providertests/testdata/TestAnthropicThinking/claude-sonnet-4/thinking.yaml b/providertests/testdata/TestAnthropicThinking/claude-sonnet-4/thinking.yaml new file mode 100644 index 0000000000000000000000000000000000000000..01d8b3a18c5420e60660b61280152ce7bddd2ad7 --- /dev/null +++ b/providertests/testdata/TestAnthropicThinking/claude-sonnet-4/thinking.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 548 + host: "" + body: '{"max_tokens":8096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"thinking":{"budget_tokens":4000,"type":"enabled"},"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"msg_0161zGUJcy7n6Gtc3W2yEfEi","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"thinking","thinking":"The user is asking for weather information for Florence, Italy. I have access to a weather function that takes a location parameter. The user has provided the location as \"Florence, Italy\" which is specific enough for the weather function.\n\nI should call the weather function with the location parameter set to \"Florence, Italy\".","signature":"EvIDCkYICBgCKkB3OXkd+Z/weJsi/KkBdtuRG6KOJp06/IzU7Jk57DreAI4FgyT9Xqef8INOF0ENXD//orE8oncMe+M72OyRG7FQEgxPaEO4DRV1o5sFWXAaDNTMb6U1NI1BcmYAPCIwzkufbx9sEOQQxPyBOcNFCs/SugbLyRr2IlXwdFmYoDeaOm1DkRFknTct6f6A6EzxKtkCVGlLUEl4LBJeAuluxJbq3PlzewMXa7EEvsi+M4T71uUci/d0RIK2Z5NxNpgTbVqM7shsDImrqR/0gJ/6BxwEptGq1G626mA5DgyfjR0QJ0etDk8kT7iJ33H6BRMGA8DnehmhOUYGTiajWdjgD3/H0S8mVT06swDddMKynOg4sRlr8PvQBDcyDlHTVQUo5SmrOPm8JsOtLfN8nDKTdhU0NofnVVNklOKblM83YuT97HhM269IQEf6rbqKknBZSvKVJOoHkOwTCn60uQj7b1wpVTjI4KRCVnlhRBpVrVyTmveM5kZXNdL/6sHUHboPCUYPbU24aYf/BTPswY2NsbdtpIRS3uHnSyIZ0gOMZA/5pWQbNJYjL5iksP8waiwCgOPkadqo02yQvqDY6XCfVd9LkRdaUQIZOt9IaSDE+9mvGnH025qCd4/sGBy+QRd9T/uNAFmkjeG9wL4oGAE="},{"type":"tool_use","id":"toolu_018GcaTNHipGG9yeZ3srYF9d","name":"weather","input":{"location":"Florence, Italy"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":423,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":126,"service_tier":"standard"}}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 3.787719958s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1891 + host: "" + body: '{"max_tokens":8096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"},{"content":[{"signature":"EvIDCkYICBgCKkB3OXkd+Z/weJsi/KkBdtuRG6KOJp06/IzU7Jk57DreAI4FgyT9Xqef8INOF0ENXD//orE8oncMe+M72OyRG7FQEgxPaEO4DRV1o5sFWXAaDNTMb6U1NI1BcmYAPCIwzkufbx9sEOQQxPyBOcNFCs/SugbLyRr2IlXwdFmYoDeaOm1DkRFknTct6f6A6EzxKtkCVGlLUEl4LBJeAuluxJbq3PlzewMXa7EEvsi+M4T71uUci/d0RIK2Z5NxNpgTbVqM7shsDImrqR/0gJ/6BxwEptGq1G626mA5DgyfjR0QJ0etDk8kT7iJ33H6BRMGA8DnehmhOUYGTiajWdjgD3/H0S8mVT06swDddMKynOg4sRlr8PvQBDcyDlHTVQUo5SmrOPm8JsOtLfN8nDKTdhU0NofnVVNklOKblM83YuT97HhM269IQEf6rbqKknBZSvKVJOoHkOwTCn60uQj7b1wpVTjI4KRCVnlhRBpVrVyTmveM5kZXNdL/6sHUHboPCUYPbU24aYf/BTPswY2NsbdtpIRS3uHnSyIZ0gOMZA/5pWQbNJYjL5iksP8waiwCgOPkadqo02yQvqDY6XCfVd9LkRdaUQIZOt9IaSDE+9mvGnH025qCd4/sGBy+QRd9T/uNAFmkjeG9wL4oGAE=","thinking":"The user is asking for weather information for Florence, Italy. I have access to a weather function that takes a location parameter. The user has provided the location as \"Florence, Italy\" which is specific enough for the weather function.\n\nI should call the weather function with the location parameter set to \"Florence, Italy\".","type":"thinking"},{"id":"toolu_018GcaTNHipGG9yeZ3srYF9d","input":{"location":"Florence, Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_018GcaTNHipGG9yeZ3srYF9d","content":[{"text":"40 C","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-sonnet-4-20250514","system":[{"text":"You are a helpful assistant","type":"text"}],"thinking":{"budget_tokens":4000,"type":"enabled"},"tool_choice":{"disable_parallel_tool_use":false,"type":"auto"},"tools":[{"input_schema":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Anthropic/Go 1.10.0 + url: https://api.anthropic.com/v1/messages + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"msg_01EpG6sx9WamuPv9k6S2aHDB","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"The current weather in Florence, Italy is 40°C (104°F). That''s quite hot! Make sure to stay hydrated and seek shade if you''re planning to be outdoors."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":564,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":43,"service_tier":"standard"}}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.560516875s diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/multi_tool.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a8b82ac42b7cda3d00d343b7a4fb645bf802e28a --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/multi_tool.yaml @@ -0,0 +1,136 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 826 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "functionCall": { + "name": "add", + "args": { + "a": 2, + "b": 3 + } + }, + "thoughtSignature": "Cr4BAdHtim9LvttVUIQ0QpEtexErSfMWokWFxdJCGfdh4M6N0YBwqI+kBhIbVJOwQonI1GmBaw8lfUzjvYYW2ScSRvYAUJoBWMRuLzcaafC/2FnOcLPR9hyaC9499fBWocLFbnCRO/0bzA+Z4uAS81EL/zTqCsZuO5OS5KwvLe9OIbPXrMc65pKhED6D80UaJe9+9OfeIKsTf53yxXUk7elFlA//EukpULLiadHrHKMVFu9FKnHwFBQ+BsY9lALcSg==" + }, + { + "functionCall": { + "name": "multiply", + "args": { + "a": 2, + "b": 3 + } + } + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 125, + "candidatesTokenCount": 36, + "totalTokenCount": 200, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 125 + } + ], + "thoughtsTokenCount": 39 + }, + "modelVersion": "gemini-2.5-flash", + "responseId": "53LWaN-ZF8_l7M8Pt4CxmQE" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 1.153815667s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1173 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"add","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"multiply","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"add","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"multiply","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "The sum of 2 and 3 is 5. The product of 2 and 3 is 6." + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 185, + "candidatesTokenCount": 24, + "totalTokenCount": 209, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 185 + } + ] + }, + "modelVersion": "gemini-2.5-flash", + "responseId": "53LWaPLjL-Li7M8P1p-bsAs" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 401.486666ms diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/multi_tool_streaming.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a620faed2700c52c14f8fca20afaf7dcc9fbbf0 --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/multi_tool_streaming.yaml @@ -0,0 +1,65 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 809 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"add\",\"args\": {\"b\": 3,\"a\": 2}},\"thoughtSignature\": \"CikB0e2Kb3lvvSL0It28ryFF9z5njRrxz3nsWrllFnR383RdO+Nvx+O+jAptAdHtim90asVCH4fPJo0zzAM1LahZnmnG89/nkCa+cp1fnFR9gNoREBnHD+AeskNrSR799cQqjqA9e/fU82a1LDE59kURBuczfm0udTUlIHvry3e8sg4ST4P3T1HxxDl7fdjSs6U0OYGcu4J1TgpnAdHtim8/SPXWy3ZQd+BX+TdRCZ+dmdpkztv5mNK8x6m8pkAIeVPJOQq2xOq1R4kXryxbzcjeEgW60lBKOaHz8sVUMkuHC03Y0WnuNr29ObdqmLCQdSFRvpLljGIXoYQU4egHik5IiQ==\"},{\"functionCall\": {\"name\": \"multiply\",\"args\": {\"b\": 3,\"a\": 2}}}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 121,\"candidatesTokenCount\": 36,\"totalTokenCount\": 195,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 121}],\"thoughtsTokenCount\": 38},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"6HLWaOOUB8W1nsEP0aLTmQs\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 798.333667ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1156 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"add","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"multiply","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"add","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"multiply","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The sum of\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 3,\"totalTokenCount\": 184,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"6HLWaNm2N6epnsEPos_v2QM\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" 2 and 3 is 5, and the product of 2 and\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 18,\"totalTokenCount\": 199,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"6HLWaNm2N6epnsEPos_v2QM\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" 3 is 6.\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 23,\"totalTokenCount\": 204,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"6HLWaNm2N6epnsEPos_v2QM\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 310.455333ms diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/simple.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c7e7c9cbb675cdd6ae77da30d4288cf56bbd2d77 --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/simple.yaml @@ -0,0 +1,62 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 202 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "Olá!\n\nIn Portuguese, \"hi\" or \"hello\" is **\"Olá\"**." + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 11, + "candidatesTokenCount": 19, + "totalTokenCount": 54, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 11 + } + ], + "thoughtsTokenCount": 24 + }, + "modelVersion": "gemini-2.5-flash", + "responseId": "4nLWaKeCGN-ynsEPsYS_iAs" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 831.958458ms diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/simple_streaming.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6a0ac1f310f4b230d3a0906d011fc2d7ff33d967 --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/simple_streaming.yaml @@ -0,0 +1,34 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 202 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"Olá!\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 2,\"totalTokenCount\": 39,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 26},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"4nLWaP6OKvCDkdUP7Ze-gAc\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 423.699166ms diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/tool.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..622aae39e79c59c221828a9bc62e1d3260b686ca --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/tool.yaml @@ -0,0 +1,126 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 509 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "functionCall": { + "name": "weather", + "args": { + "location": "Florence,Italy" + } + }, + "thoughtSignature": "CoQCAdHtim/RXh2BurmfhDAIWuDZaECZhw96eMGy0JrHOvouNR43xVQZdtrsPVDRc9XlaGzzZMpiBeJ90773lWhO96qMygspNDBUXQLCnl73AjXpkroRFxcupqHe0xjcZq1WwTLqmq+1JOcdZ4EY9MQl2LkBccWIM38fZFW0bV76uuGAikuhRw8huaD7EjP/8819+E7WVVGKjmaYr2lchfYv36/1OJU4Y2cqwgO6aNTEyVBYmbs61vN4SaNhj+ogcJ6orbgNLiq0Q2nfLL2LPLBxW3MfefywSvaq147G6NmA6HCfno10SEBA5tmrNfmFMvfdOcppyRB8rfDU0QXcyDnJEhUNfrQ=" + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 54, + "candidatesTokenCount": 15, + "totalTokenCount": 122, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 54 + } + ], + "thoughtsTokenCount": 53 + }, + "modelVersion": "gemini-2.5-flash", + "responseId": "43LWaMOULuH6nsEP-JagUA" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 926.95325ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 734 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence,Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "The weather in Florence, Italy is 40 C." + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 84, + "candidatesTokenCount": 12, + "totalTokenCount": 96, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 84 + } + ] + }, + "modelVersion": "gemini-2.5-flash", + "responseId": "5HLWaP7VKJS9kdUP1JnEcA" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 906.09475ms diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/tool_streaming.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..44504fb103cf8d3273308dcb4cfb0aa1b28c9820 --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-flash/tool_streaming.yaml @@ -0,0 +1,65 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 509 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"weather\",\"args\": {\"location\": \"Florence,Italy\"}},\"thoughtSignature\": \"CiQB0e2Kb2nydtkPsPv5SBWwfdU4qx+TcPFwpZyuV8D6pFTSVcoKZwHR7Ypvj342RSIe13FWPJAwLK5jtwQ8vNB0R6Q/XEGomKaJZ+q+5cbb3zD4MA6RKHhRObxc19xlYF2o/5P/3z40n0bunAwVbFaBL3l157WWknCig6L+sxuE1lb9geTGs/rNi4GNJXgK3wEB0e2KbyPDgGodb0LeqS5p5nZ9/fYtRl65VHCvxzHINo3aSZB6Ge8cjhTUE+HWdVxa5Lj7k4Yu/yfzWX3fHxkSFLoJ1cZnbHo9YJ+BbwMtkhTKtgrguoWnUJUq1hEzZRB0vWfPbcy5C1Nr1ciVtFLj7mTnPg1AYaHXLTpnnA3jZkk+0AMjmo7VhMISvDy5UB4RLWp5xS7IRb+mapcLpF81KPFCqvaePBJg42sGp6WPc35IdAaCkGDGPnKc2PwojKBN9vFzdU7fFEUtYGadMzc9TytgDwWb9+ajZElJFmPp\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"candidatesTokenCount\": 15,\"totalTokenCount\": 131,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 62},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"5HLWaPDAOMnynsEP8_L8-Ak\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 835.207542ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 734 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence,Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 1,\"totalTokenCount\": 85,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"5nLWaMntB43j7M8PnrON6AE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" weather in Florence, Italy is 40 degrees Celsius.\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 13,\"totalTokenCount\": 97,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"5nLWaMntB43j7M8PnrON6AE\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 615.482167ms diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/multi_tool.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fc2dc75339191ef3bd11c0f786cd23403d6f20de --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/multi_tool.yaml @@ -0,0 +1,136 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 826 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "functionCall": { + "name": "add", + "args": { + "a": 2, + "b": 3 + } + }, + "thoughtSignature": "CuQFADAxMjPxsJR9toWWnUfIQFL4+a3a3TWJc2aElVgfba0XCZa46jIcj060TCXh0Mb3Lk67jSTZpDpBGoftUak55wpLE14yvA/zCS135HKExtymOMVOniuL4C2o2Uj6MmECZRfLk0ihCSap/oNyqcZijc+L1lvBh0UTH1FsfQgoTuRCpdkxfFYTX+TVgfwuct4QAoWsU+UuGr+Bh5MgVPyP4iVe6c3g8zrw0F2sm8jNXpwG3ymsZzZou2zZYl1s6yEXlTiQSqL6ZC+D862pT44cRaiG/gvCGRsluyW4/U0cwRmyGMEqmraUnTgwWhBp2UbcKwGjwn/UO9kUGMObS3j8YUaiGRlhv5HXxQpKEpVwmTawBgcdVjV7JI+W2Kn81dY4GtF2KMDqXuDvXyakh3GAjkXqtVGHU4oqOS/unBUGP9Skkmo3CX8Q1oaZO2uPBmF2XkQKVR1VcSRQ8t9eNXo7ps1LcPLw2vejhdxVl7GlWN+4Gq36R8EVroBF2EUhCAquPZi/F9wyw69ISGyc74uSpxldhgfXCrBc4ZBkX9mOrEeefTxZZRYUfFyhjhjCfXmkm1mZyDAJWsiVqEPjli9n7ze1Nfm6xpclH5s/sF7ehiaR7UzsyoIYDNdJEBj4Oel689uKX6BX0/RMPYy3x/7b8313MCTjRbng3F53nJ8X/86TZ6/oc3BREuZ/V1WMhmtvxoyhxkkkwqszFMEGvovN8WcBbhxOhJSxSsN1GX/Ml8s/B/j6ltWK9hTTzq2tjAXkr8IAExCFZKXI8t0YPnQPtFwthEhr/uHwfax2AevlH1coqdzsW8ji5KWFu5b9A97/plyTR3p9LZ0eQu5Axp7NPlXty1Ee+rHqHztKSGq4WAdLgJwrN12lAMMDl2D4xYEAqI5Kxp7rMQAmt3tEwUPpGHh9ppF5xhlkAVstu0a9KRiHCQOac0MM2fJhj8/IbwrExkkbdnBdlybN+s5NjJ43vftZ0q4=" + }, + { + "functionCall": { + "name": "multiply", + "args": { + "b": 3, + "a": 2 + } + } + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 125, + "candidatesTokenCount": 36, + "totalTokenCount": 359, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 125 + } + ], + "thoughtsTokenCount": 198 + }, + "modelVersion": "gemini-2.5-pro", + "responseId": "B3PWaMOZIoq8kdUPytqTAQ" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 4.136286208s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1173 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"add","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"multiply","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"add","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"multiply","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "I have added and multiplied the numbers 2 and 3. The result of the addition is 5, and the result of the multiplication is 6.\n" + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 185, + "candidatesTokenCount": 32, + "totalTokenCount": 217, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 185 + } + ] + }, + "modelVersion": "gemini-2.5-pro", + "responseId": "CXPWaK2IFtmAkdUP6o2M6As" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 1.801805917s diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/multi_tool_streaming.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..69d75e91e3624b1443ef2591c62c49aacf6aa307 --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/multi_tool_streaming.yaml @@ -0,0 +1,65 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 809 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"add\",\"args\": {\"a\": 2,\"b\": 3}},\"thoughtSignature\": \"CiQAMDEyM7y/wJvle9H/ekhz/c4+Ce/W+U6hquBT5IxsfDMOQCYKXgAwMTIzWD1quQehsgBRbbQIb4N9aHtIKnu5KC+fWwJ0qMKDcxiZqn8B/RxLKATLm2DM4+zOFX2/krQW+/ShV71Ngjxx3i9XpZlSwBu9DREDdkS7Fknzusxmeh1B47MKiwEAMDEyM7pnSAMl8nSvleQVsTJjuP/qhwGHUYPn3+NvR42c4S0eHa9xCN4oUyFYStUxz8nqjSKhljwJMD+8L57dTLodpUKlOyuMV9ERdPdklT18jUQc/KiykSZw0m4fdTUSm02+Dgf7Ar2XLa7t5r5GXDCrlXGomSA8spVaTLKbdmaZ3SfdDH8zwoDCCocBADAxMjPSj9qhCP7GOfWIyJ9Wdzm1fZtFMbfpOcj+GWX29v0NInD72rEnOr3IaFgCEDtIXkivAo8DVbOSfRM9p/IJq+eHUFyu1h+5/hoJ02vto4EYgRUYslcp0HpFePJY07AtteBLPWyYN8eUzRLVis64BHB21xDcN9OqODmpIGOFcymoF+yzCnEAMDEyM/5NuMhYGYKfsdn23hHFvIc9Gx0ECxXSSoQ3co3Kd/C0Hruis7/jD/5o3Os6uipn2TFyHRgBlFyqYCFN9419VgR7Z2cv4DxZMqPsSO4y/96t9elOQFfmh4k2Y0FXr5la9pjV+4+9gxP5w60SCwpnADAxMjM7orP6u/v7wdr8RJAOaN78ZlvrjXqT/JAEbIVamKpoGFWpkaRmzXRHy6u6cTuE9MoEzXZL/jmUx1dU4lm89QTjkp5UHvc2F8COgxEqI3j0vjLPTNoxZyYdQwx7CuSdRhGIqQplADAxMjO/9cBSAtAwIzb5Z+/GHCU2RQWkqtcIMbLhUSDgETcEeZ8GdMWiaAcdRF6BNalgcq4aduMvoWIHY3VwWKLTlvyB99oX9jpzYP1wHPDKnb0DM1bZecSIq63wdalB3kbsWHsKhgEAMDEyM9mhHHqmKYjUbSNUJ7Q3iCzWgDT6hf7mqv6xCzKeeDpyAE3U+CSUnlh+HUSvj9Qp4H+v7SVmndUTWl/6BQht7NfuldoB4gaNVRQhfhvQEpFtFFGiP+Hgh/Fqz9n44K6yB/C2D9XghUdvQdYa2wakavP/f4JT4kkdph9h4+K87186ZgpEADAxMjOOt4RZQFYJ853EhuT3VM0Xe3SWNyeHZqJSwOw47syn0Qv85zcMaeLzEXF98K8Zclz1+2LkxMAzqXWXN3dF8BE=\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 121,\"candidatesTokenCount\": 18,\"totalTokenCount\": 326,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 121}],\"thoughtsTokenCount\": 187},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"DHPWaITGFqe5nsEP0f-NgQc\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"multiply\",\"args\": {\"a\": 2,\"b\": 3}}}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 121,\"candidatesTokenCount\": 36,\"totalTokenCount\": 344,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 121}],\"thoughtsTokenCount\": 187},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"DHPWaITGFqe5nsEP0f-NgQc\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 4.498333334s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1156 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"add","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"multiply","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"add","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"multiply","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 1,\"totalTokenCount\": 182,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"EXPWaOXfNY3j7M8P3bON6AE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" sum of 2 and 3 is 5. The product of 2 and 3\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 20,\"totalTokenCount\": 201,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"EXPWaOXfNY3j7M8P3bON6AE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" is 6.\\n\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 24,\"totalTokenCount\": 205,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"EXPWaOXfNY3j7M8P3bON6AE\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 3.872278375s diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/simple.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5fbc5ef7c5d916f2f3601e680b0d94d14c917ca6 --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/simple.yaml @@ -0,0 +1,62 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 202 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "Of course!\n\nThe most common ways to say \"hi\" in Portuguese are:\n\n* **Olá** (A bit more formal, like \"hello\")\n* **Oi** (Very common and casual, like \"hi\")" + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 11, + "candidatesTokenCount": 49, + "totalTokenCount": 677, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 11 + } + ], + "thoughtsTokenCount": 617 + }, + "modelVersion": "gemini-2.5-pro", + "responseId": "8HLWaNeEFcqpkdUPnej7cA" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 7.315723791s diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/simple_streaming.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..51f9e3f4f9597acec070cc03a30a4e3150643d52 --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/simple_streaming.yaml @@ -0,0 +1,34 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 202 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"Of course!\\n\\nThe most common ways to say \\\"hi\\\" in Portuguese are:\\n\\n* **Olá** (Hello\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 25,\"totalTokenCount\": 816,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 780},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"8nLWaJ6zBu-E7M8Pvti6oAc\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" - a bit more formal, but can be used in any situation)\\n* **Oi** (Hi - very common and\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 51,\"totalTokenCount\": 842,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 780},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"8nLWaJ6zBu-E7M8Pvti6oAc\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" informal)\\n\\nYou can also use greetings based on the time of day:\\n\\n* **Bom dia** (Good\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 76,\"totalTokenCount\": 867,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 780},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"8nLWaJ6zBu-E7M8Pvti6oAc\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" morning)\\n* **Boa tarde** (Good afternoon)\\n* **Boa noite** (Good evening /\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 100,\"totalTokenCount\": 891,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 780},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"8nLWaJ6zBu-E7M8Pvti6oAc\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" Good night)\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 103,\"totalTokenCount\": 894,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 780},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"8nLWaJ6zBu-E7M8Pvti6oAc\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 8.844180583s diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/tool.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7f403793d14c5599a69fb73d4547918b67a113c6 --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/tool.yaml @@ -0,0 +1,128 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 509 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "functionCall": { + "name": "weather", + "args": { + "location": "Florence, Italy" + } + }, + "thoughtSignature": "CoIEADAxMjP/1r9Ehb1hMsCGxmRcIP+NfJYs5AhN1vOqcJSADnQNg0th80QbX5wKXuEj5Qf/EhEXvIKSHiTZTEIre13But3TzRwORDAJjrprSqG778poPprDsbFv+mUlydKMQ/2xv32LcNVeAAWf/b3fp9LX+02t2LWNh1Q07j50ok7vf5pTaH3MVY6xTKekx9mSen3IsKX1u95mu8EJKBCd7bUJri8WZDuuh7ujhWZxfcSe0uRtwQTPCxzY0ZPwOdKPh0Pi4qqwTIBUgczVJHdAzwZrJGLlf5X53i/tcV3N0x8/Evg5yMrqrTrmOKW6j7fcYpvnVi6qa+VTQsFLBgMmA3sB+KiHEepTUjqOzVsONvCPEUY401AmopBy/+0IZKXAoSFrfMDI5nYc+QtxBH2d0QIfk9ZAYY98B3vo1edYZt7Hzc8D/YkBHUcmMsIjVYyfTyuWGalq0vXYqj6jzjHKu1t+oIV6GhehVhCX6MFNu2ogIFPREusFNmqHQvRsIIaatOgddEEy+kath3csDKU41RKvD6XCtt0LkAwCVR/S+zJHdphGkgy3DxAENrmpOLkP/4DPMv/VvmtPcVo9pp2GGy515YnrPgPD9N++lPFXB+pY27tVhCpgRo/XDnM7cot64U3IURL35jgvYPytKsU7J9+G+KI/uUFKhDLKfpsFCJMVaw==" + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 54, + "candidatesTokenCount": 15, + "totalTokenCount": 188, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 54 + } + ], + "thoughtsTokenCount": 119 + }, + "modelVersion": "gemini-2.5-pro", + "responseId": "_HLWaOTEEaaE7M8P2v-q6AY" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 2.570022292s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 735 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "It is 40 C in Florence, Italy.", + "thoughtSignature": "CrEFADAxMjOTETaUeVTeEBfr/K5W2YcCHTKu2k2V7oGdytdZWBmRyAWtt6l1BEuP1CaoRb5xKDNZiZAPbwfsZjb4xW7nV34Va6I7Q7XtewDymKsCwTGoO6pbJJ02jm/LgjSsv6LsHxu37DlTo2IQzaM9OgEGRqRksE4FcGNJA06RBbm3KZLUJLue19ZW9E1ucict1u+jc7W/Hk+JqYdd3nlZPEVsbAdAVhxV3gsh6ElJuK47hAzj1sEbzt2pxEMx7abDMxAxPsm+i059DM3URTOcsHGHApsr3fvjdFReFGA+HyPm37wTysqoOsP6pjUzAN6IKP+OFYP1fZcWUsR4rI6pn1KSPGcl37pT3vGbkLTjxHahTMdcnipUTOTQRP/FkG99SeYcqXGWDTeXjbOR4GnrFIFGVHog7VUmMN7bx9UUpnOQ6chGzT7ZoayyhcQTCi5yYCzNAT4rXgg0eCwpMu13OTaeI+KVIbuCqgKLswrQ+9nllsRgpngmoE2p3U+Y1FFz0intoU2tBDI6AVf134xvnBWHVsbWry05QJPP5RQQYJ3EHEvYaHdWkHiWuO8i9aZ99YQ0U6O92Sy0i31qY8eXLH1JzZ/KESHra7pDOPUPNAgnZLxm3gnbfUafehEEes0NG4DJ8YIh4Lqy25g+Uk6IXl6WzCiHiveji5towENouDnmAc9ONCXX5rf2a+Gv392bdO9bIXzaWdRTVBWdfgq0NcqX+o2uqZL9+oK5tgho5YodFN4Y9yA1cR+zJV+cEJ80s1Td8kEF4oFpQgleLmid+sXtWS7zRd0CoTM0MuKXrfFzmZVAYSWrOnI06Bfjp2yuVt0EfwmZnTb2iaL/WcFoErPtu4cotTnl+zcZe53hEytICMm2JdpVjia5SoVttqe0Vuusk5cD86WPQ8Bu2JSfP8s=" + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 84, + "candidatesTokenCount": 11, + "totalTokenCount": 261, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 84 + } + ], + "thoughtsTokenCount": 166 + }, + "modelVersion": "gemini-2.5-pro", + "responseId": "_3LWaM30LrSC7M8PlbSegA4" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 3.478226625s diff --git a/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/tool_streaming.yaml b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c412d01137b3d4dcda9f4a76eeeaddcdeea20d4c --- /dev/null +++ b/providertests/testdata/TestGoogleCommon/gemini-2.5-pro/tool_streaming.yaml @@ -0,0 +1,65 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 509 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"weather\",\"args\": {\"location\": \"Florence, Italy\"}},\"thoughtSignature\": \"CiIAMDEyMwwMJJqiCKz4VzG3qJA7LTurT7NRFfJD5RbIGkyKCmcAMDEyMylbN4M9IorKIgnOaeKSZLO+Dmdc3CN8Ykr/J85vASu1ewoQzxWXSaGyvblIjXsuD/O+5bQK6JovlFpSOdr4DInlXATtkMTtxZNtZdKBscb7H/ZfhlDQVuPzRcriIRflrk1nCocBADAxMjOR8UCtfaH+TNsdgdU5M81Ytdcw1B9wWslWPBJoy+ol+fHoQWWxGKxFMFr85j8CP8Y3ABWH8ys1Q27jJN1Zol3zYGeLM89G/0yHxOjuHmTpbVVOU21czJQqBNyOHjIh/me1SJeaYFmdNyoYjp0p3rOmo61aWdpMBy8K4hFR1CIIEZfVCoABADAxMjOprlT85BY4gsIO4TrKV/YnfpwDJyTG6LFoefZucUiQG1e5DqGWqS7kQExDzHxXN6hiexCUiGlG8wZ+8F8+FtkYfkz0e4JmDB61z3bQCd16mrg+hv8dfoAhEOZFDtsfwQ9qBrS7hka4RJN0gT6mGzztfd98zQiQXpy61L8KhAEAMDEyM10gRA4BgbBVpr3JZ5Qp0/Mjdfbkoyq6nZNhPfTMfILNA1QAvzvGmLMnVMnJdvwTSUGTfFuh2+f2eSB6pmDrFYijitpQs+ZW1VcquhwlekwJxkUm/iR0BnsgRCXb/qMOZ0wXwH/RhEuSjJUDmFJBVZLbRaANk5kAi6RReUfsldUKYgAwMTIzMqLxvuGouzbh55D8UKHRWRquiTQeuTboYdqInp81Z53hsmg10JUicZ4zKTTngH/KEldeldZZ6z/d6+0oQEW7mV+o3+bfQXCDKLlN/nBfMrzH7R0olGEQKgoxBZAm\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"candidatesTokenCount\": 15,\"totalTokenCount\": 176,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 107},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"AXPWaOOVFs-D7M8PzsSZgAc\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 2.716681667s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 735 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 1,\"totalTokenCount\": 85,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"A3PWaIXxEde1nsEPp5-3iQE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" weather in Florence, Italy is 40 C. \\n\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 12,\"totalTokenCount\": 96,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"A3PWaIXxEde1nsEPp5-3iQE\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 792.75425ms diff --git a/providertests/testdata/TestGoogleCommon/multi_tool_gemini-2.5-flash.yaml b/providertests/testdata/TestGoogleCommon/multi_tool_gemini-2.5-flash.yaml deleted file mode 100644 index e30729db292a659243f07e75bbebdb01e450142a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/multi_tool_gemini-2.5-flash.yaml +++ /dev/null @@ -1,136 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 826 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "functionCall": { - "name": "add", - "args": { - "a": 2, - "b": 3 - } - }, - "thoughtSignature": "CuYBAdHtim9rsfRQFdQvezJa9hybeS9Hbi7bCm6R0f1RrO3gH+kpR/PEFVIR9twUVPONUMwIRRSJgUJ4UtrMg1ACXXEiZjKaJarbC8AuG/5byPzjYLvPjV5YVDGM6mriHehMAYqflRhgM/zORfz+4KjUfIHViu/YAKk6tBA0lC+YxEd2P+nTHNkzqo9nNI8k7nmgeuvthN90CWOHbPRupskZQZGx6CoK9iebXJOcvBNOPE02xeXHswIeWmzNQDkwsIxrclZquklsdmBhuhQ6V2FWy0ALFLPQ0RpIcY+/Jq44E786PfvCS7E=" - }, - { - "functionCall": { - "name": "multiply", - "args": { - "a": 2, - "b": 3 - } - } - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 125, - "candidatesTokenCount": 36, - "totalTokenCount": 212, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 125 - } - ], - "thoughtsTokenCount": 51 - }, - "modelVersion": "gemini-2.5-flash", - "responseId": "_8zTaL7cFdqCvdIPo9vr-Q4" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 1.198658s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1173 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"add","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"multiply","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"add","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"multiply","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "The sum of 2 and 3 is 5. The product of 2 and 3 is 6." - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 185, - "candidatesTokenCount": 24, - "totalTokenCount": 209, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 185 - } - ] - }, - "modelVersion": "gemini-2.5-flash", - "responseId": "_8zTaIj_PI3VvdIPmOaMiQg" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 611.700958ms diff --git a/providertests/testdata/TestGoogleCommon/multi_tool_gemini-2.5-pro.yaml b/providertests/testdata/TestGoogleCommon/multi_tool_gemini-2.5-pro.yaml deleted file mode 100644 index 223dc349235cc865a6f2cbbe6f581e39cdb4a115..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/multi_tool_gemini-2.5-pro.yaml +++ /dev/null @@ -1,136 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 826 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "functionCall": { - "name": "add", - "args": { - "a": 2, - "b": 3 - } - }, - "thoughtSignature": "CtIFAdHtim/CEqsUYXryqAAKRSpshRoMhjkLno4vJuey0J/G34rsh4CNmXFlrBCtY/rqPjJ9gV/EdrD7kAIybzR8wSGRoHN6jpLPBMEvXwgakx+gQIsx2c7W+OzMn5PkkQBox+Zpj2KiFbpbezbRr+hIQeJn4aLY9aNmOPppobEkhCQrsSQWpPabNDvpG5ZjGbAOwRMKWSSrkqCPQfqc8H/CEo5ryaXAHOL7RDuV9O1S7EYwx5he+ZzAdJ+q/ZdNaN0QeaqP6Qy/56jLVSvYkrbIjcxreJp/bpBT4zxfs0gjwy3seLAXhnkZ4Iv+jYOH2bXeE9pGyCADV7JfGIfyF55PIWTKnnt/+DxMwyHCAwrpByTDgjtosTx/YihdsCYyPsbhRdbZeP8UgtnUIyg9HJwn1t5vJIQIG/6iZO+/Hg6RXRbZwGTT+gPpx/NDioMl5JF/EeI5wmEIJNRfvuoxzIzLigRqaDxEmIFzV8aflvKi41RU5E4nXzot8EVBSX51eP+8VIDK3t1E/qJPb+qOiNvKoNWQ7UZTV3XQKI4oZyjlpc71npK2CpMc/x/Xzd7jKEvmFHTIRNM8s9lvb2K55apBfw9eGdgSwnYgpumXclv5MV9SU3vyr9deOg+t3fuTgQi+sPjWEa2Y7+v9tEyMLWrfwt1RDEIXA9gzSLA3mgMx8HNdQ4XcKpMWzT9OD0LpXl0yEOZ61ykyebvMsdN8kghOQNaCpAzWJ3Y+s7m17cXlZ530b2miyI2ls6acBozCpLzF/1C/xXqvp4FEfkAz/Rln8y6E9ZdyuIctBYwdLf6J63X5Bg0xNTY8OYAp5IarBYSOF/aesnvbTTbK3AV2BvK/OAGJmz6wgX5u0bVzKNgeI4miVcuEk4YJyvWWv2HGDK85O6KYYgt7g7l0d04Wl8kKvznpR4l+ZfgRuo7eB9MB32YiEJ+gEQ+itQyqxI3vEyGFRRY=" - }, - { - "functionCall": { - "name": "multiply", - "args": { - "b": 3, - "a": 2 - } - } - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 125, - "candidatesTokenCount": 36, - "totalTokenCount": 365, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 125 - } - ], - "thoughtsTokenCount": 204 - }, - "modelVersion": "gemini-2.5-pro", - "responseId": "Bc3TaPPfEuXzxs0PltOQ0QY" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 3.874327125s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1173 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"add","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"multiply","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"add","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"multiply","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "The sum of 2 and 3 is 5. The product of 2 and 3 is 6.\n" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 185, - "candidatesTokenCount": 24, - "totalTokenCount": 209, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 185 - } - ] - }, - "modelVersion": "gemini-2.5-pro", - "responseId": "Bs3TaJbIJuDTvdIP4Zbr-Qs" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 1.332109292s diff --git a/providertests/testdata/TestGoogleCommon/multi_tool_streaming_gemini-2.5-flash.yaml b/providertests/testdata/TestGoogleCommon/multi_tool_streaming_gemini-2.5-flash.yaml deleted file mode 100644 index 5c3bd3589691af723dab57491d81338f8627861f..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/multi_tool_streaming_gemini-2.5-flash.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 809 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"add\",\"args\": {\"b\": 3,\"a\": 2}},\"thoughtSignature\": \"CiQB0e2Kb/wg59SA5uNwIlSCkT0nL8gdHYpZ9oUpLnPNjqyjICUKXQHR7YpvEa+6eoL/N/ee31Y5PG8pFwnd+2qMWxaquObYNwoKe1uNyoRmMUMUM9RZIe01BFEw8cPBQWBD3fHk87Q0UwDCAHMqT2LTyAeKLfA36r5TdqDeQa4zwupd0gp/AdHtim8E82VBvD479xod0wMoMC8MW0XSVUjJ6GoByclizl4sNX4ZJPLassbuijZTuKAkwR5ALOeamC1/Kz4ILzQpeGEdW2uOT/XGWbm6c75q8j17AO9yEJAvLBD7OF0JVA+0gXHguBjYxMj2lHjyPQwgUDjSsMUlKQc0QRAk6g==\"},{\"functionCall\": {\"name\": \"multiply\",\"args\": {\"a\": 2,\"b\": 3}}}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 121,\"candidatesTokenCount\": 36,\"totalTokenCount\": 196,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 121}],\"thoughtsTokenCount\": 39},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"AM3TaLHIGceDvdIPrKrO8QI\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 815.9645ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1156 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"add","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"multiply","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"add","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"multiply","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The sum of\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 3,\"totalTokenCount\": 184,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"Ac3TaMb6GZTWvdIP6MyTiQc\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" 2 and 3 is 5, and the product of 2 and\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 18,\"totalTokenCount\": 199,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"Ac3TaMb6GZTWvdIP6MyTiQc\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" 3 is 6.\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 23,\"totalTokenCount\": 204,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"Ac3TaMb6GZTWvdIP6MyTiQc\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 541.761417ms diff --git a/providertests/testdata/TestGoogleCommon/multi_tool_streaming_gemini-2.5-pro.yaml b/providertests/testdata/TestGoogleCommon/multi_tool_streaming_gemini-2.5-pro.yaml deleted file mode 100644 index a69aafd095ee710ae4815126b4727577d03251df..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/multi_tool_streaming_gemini-2.5-pro.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 809 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"add\",\"args\": {\"b\": 3,\"a\": 2}},\"thoughtSignature\": \"CiQB0e2Kb/T1QodI+7mdcNLbTxLTO8/0vGan6F4CeRoe0iI4oCsKXgHR7Ypv4D3G51kqfIi2WvhutMW9FTf7ynSFIoJVi6AfkuLPzcSm2IuNdFqlTKDMsp9xcLj47HPJ5CIjjEJIXy+qI8g02SzzJ/Qe8Cmh3vOWjuNJkQcV4aYvOmWir6kKiwEB0e2Kb9sWQz8OgJS+O9Vo3VfNxW9kbXbeJPr5HlxX+Ti84rKKo8HeIeKHm5ROjcCWuk2wResonohWGCXwsv7gOUlW7oo+BuuKTNdAj6cRZe7kmWS8SONvTIAGiPgyYCDP48WV57zJSHe1ylpCBibzFjcXgD2Gf6H4Mp/6PV16l3ajwi2A8SSGoSiJCocBAdHtim9XZUXBAIZWlUCauCGJ7mF2wD3KdEnkqZnzjSXPATXrOL09oZIF51UKNr+isTMAABVhQHzc/9nXrWQKyKhHHEacc2B9jlEoQ/ONGCNK5vssFgxktJUdariFwzXNPkzqf5ufIDypmdEeVzMsD09r4DnqVDDUBwU4bAKgVmYBYIQivaDvCnEB0e2Kb5exBaiY03HQBpDqa7g8nJCybNgbYcylx0/KpdGle31pUWvi1CMIVrTUB47u/Kawa04arJ5iVlzS2Jr6u6v7eWzUG0XVz5McCQIRZkc750KYg2t1mVJROWasihARarmO0/p+gD4QJntYHNSvtgpnAdHtim804+8ePMB1+TcIL24taqU/t8rtuOHQL46MES70mNim6lsxsPb8VFjrmgkfTZ80dRdvxBd0ZNMM7FBdZT1R7hTCT4JpGEW9aEZGpuIPsAyFoiK9VoXIk10iS+qLrnhWl9NuTQplAdHtim+A6h4V7hugT4u5aP2eXbmz/+O8GWcIuiK7P3P09UJYLjhhwpH7LPDRzpddg9zawXpiGsT7YKyh1QRhqzcKAjoz6KhsUfIgp/wNQ36+xbOANj7yi1HGdoXvgDJiU/VtO7UKkwEB0e2Kb/DFxi4xMmOD5C2QAYsD6sav+EKB5HiQl2xuJ0ovgRq6gYMxcf516o9ZYP8VY29EUrmsu1oJo9cNHnG8MsBZ8hGPaYZfvD71QNlh013rkl9bcdg9VeCoQKF3WyzwU4d6FXDYRznDuxoyGRzsXykCT4wDn/aMZ3S+Nf9jOKNVzzX/rALFN00ogs7mNO4BJ1gKggEB0e2Kb09B44JW5VvLb67awylsCWtjQYuL+Un98c2iHBwLoxbodXM592Lf+B3U7dgBonVurmA6he7+0UeGjALU/56qq4kWXvMUk+Y+Uvi4w/djOWEvQiXnwPRWoYNkPQd4Rai92a/uz9omxYPsipBApXNUxMXW3kh6FvP0IRonAUozCjcB0e2Kb/xNVRo70ckU6Jzlcu3ktgtVOMvo+XFEA3JSKsSltx0zyLE37csssK30w3dL/ssxbDJZ\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 121,\"candidatesTokenCount\": 18,\"totalTokenCount\": 334,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 121}],\"thoughtsTokenCount\": 195},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"C83TaIG-LuqWvdIP7aSf4QY\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"multiply\",\"args\": {\"a\": 2,\"b\": 3}}}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 121,\"candidatesTokenCount\": 36,\"totalTokenCount\": 352,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 121}],\"thoughtsTokenCount\": 195},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"C83TaIG-LuqWvdIP7aSf4QY\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 121,\"candidatesTokenCount\": 36,\"totalTokenCount\": 352,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 121}],\"thoughtsTokenCount\": 195},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"C83TaIG-LuqWvdIP7aSf4QY\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 6.8480495s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1156 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"add","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"multiply","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"add","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"multiply","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. Always use both add and multiply at the same time."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The sum\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 2,\"totalTokenCount\": 183,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"Ds3TaLy9I-aGxN8PhtXj4Ac\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" is 5 and the product is 6.\\n\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 181,\"candidatesTokenCount\": 12,\"totalTokenCount\": 193,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 181}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"Ds3TaLy9I-aGxN8PhtXj4Ac\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 905.604167ms diff --git a/providertests/testdata/TestGoogleCommon/simple_gemini-2.5-flash.yaml b/providertests/testdata/TestGoogleCommon/simple_gemini-2.5-flash.yaml deleted file mode 100644 index a1183083a1a44d339fd52108cd30e8d316de5f80..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/simple_gemini-2.5-flash.yaml +++ /dev/null @@ -1,62 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 202 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "Olá!" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 11, - "candidatesTokenCount": 2, - "totalTokenCount": 38, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 11 - } - ], - "thoughtsTokenCount": 25 - }, - "modelVersion": "gemini-2.5-flash", - "responseId": "j7HSaNb8E-fknsEPzczo4QI" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 687.882791ms diff --git a/providertests/testdata/TestGoogleCommon/simple_gemini-2.5-pro.yaml b/providertests/testdata/TestGoogleCommon/simple_gemini-2.5-pro.yaml deleted file mode 100644 index 19fcedbe09f0158e1250a8b3e21addf2c8c32085..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/simple_gemini-2.5-pro.yaml +++ /dev/null @@ -1,62 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 202 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "Of course!\n\nThe most common ways to say \"hi\" in Portuguese are:\n\n* **Oi** (more informal and very common, especially in Brazil)\n* **Olá** (a bit more formal, like \"hello\")" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 11, - "candidatesTokenCount": 50, - "totalTokenCount": 667, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 11 - } - ], - "thoughtsTokenCount": 606 - }, - "modelVersion": "gemini-2.5-pro", - "responseId": "mLHSaNy4DqeunsEPy_THqAY" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 7.978276458s diff --git a/providertests/testdata/TestGoogleCommon/simple_streaming_gemini-2.5-flash.yaml b/providertests/testdata/TestGoogleCommon/simple_streaming_gemini-2.5-flash.yaml deleted file mode 100644 index 0246454c523aaf8cf1fc92d9d0048ca1835e6a8a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/simple_streaming_gemini-2.5-flash.yaml +++ /dev/null @@ -1,34 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 202 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"Olá!\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 2,\"totalTokenCount\": 32,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 19},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"kLHSaLKrBOm1nsEPkOi30AM\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 903.535375ms diff --git a/providertests/testdata/TestGoogleCommon/simple_streaming_gemini-2.5-pro.yaml b/providertests/testdata/TestGoogleCommon/simple_streaming_gemini-2.5-pro.yaml deleted file mode 100644 index fff06b912c21c69d484ab07e2cc9ff6d0de05bea..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/simple_streaming_gemini-2.5-pro.yaml +++ /dev/null @@ -1,34 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 202 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"Of course!\\n\\nThe most common ways to say \\\"hi\\\" in Portuguese are:\\n\\n* **Oi** (\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 24,\"totalTokenCount\": 528,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 493},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"nLHSaIr8FMTqnsEP6JadkAY\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"more informal, like \\\"hi\\\")\\n* **Olá** (a bit more formal, like \\\"hello\\\")\\n\\nYou can also\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 51,\"totalTokenCount\": 555,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 493},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"nLHSaIr8FMTqnsEP6JadkAY\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" use greetings like:\\n\\n* **Tudo bem?** (How are you?)\\n* **Bom dia** (Good\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 78,\"totalTokenCount\": 582,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 493},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"nLHSaIr8FMTqnsEP6JadkAY\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" morning)\\n* **Boa tarde** (Good afternoon)\\n* **Boa noite** (Good evening /\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 102,\"totalTokenCount\": 606,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 493},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"nLHSaIr8FMTqnsEP6JadkAY\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" Good night)\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 11,\"candidatesTokenCount\": 105,\"totalTokenCount\": 609,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 11}],\"thoughtsTokenCount\": 493},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"nLHSaIr8FMTqnsEP6JadkAY\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 8.837368541s diff --git a/providertests/testdata/TestGoogleCommon/thinking-gemini-2.5-flash.yaml b/providertests/testdata/TestGoogleCommon/thinking-gemini-2.5-flash.yaml deleted file mode 100644 index 66d22a182a4429458fdfc1b9a9b7fafcf210c2c6..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/thinking-gemini-2.5-flash.yaml +++ /dev/null @@ -1,130 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 550 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "**My Approach to the Florence Weather Query**\n\nOkay, so the user needs the weather for Florence, Italy. No problem. That's a straightforward request. I know I have a tool called `weather`, which is perfect for this. My first thought is to grab that tool and use it. I'll need to specify the location, of course. \"Florence, Italy\" is what I need to feed into the `location` parameter of the `weather` tool. Essentially, I'm just going to call the `weather` tool with \"Florence, Italy\" as the input. That should give me the weather information they're looking for. Easy peasy.\n", - "thought": true - }, - { - "functionCall": { - "name": "weather", - "args": { - "location": "Florence, Italy" - } - }, - "thoughtSignature": "CpICAdHtim/uAn9hFcnUaVUJ5BitYNYMl+/HjfIwgECLXLa3/RJ5LabwcGy+nwddN6CF1P8/jUTBrNjwxP5ox9pPRMTUyuCKbDerCwo8lNJqqakI/rqXM8znQkO0jPdkTG+tyOJpjIAFvCL2b9zTXG6IIk3utmTAbvFkg2tR81WCcvf0zZshcWyjoGZYLL419U3Pn5tiOvwWbaZED0P1IHgyIQ1SWJrN4hlK2XSCdApHe9sYYg6Tq52pGVSNSBJOMxAjbPUhmRHA0kOAozgUiduvEqyzaxJTB8imN8KmrtLzZJxQUC54pg9KkSTQ5gz0jixmT+NTPATrnyUDOqZ6i69rPVtlWANHhscj8RooCKj6s3eX4A==" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 54, - "candidatesTokenCount": 15, - "totalTokenCount": 125, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 54 - } - ], - "thoughtsTokenCount": 56 - }, - "modelVersion": "gemini-2.5-flash", - "responseId": "scXTaIm8B-m1nsEP4trWkAM" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 2.234945625s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 776 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "The weather in Florence, Italy is 40 degrees Celsius." - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 84, - "candidatesTokenCount": 13, - "totalTokenCount": 97, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 84 - } - ] - }, - "modelVersion": "gemini-2.5-flash", - "responseId": "scXTaPDFIvPPnsEP4rTvuAM" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 411.970958ms diff --git a/providertests/testdata/TestGoogleCommon/thinking-gemini-2.5-pro.yaml b/providertests/testdata/TestGoogleCommon/thinking-gemini-2.5-pro.yaml deleted file mode 100644 index ac585ee219c76ca550ea90fd552ae88562b8ad76..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/thinking-gemini-2.5-pro.yaml +++ /dev/null @@ -1,130 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 550 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "**Thinking about Weather in Florence**\n\nOkay, so I'm trying to figure out the weather in Florence, Italy. That's a pretty straightforward request. From what I know about the available tools, this falls perfectly within the scope of the `weather.get_weather` function. It seems that all I need to do is plug \"Florence, Italy\" into the `location` parameter and I should get the information I need. Seems simple enough.\n", - "thought": true - }, - { - "functionCall": { - "name": "weather", - "args": { - "location": "Florence, Italy" - } - }, - "thoughtSignature": "CpwCAdHtim88P4nCnVwvqi9uT52t2Jr3nEZZzq0Nc4Nu8ZYwHUX2ZctVNCfrWJjOAzPFVSaT5b8mIZTGog+tkOI8gJdAzyrUwi3N2ArFuTZq/be92EzfVEBmCyrG4sVqsQsMbpNfM6Xq0XUa8XC3H9yOh0mWGBjGEaM6t511bAJ0bst1pkTo2u1GXOFvnVbMjENFnbkkZz4Zrjp+JFQvyX+MAVV0MkVyaJ0Pru/J7lHZgT+TPO9pz70LUomT2XepZKBIeEvsjRux7obfsX9AfiTPNY4m9SAFNZGlZOMbGbijIYMgODR0XPaLwXtLtDthaJrZANKPsAn9NKdLBOT7wBSM2PJoJ/cGklvvH6G11Ouhqno9iILH5DvJkCJUcbg=" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 54, - "candidatesTokenCount": 15, - "totalTokenCount": 135, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 54 - } - ], - "thoughtsTokenCount": 66 - }, - "modelVersion": "gemini-2.5-pro", - "responseId": "tsXTaOmOLK7CnsEPhrDXmA0" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 5.094352209s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 776 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "The weather in Florence, Italy is 40 C. \n" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 84, - "candidatesTokenCount": 12, - "totalTokenCount": 96, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 84 - } - ] - }, - "modelVersion": "gemini-2.5-pro", - "responseId": "t8XTaNbKL6-FvdIPhdyn2QI" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 1.057940625s diff --git a/providertests/testdata/TestGoogleCommon/thinking-streaming-gemini-2.5-flash.yaml b/providertests/testdata/TestGoogleCommon/thinking-streaming-gemini-2.5-flash.yaml deleted file mode 100644 index 1995ff01ddefabae326e2aba065c71a7fa855427..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/thinking-streaming-gemini-2.5-flash.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 550 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"**Analyzing Weather Request**\\n\\nI've determined the user wants the weather in Florence, Italy. The \\\"weather\\\" tool is appropriate, requiring a location. I'll pass \\\"Florence, Italy\\\" as the location argument to retrieve the information.\\n\\n\\n\",\"thought\": true}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"totalTokenCount\": 116,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 62},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"sxfVaN-UPMDBxN8P4beVoAE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"weather\",\"args\": {\"location\": \"Florence, Italy\"}},\"thoughtSignature\": \"CiQB0e2Kb6DT1heRPFG6z9Ix2zCxLHgAf41g/zMeYwdVX0LU79MKZwHR7YpvF6o2OSX1/LIKH5h310x+BUuKnBVHqMILmM0sxwbqc9mkee/o2Ylfor4Wh0l4dPZ37nrUZ7D3gCJdk9vyxoXVmn0iRx1jnuA9My/7/gEovP8fzIs0fi4G/DZDLCI+A8ICsHwK3gEB0e2Kb8FjikH4HmeiWgdzIS42mSil6ZSEyVqloLwhQ25vcVGnQLGTMFunfmwSUy3DDRTzvgj0kbcLEw2f1YMxY7S6j7LbZcCls1eB9yT7bdIGiRrq+S9gfxSy87iwOveeim1A3yQtsrkonV3cZj4a/MEAZ17IP7BZubf/Wube7iBqhWU6fcCZE40juF2QmjtAkMJDMeoJGyqcERPLSDLr1ceruHN9s2Pe5KQCT5yHb1r24mWIQMwEIbMlevmq9VKLKMZJnSEhfk0GDN/VPGsFhIC7WRUAFctUWkgIeNk=\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"candidatesTokenCount\": 14,\"totalTokenCount\": 130,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 62},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"sxfVaN-UPMDBxN8P4beVoAE\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.95331225s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 776 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The weather in Florence\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 4,\"totalTokenCount\": 88,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"tRfVaIPlGueD7M8PwPTAcQ\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \", Italy is 40 C.\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 12,\"totalTokenCount\": 96,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"tRfVaIPlGueD7M8PwPTAcQ\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 513.016208ms diff --git a/providertests/testdata/TestGoogleCommon/thinking-streaming-gemini-2.5-pro.yaml b/providertests/testdata/TestGoogleCommon/thinking-streaming-gemini-2.5-pro.yaml deleted file mode 100644 index 1daf0a3c008720eb0016144336623a041b5e8b57..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/thinking-streaming-gemini-2.5-pro.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 550 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"**Analyzing Weather Requests**\\n\\nI've homed in on the user's request for weather in Florence, Italy. It seems a suitable fit for the `weather.get_weather` tool, which explicitly accepts a `location` parameter.\\n\\n\\n\",\"thought\": true}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"totalTokenCount\": 118,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 64},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"txfVaNT4L--C7M8P4Yuh8QY\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"weather\",\"args\": {\"location\": \"Florence, Italy\"}},\"thoughtSignature\": \"CiIB0e2Kb79Nza7MUoZKPRTN0m6WyO/63vxTwODwo81Ig+H+CmcB0e2KbwuYIr2eUWu8pgts9kBXl3WVhG5JRPpVxJG8NXycxt/io0jcbnLZBi83Ycc6wS15pIixgz/cBWmwgrG1VjWG4IznehdZRhHVlkX2hxDzc/L+aokNAjp0xhKodmQegLi6PhtECo0BAdHtim8PjswX89dj6fBVtKSS2p/FL9aiyXzmC6gzLrJGm6+4t1qLO7q7fB4Af0ZCsvtsDhmfFq8xUnpzqShyQCf6na3aPnh4z62C8LyRvoP0z5biXV5J/CDSSMDyO+c4o/lZ4YLxxUY30v3MMnzmXyKiBePvqSU8nHg8nRJnnlgtMFx0iNxmDDnludTBCmgB0e2Kb8xuJL3mVZZoQhIh1TMVqCsh5QY6cLdhrnioNJxj5hel7CRxmu7pSnT6+Z5v75stepWNj9z2wCu4TNSoeYkGy3O3WLU8KJ6uGSspP07NIWKK7vHigBM4F/p1ZaNSDCcN/8/NTw==\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"candidatesTokenCount\": 14,\"totalTokenCount\": 132,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 64},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"txfVaNT4L--C7M8P4Yuh8QY\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 3.529219292s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 776 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.0 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"It\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 1,\"totalTokenCount\": 85,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"uxfVaPTdEveSxN8PptidsQE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" is 40 C in Florence, Italy.\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 11,\"totalTokenCount\": 95,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"uxfVaPTdEveSxN8PptidsQE\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 2.144105333s diff --git a/providertests/testdata/TestGoogleCommon/tool_gemini-2.5-flash.yaml b/providertests/testdata/TestGoogleCommon/tool_gemini-2.5-flash.yaml deleted file mode 100644 index b3cb914e97423f1b248b51cf1c18c431766af336..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/tool_gemini-2.5-flash.yaml +++ /dev/null @@ -1,126 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 509 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "functionCall": { - "name": "weather", - "args": { - "location": "Florence,Italy" - } - }, - "thoughtSignature": "CrICAdHtim/gZoWocgB+XI87BU6vh9bvMt0gEZv5kkwIiXSyxYqnM5y1VgXh7GyS65m7wqlKPsHg5Qbk5DHsCSzvu9XP7s3K+FbzV/bVHJ0Ajm+lNrK1n5zAQPx5FVDV9CYW39XxT8tF8DBOH7y1/dafG0z3J4N/ZGoU5QudSwp99SiGWa4RHIEL1nIoZf2a3WPUrmNfBwvtZNL8Un4fDbTeAjwULvAhGKopxpihz/RNGrRgsGrC7j2NZKMWjYCXddMNW1w2y49VqZa1JUwDAUREHAPqBxabgjQnGHRFUrc7FgZycp3dieT+0FFiiVDGdw+B94pucHg6LZqZw/PRD8Va4KZI1uT0ljtD0Z8/ALD4m9+5S9C/eCCsy6VKlinKx5Yarlu/TDFE0UG+WDUMC9J0ff3m" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 54, - "candidatesTokenCount": 15, - "totalTokenCount": 133, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 54 - } - ], - "thoughtsTokenCount": 64 - }, - "modelVersion": "gemini-2.5-flash", - "responseId": "XNXSaO-0M_rlvdIP9eyjqQo" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 1.271185916s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 734 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence,Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "The weather in Florence, Italy is 40 C." - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 84, - "candidatesTokenCount": 12, - "totalTokenCount": 96, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 84 - } - ] - }, - "modelVersion": "gemini-2.5-flash", - "responseId": "XdXSaNjmFuSExN8Pu5SpuQY" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 524.095333ms diff --git a/providertests/testdata/TestGoogleCommon/tool_gemini-2.5-pro.yaml b/providertests/testdata/TestGoogleCommon/tool_gemini-2.5-pro.yaml deleted file mode 100644 index f0e3eda5ba26f185d114846d3d988f6d58382f2c..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/tool_gemini-2.5-pro.yaml +++ /dev/null @@ -1,126 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 509 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "functionCall": { - "name": "weather", - "args": { - "location": "Florence, Italy" - } - }, - "thoughtSignature": "CtkEAdHtim8vRS2q1TrAJdxVzvbHAeN0QbQAxCL0vvQyS4N+jnaAROjFe/JfRm0AorpQwVb54O4bSeJY+Z7KC+fvGGVBX0GsrBxovx6ekQGfiUee4CI/sl6QpXoHc0go3sAl5Lmem2aSWbVkmNUz02PvcVvt8E4y2unBFPbmho4yM7hNDwOP1Rlr1GAjjTyapXMBJFPC6PHAUZXtOEmGc3xMur89XZrt1YAQuW/FOliDSYSmSZbu+DiEWu0UrGnwKXVq7vPpB939rowjTKN35sW0iifbEy2AQm0WfPyD6Qcwejx2K1RHcesW7G2Syn/07ckElPDJNXjt1rKdpBD63RuaqfyIfNXLfXWTIsb2T/wh1X8FCBQl0802uN5khAkRfhMmGkD53lp874f62Yph8c68Wbogkbl9NvH8t4ZWaa5K+lT4jAJXHOtkiCOAiCxsHaYz/DHxmghcPL8kZomsoFCKq/Q2HsBgDu1piTm6Oj2dUs1hCO0pa8Q5jjpwS64ASDC9JZYYpOoQUWmtlth1KR3C8UxDa0WIS7by6QTA7mY0cQSr3XEQcn1UHnc0FFCoolR2PJxOK2n7ZFLPn3b+RDme0urxYoF3GAZOvGBf/bY9tNV5WYamVPX633iXJE6KZb2WxvbYEeEg8khe09/sQmPffQ9/Br7PAdCyrgGKfHqwkWQP/dI/5Wq4cIfmHtBIwBQlRo3eG3fz9yAyJZh/dLa2V7Y7R/fShTf7f4TUdtnRR3u1DghargS9thMZQ9KBx1/CNCcBu2P8f/H3SJ7rJqtN4YA7e01eDLVRVg==" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 54, - "candidatesTokenCount": 15, - "totalTokenCount": 211, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 54 - } - ], - "thoughtsTokenCount": 142 - }, - "modelVersion": "gemini-2.5-pro", - "responseId": "ZNXSaLjiNNTVxN8P_4XRCQ" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 2.822218166s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 735 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "candidates": [ - { - "content": { - "parts": [ - { - "text": "The weather in Florence, Italy is 40 C. \n" - } - ], - "role": "model" - }, - "finishReason": "STOP", - "index": 0 - } - ], - "usageMetadata": { - "promptTokenCount": 84, - "candidatesTokenCount": 12, - "totalTokenCount": 96, - "promptTokensDetails": [ - { - "modality": "TEXT", - "tokenCount": 84 - } - ] - }, - "modelVersion": "gemini-2.5-pro", - "responseId": "ZtXSaPujMt_UxN8PwdDxuAI" - } - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 1.956346125s diff --git a/providertests/testdata/TestGoogleCommon/tool_streaming_gemini-2.5-flash.yaml b/providertests/testdata/TestGoogleCommon/tool_streaming_gemini-2.5-flash.yaml deleted file mode 100644 index eda0c528db896cb99700dbab58eaeb3f9016caad..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/tool_streaming_gemini-2.5-flash.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 509 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"weather\",\"args\": {\"location\": \"Florence,Italy\"}},\"thoughtSignature\": \"CiQB0e2Kb0SbEIjTEYfHJ9a6/Ywy46sP+GuTFaKkXQXmCygn1l8KZwHR7YpvQ4htQaczr3lwj/8vCAFBaA9vmWFwJnRtu3cA1IY+4lauO5PGYXqnfeuZZM2EuJZvczAkBZ1zIPue6E9WYPgi6K5yJ90+bRUISlC+wVUI1NHYGfWkFjP843YhL08Yn5E6PJcK3wEB0e2KbyjNsctHHkOFT1BSRAvxYZUHxWJ7Lug4BqgGPthFqlTgNTq0xwjVCm4G1lD6jTAARcyto/O78Imeh7gWf2T0+LsP8DwqjBBCW7rU/wePJQyX3MTBJ9Tt5ypoNUpqAwsMN/yc1jr0FyNNupKa6Lomy0LL2LQr781nN8GqC9iNlZOLqzs1AJtx5vSfIBwbike37LAud8vmf/by1Ek21c7zBm3N5y9KutkW7bsD8XakypGuruohf0LgOOMX1CS/KsSn4QNW4IgYdNEPGsbnEPoJWAWRBDsc3Yx3DMTg\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"candidatesTokenCount\": 15,\"totalTokenCount\": 131,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 62},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"XdXSaOGxNLKcvdIP15zs8Q8\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.01885925s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 734 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence,Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The weather in Florence\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 4,\"totalTokenCount\": 88,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"XtXSaIyPLKbVvdIP5JayaA\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \", Italy is 40 C.\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 12,\"totalTokenCount\": 96,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"XtXSaIyPLKbVvdIP5JayaA\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 314.496834ms diff --git a/providertests/testdata/TestGoogleCommon/tool_streaming_gemini-2.5-pro.yaml b/providertests/testdata/TestGoogleCommon/tool_streaming_gemini-2.5-pro.yaml deleted file mode 100644 index 34dfb82c7c71d5a6ec5171a91d10091aba28b499..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestGoogleCommon/tool_streaming_gemini-2.5-pro.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 509 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"weather\",\"args\": {\"location\": \"Florence, Italy\"}},\"thoughtSignature\": \"CiIB0e2Kb/GNODwMwaW1wu7yrlKOxBE/Ee6zC+tNaPvgCjzTCmcB0e2Kbx2DOSDynX9p9Nw2XwMcDh3Vwx5CTyc+Zqf0HgfZp5Gb0+LQoxXgg3OwxTDEjthC6ah7eY8lgd5hyykevJM1Oq4WGTTbVtX4OZgtGcE6STgfR7AmAIOXLs4kl1BPv7xfJfTICocBAdHtim/54gIbo55hLe4YcA27JgKMMKG2iK1VXj5qdwpJFnakcXflptlkCCXlkcs3uA1b5rh30+kyyAx6/UelLQOcZ5W7kwAWxwTmdBnM2zVqwaFYcWn9F0hZq+DRckRXhaj07EOtLqmLoBeaRnByQ2G66z6Y7ZGkKLOdFpfrmMJSge1uXED1CoABAdHtim8gPhKbhRNZoa+enNo9riK1B7BnXugmMlyL7lh6JD/7rDsld0NzN2/vBNmXmtxPiTczNTdY4CNy4/k/ZyFcaLm9wkbx6tsJw9nr/0LG3pq0YItCiOwgCvvefaxcr6uMBS9Lw80J2fU26LWz0iYh54FaFfowFamtN6PUAO0KgQEB0e2Kb/W5Be9BDy3x8fqmujRXzNz63Nzsa4lwA0fSuVp1Gg4w6Nd7rvFTxHCwcQuGm61B0DGlpJQVttn0hs9GT64WWvb6dp/VfKDrFfbVcb6vqZX6UeSYdcR6mq+k6nihiaGvMvk1Tg3Vup/7xbeCeYbvNz9bHcqXIsoqwFOlY7YKlwEB0e2Kb6eThmhBkR9CuHc2zrWI8pAOSizyflsEwYhEN+PASNHZGuGBw8GXc4Qlou8MKFEf+68Pg4FCIp6biqF0lubsY2ixA1l324V2jLXSmz99dO8grEzVQGdVkLsnJO/uOHc01eKPgXC3v2bIMOIBJu8OmHX/1nli4nb+MtBkdi5flnFBR4yCC9hxv0dDEtPERc66+TUyCooBAdHtim9Z2T1Gw7OhG3/TMUdvllHo7LShbQ2pQhcFlr8fAR8OQiLrI3bVw/FRdAWQQD+hUUR4oZjt3gFJj8wGkQiEhuB/7C23jq7RLlP2FA0NOln2tZXciWQxeUmhxkzDOL5FbDMiatmP7R4OBhcXdSXwA7jKcd/rYnlcL+KWMDmVJGno7JTrhQmJCpcBAdHtim8PAJkYgUxlFd5I2KR1zEeUwf0Bz+JVYK4e/kZgKn8qpYzSpuzvSYe2va5MISet7aVG7C9mufeINVs/etSBsgK60VDl/0uR1lyi3WK8emDqS/EnyFC/pkbPgoMWOpOFHYeNACl9sjOLix+H0nPrPiSAymLOTnd8AnWugv4QHdHXp5IhaacYU4CclGZgg92YXzqn1g==\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"candidatesTokenCount\": 15,\"totalTokenCount\": 241,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 172},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"aNXSaNPJFqS9xN8Pg9HW4AY\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 3.3067975s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 735 - host: generativelanguage.googleapis.com - body: | - {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} - form: - alt: - - sse - headers: - Content-Type: - - application/json - User-Agent: - - google-genai-sdk/1.23.0 gl-go/go1.25.1 - url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The weather in Florence\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 4,\"totalTokenCount\": 88,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"bNXSaP7WF_SsvdIP-5WLEA\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \", Italy is 40 degrees Celsius. \\n\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 13,\"totalTokenCount\": 97,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"bNXSaP7WF_SsvdIP-5WLEA\"}\r\n\r\n" - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 2.236851s diff --git a/providertests/testdata/TestGoogleThinking/gemini-2.5-flash/thinking-streaming.yaml b/providertests/testdata/TestGoogleThinking/gemini-2.5-flash/thinking-streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fa3f6991266b316580023fec59cd272612489dab --- /dev/null +++ b/providertests/testdata/TestGoogleThinking/gemini-2.5-flash/thinking-streaming.yaml @@ -0,0 +1,65 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 550 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"**Querying Weather Data**\\n\\nI've determined that the user's request can be fulfilled by using the `weather` tool. It's clear that I need to specify the `location` parameter, and I'll populate this with \\\"Florence, Italy\\\". I am ready to call the tool now.\\n\\n\\n\",\"thought\": true}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"totalTokenCount\": 106,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 52},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"FHPWaN7CN6S9kdUPhISBeQ\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"weather\",\"args\": {\"location\": \"Florence, Italy\"}},\"thoughtSignature\": \"CiQB0e2Kb191ccXCh0JJt9w3ri7G1OxNATmQ9chokxNfPmwGWSEKZwHR7Ypv5Jovjiqc+ZR/5pEskMvrvcGHTOLGfXr/LUvTM4wq1+Euk8qjznH4X9T6lY+lTiZDual4jaePvaBznDiNLYZ+2DDTahydIuPCh528oYH8Rtdf7TrGszGZ8ImYVcNOZwUBG4UKtwEB0e2Kbx+F1dXr9HLWeMb7GEBhHd3APs8Poy8p+RKC1CkkWn99WMBa4gplxjUH6lPgozGGxph9L4aT9RSqJbZZ+Q1oF83pzqW6SuhL1ieu7RNODnrnq9Gju4J6GBhky8ORO7Ewxts2NKJ530In1RCoR2Ps9oF4XsYv9gl8Fm+4FPfTIn4oure9n4LzuciGoikx3+DRB0oAdIA+TKyjsPbrCXxI8SSk8Nz21Jhl3Mj8Oyn7Zq8hljs=\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"candidatesTokenCount\": 14,\"totalTokenCount\": 120,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 52},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"FHPWaN7CN6S9kdUPhISBeQ\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.302133666s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 776 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"The\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 1,\"totalTokenCount\": 85,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"FnPWaM3ZJpXdnsEP5qn1eQ\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" weather in Florence, Italy is 40 degrees Celsius.\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 13,\"totalTokenCount\": 97,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-flash\",\"responseId\": \"FnPWaM3ZJpXdnsEP5qn1eQ\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 665.085208ms diff --git a/providertests/testdata/TestGoogleThinking/gemini-2.5-flash/thinking.yaml b/providertests/testdata/TestGoogleThinking/gemini-2.5-flash/thinking.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7cfbda211a953f61b07d77c52fbbff5d68d7878b --- /dev/null +++ b/providertests/testdata/TestGoogleThinking/gemini-2.5-flash/thinking.yaml @@ -0,0 +1,130 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 550 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "**Alright, here's what I'm thinking.**\n\nThe user wants the weather, simple enough. They've specified \"Florence, Italy\". My internal processing is telling me I have a `weather` tool that's specifically designed for this sort of query. It needs a `location` argument, and \"Florence, Italy\" is *perfect* for that. So, I should just feed \"Florence, Italy\" directly into the `weather` tool's `location` parameter. That's it, should be a quick and easy retrieval.\n", + "thought": true + }, + { + "functionCall": { + "name": "weather", + "args": { + "location": "Florence, Italy" + } + }, + "thoughtSignature": "Cv0BAdHtim/faT2T5UU6b+75rrcyw9ZzINxOjX23TIc40xJ+vXIv0bdgEIs1AckES34/063nRHBt7/gjtCTI+I/EQvdFAeW8wmtXO0Bp7Vqyineg3rw9u9W4E//mEjfLqcP9EiYi4HER9Pwj+iASiRpZQ0l/hJ32cSCzFVLVgVPQFRlWOrl7AbqZKRZDx1u72L6+3VBhXTGAB+i8m4CK0s1HY4/apyoOcfHVKJyNviC9kXRUhGstF6LO1Gwhz4ckVPHrVOMUCbEDkdcqR4zkCm1R/x6r+9nXwJKoKli5BDcQ7LssCBal009/HaRMJxVnFOLKi5NgSUFqf5SBmZ006g==" + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 54, + "candidatesTokenCount": 15, + "totalTokenCount": 120, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 54 + } + ], + "thoughtsTokenCount": 51 + }, + "modelVersion": "gemini-2.5-flash", + "responseId": "FHPWaKjHEu-C7M8P4Yuh8QY" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 2.220739041s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 776 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "The weather in Florence, Italy is 40 degrees Celsius." + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 84, + "candidatesTokenCount": 13, + "totalTokenCount": 97, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 84 + } + ] + }, + "modelVersion": "gemini-2.5-flash", + "responseId": "FHPWaL-mJ4X9nsEP8NW9qQc" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 338.789083ms diff --git a/providertests/testdata/TestGoogleThinking/gemini-2.5-pro/thinking-streaming.yaml b/providertests/testdata/TestGoogleThinking/gemini-2.5-pro/thinking-streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6f6cc460d171a61965a1501a5dff03cc455317ee --- /dev/null +++ b/providertests/testdata/TestGoogleThinking/gemini-2.5-pro/thinking-streaming.yaml @@ -0,0 +1,65 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 550 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"**Determining Weather Parameters**\\n\\nI've zeroed in on the user's request: weather in Florence, Italy. It looks like the `weather.get_weather` function is the key, taking a 'location' parameter. I'm setting that 'location' parameter to \\\"Florence, Italy\\\".\\n\\n\\n\",\"thought\": true}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"totalTokenCount\": 120,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 66},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"H3PWaM6bBs2unsEPxMjWiAE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"functionCall\": {\"name\": \"weather\",\"args\": {\"location\": \"Florence, Italy\"}},\"thoughtSignature\": \"CiIAMDEyM0c+NCJiy3JYj0XsvZTkXuxLKGihdjDat3f5/7MLCmcAMDEyM09qXk3Bi2pPwg2Cd9+7MfbfahSwcfaEEEKsuJoZxhKBtT2fk4IM+uXzoxDXaLbFm9F9xq8BP3/LD43xkPDFR/fdIMX+FDeWIcoanKT5KaLZ8oEbAnaSyjNYtT2rnLOI2oVCCoYBADAxMjNl5B+PwPpQYdh6yiUZTp+IG+mGlaKFT+mbCMfFoeXBV7zsuEy8VB/zDk32MmLGpavVKboxQh5vK/0q9iStZDq/mpNilf3IMvLbCRU+1xMaRyE6GMYNYMPFLjbXp4aVaLtX6EaSjXnVo5ReqTnFTZVQPpUMy3siCQw6fiU+eQmH8fsKcAAwMTIz43hmoPPgQ1gQePbuV/plxGwv6JVW85ei/79k5Fza521goyRkMxofrwwDET4jw+6KjEPO9s7A393hLOIzFqrJpM8AJ5om+XoGlT2PVWxRBO5d7gMCNNjirCsULSS+4Qr7GscMcsmV409jKt0=\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 54,\"candidatesTokenCount\": 14,\"totalTokenCount\": 134,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 54}],\"thoughtsTokenCount\": 66},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"H3PWaM6bBs2unsEPxMjWiAE\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 3.749029209s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 776 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + form: + alt: + - sse + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"Florence\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 1,\"totalTokenCount\": 85,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"IXPWaO3LNI3j7M8P07ON6AE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" is a beautiful city! The weather right now is 40 C.\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 84,\"candidatesTokenCount\": 16,\"totalTokenCount\": 100,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 84}]},\"modelVersion\": \"gemini-2.5-pro\",\"responseId\": \"IXPWaO3LNI3j7M8P07ON6AE\"}\r\n\r\n" + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.450682458s diff --git a/providertests/testdata/TestGoogleThinking/gemini-2.5-pro/thinking.yaml b/providertests/testdata/TestGoogleThinking/gemini-2.5-pro/thinking.yaml new file mode 100644 index 0000000000000000000000000000000000000000..94778c04864258338d968f1bd7637227a05fdf27 --- /dev/null +++ b/providertests/testdata/TestGoogleThinking/gemini-2.5-pro/thinking.yaml @@ -0,0 +1,130 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 550 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "**Getting the Weather in Florence**\n\nOkay, so I'm trying to figure out the weather in Florence, Italy. That's straightforward, really. My immediate thought is, \"I need to use that `weather.get_weather` function.\" It's designed for this kind of query. All I have to do is plug in \"Florence, Italy\" as the `location` parameter, and I should have the information I need. Easy peasy.\n", + "thought": true + }, + { + "functionCall": { + "name": "weather", + "args": { + "location": "Florence, Italy" + } + }, + "thoughtSignature": "CpwCADAxMjOrBS23pWMtbykG2/HxS9zDAprusCU0aR/qeI4cMnnfJCAl4n2UOC6oNCFeNyL3anLH6D2mEwiah92877DeEAig/Rm9u98ApqtJ6mu9vaKXr92/xyQ3EOwYzdXtPEb8LS4qK0SQGWG4zB4KUTVliondCRp6EgYlmlArjj0zbbvNYE1YHtQ6jzR6FpLphhFY8jDP73M0JkwANtjZf+dv9aFNX9pNAK5XYfZCIPEzzWoJpV6zQ5v8dwdj7nSXUqWsd06MR5sRwrfVmtpGrKaDzdDwVcxg2GiWWfYggDbC9EpUidRpCcZt2rKOM486MLgrK1/yIRUCC4jdueC3rkzgihndxJqFNKZw4I1+0Ob+XCw8wanXc9lb314=" + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 54, + "candidatesTokenCount": 15, + "totalTokenCount": 135, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 54 + } + ], + "thoughtsTokenCount": 66 + }, + "modelVersion": "gemini-2.5-pro", + "responseId": "vHXWaNC4EY7ivdIPg5bG-QM" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 4.127855167s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 776 + host: generativelanguage.googleapis.com + body: | + {"contents":[{"parts":[{"text":"What's the weather in Florence, Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"weather","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"weather","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"thinkingConfig":{"includeThoughts":true,"thinkingBudget":128}},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]} + headers: + Content-Type: + - application/json + User-Agent: + - google-genai-sdk/1.23.0 gl-go/go1.25.1 + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "candidates": [ + { + "content": { + "parts": [ + { + "text": "The weather in Florence, Italy is 40 degrees Celsius. \n" + } + ], + "role": "model" + }, + "finishReason": "STOP", + "index": 0 + } + ], + "usageMetadata": { + "promptTokenCount": 84, + "candidatesTokenCount": 13, + "totalTokenCount": 97, + "promptTokensDetails": [ + { + "modality": "TEXT", + "tokenCount": 84 + } + ] + }, + "modelVersion": "gemini-2.5-pro", + "responseId": "vXXWaNC2HOqLxN8P_pmomQM" + } + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 1.178061334s diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o-mini/multi_tool.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..221b15de77e6706e42e8108bf6d620839b28a069 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/multi_tool.yaml @@ -0,0 +1,153 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 816 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XJEkzXehFvxL0bZtmn3X8bgEgl", + "object": "chat.completion", + "created": 1758884657, + "model": "gpt-4o-mini-2024-07-18", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": null, + "tool_calls": [ + { + "id": "call_FCjSdfiDyZbfKofJ8aYgjarN", + "type": "function", + "function": { + "name": "add", + "arguments": "{\"a\": 2, \"b\": 3}" + } + }, + { + "id": "call_AgpIWMgz4cq1cKBsv6Mziy64", + "type": "function", + "function": { + "name": "multiply", + "arguments": "{\"a\": 2, \"b\": 3}" + } + } + ], + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "tool_calls" + } + ], + "usage": { + "prompt_tokens": 110, + "completion_tokens": 50, + "total_tokens": 160, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_560af6e559" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.27362425s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1247 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_FCjSdfiDyZbfKofJ8aYgjarN","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_AgpIWMgz4cq1cKBsv6Mziy64","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_FCjSdfiDyZbfKofJ8aYgjarN","role":"tool"},{"content":"6","tool_call_id":"call_AgpIWMgz4cq1cKBsv6Mziy64","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XKcm153c0W1VAS4zMtETzXtpVJ", + "object": "chat.completion", + "created": 1758884658, + "model": "gpt-4o-mini-2024-07-18", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "The sum of 2 and 3 is 5, and the product of 2 and 3 is 6.", + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 176, + "completion_tokens": 26, + "total_tokens": 202, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_560af6e559" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.1014055s diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o-mini/multi_tool_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fd18eb5d5030775f854beca3df0e4c4aa82c056b --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/multi_tool_streaming.yaml @@ -0,0 +1,147 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 853 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"obfuscation":"Jc55JP"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_CGT5idjqbJEWyLlJgPfsmFYb","type":"function","function":{"name":"add","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"OmSduDa945dbJ"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"JGWO5LWiKSK"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"hiqHPmiezH46"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"OSQtmBsHX"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_OrChv4bx3cZusgzSYcsNBXxI","type":"function","function":{"name":"multiply","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"zeRuqxfB"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"p7UhRLOP29K"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"tlEc9WchAOF2"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"iobxrSeLl"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"rVIe1UbTRO4Fjt4"} + + data: {"id":"chatcmpl-CK0XL6hjKzmU1T07yvr9rjTCPOnAh","object":"chat.completion.chunk","created":1758884659,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":106,"completion_tokens":50,"total_tokens":156,"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":"XSLg3zvv"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.289823791s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1284 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_CGT5idjqbJEWyLlJgPfsmFYb","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_OrChv4bx3cZusgzSYcsNBXxI","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_CGT5idjqbJEWyLlJgPfsmFYb","role":"tool"},{"content":"6","tool_call_id":"call_OrChv4bx3cZusgzSYcsNBXxI","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ovwAEPdQf"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"B526hXRg"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" sum"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"LxqqXkb"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"IjqaUbWz"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"K5iHJ3zYsB"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"it20LzEFmY"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QtuO8jy"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"I80rEzGGNy"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YSnzH4XlkL"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"gtENZp22"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AEsjr4m2yV"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"nOUrmAmGJO"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"8lWh5aFRrT"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dFNgZc6"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qw59nLM"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" product"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"efI"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5MKl4OJP"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"jyOvZqKOeh"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YReWDYkmHT"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"9mEgmJ9"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"KxxoW4pT2L"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"khvmYS4NU1"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"WkhqK2kF"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"KmcLzbmPdz"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ckwI8bCe5W"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"CqL8m0PrXo"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"JohBL"} + + data: {"id":"chatcmpl-CK0XMr6cA9FeWp9NsQGh2Dft15tBP","object":"chat.completion.chunk","created":1758884660,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":172,"completion_tokens":26,"total_tokens":198,"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":"goAMHwGT"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 632.242708ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o-mini/simple.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..08d33a0ef7b73f6df2c4eeb1224dffcedeab620b --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/simple.yaml @@ -0,0 +1,69 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 161 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XDJXMRJFIQoawW09BP2SyM4Ot8", + "object": "chat.completion", + "created": 1758884651, + "model": "gpt-4o-mini-2024-07-18", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "Hi! In Portuguese, you would say \"Olá!\"", + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 20, + "completion_tokens": 11, + "total_tokens": 31, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_560af6e559" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 761.996916ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o-mini/simple_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7362652c91881f7c42f5620619e8acba8617a251 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/simple_streaming.yaml @@ -0,0 +1,44 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 215 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XEa10Hau7DKHUO2epNihUILBAk","object":"chat.completion.chunk","created":1758884652,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"mTQZfrLcd"} + + data: {"id":"chatcmpl-CK0XEa10Hau7DKHUO2epNihUILBAk","object":"chat.completion.chunk","created":1758884652,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"Olá"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"kFGU8bXe"} + + data: {"id":"chatcmpl-CK0XEa10Hau7DKHUO2epNihUILBAk","object":"chat.completion.chunk","created":1758884652,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6WTCbco7Wv"} + + data: {"id":"chatcmpl-CK0XEa10Hau7DKHUO2epNihUILBAk","object":"chat.completion.chunk","created":1758884652,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"pJDRU"} + + data: {"id":"chatcmpl-CK0XEa10Hau7DKHUO2epNihUILBAk","object":"chat.completion.chunk","created":1758884652,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":20,"completion_tokens":2,"total_tokens":22,"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":"bo3PrVK8BB3"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 709.002458ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o-mini/tool.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a89e94583cdc27cb263750d37c8e99a1be742ca5 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/tool.yaml @@ -0,0 +1,145 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 453 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XFLvJhhbJXQpYZSq0bUsexpP18", + "object": "chat.completion", + "created": 1758884653, + "model": "gpt-4o-mini-2024-07-18", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": null, + "tool_calls": [ + { + "id": "call_KJtOtoO7dF2DgTI8nctku9EC", + "type": "function", + "function": { + "name": "weather", + "arguments": "{\"location\":\"Florence, Italy\"}" + } + } + ], + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "tool_calls" + } + ], + "usage": { + "prompt_tokens": 61, + "completion_tokens": 16, + "total_tokens": 77, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_560af6e559" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.169646666s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 705 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_KJtOtoO7dF2DgTI8nctku9EC","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_KJtOtoO7dF2DgTI8nctku9EC","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XGrDAk6At7slQfnVXf7SWIPNI9", + "object": "chat.completion", + "created": 1758884654, + "model": "gpt-4o-mini-2024-07-18", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "The current weather in Florence, Italy, is 40°C.", + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 86, + "completion_tokens": 14, + "total_tokens": 100, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_560af6e559" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 772.468958ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o-mini/tool_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..30d27ebf46efa64083cf89e2017a3ac1fc1b2730 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o-mini/tool_streaming.yaml @@ -0,0 +1,117 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 507 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_DETfkgrMGPDgJzwS62NSuRPa","type":"function","function":{"name":"weather","arguments":""}}],"refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"LX9odVHb"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"c1yYSDZaI1UDYV"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"location"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ZToBjCwft"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"SXENj4krMldO"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Flor"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"O4dIvyXTiV9nE"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ence"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"CHahf3pIqTc5c"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":","}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Italy"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RCwjNsUKEVK"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dpgaKu5zTDw8CZ"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"cYYcBlfkMvDVd07"} + + data: {"id":"chatcmpl-CK0XH1YEf20Nk6A5GRZVFbdBy8NvS","object":"chat.completion.chunk","created":1758884655,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":61,"completion_tokens":16,"total_tokens":77,"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":"aX8SEVMo9D"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 713.193958ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 759 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_DETfkgrMGPDgJzwS62NSuRPa","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_DETfkgrMGPDgJzwS62NSuRPa","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Nld6m4L8f"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Tt22VYUt"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"HSH"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" temperature"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YVBXBDODyk7cIJS"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0owI6QAQ"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" Florence"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"A8"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Koc2bQX8BA"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" Italy"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MN5Jc"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MmkAFvX2"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"EdhYi7wxQ1"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"40"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AQOB4uaLd"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"°C"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"u3tu0x3Af"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RpzcBAg3HO"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"NfRGq"} + + data: {"id":"chatcmpl-CK0XIUwrhgZGexhOP9ECHm2D0DZLr","object":"chat.completion.chunk","created":1758884656,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":86,"completion_tokens":13,"total_tokens":99,"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":"QW8EXr68zX"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 631.400833ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o/multi_tool.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0e027fa0ff0566614b6b94a92a5525b8536862c3 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o/multi_tool.yaml @@ -0,0 +1,153 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 811 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XA5ghLRvKpjSC7Rg3T1y9lcS4l", + "object": "chat.completion", + "created": 1758884648, + "model": "gpt-4o-2024-08-06", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": null, + "tool_calls": [ + { + "id": "call_xzBAj3TQym7plpg6LQrUqzNb", + "type": "function", + "function": { + "name": "add", + "arguments": "{\"a\": 2, \"b\": 3}" + } + }, + { + "id": "call_EhG6PUMSJoTy4yH4uYeOL1fB", + "type": "function", + "function": { + "name": "multiply", + "arguments": "{\"a\": 2, \"b\": 3}" + } + } + ], + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "tool_calls" + } + ], + "usage": { + "prompt_tokens": 110, + "completion_tokens": 50, + "total_tokens": 160, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_cbf1785567" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 888.207625ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1242 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_xzBAj3TQym7plpg6LQrUqzNb","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_EhG6PUMSJoTy4yH4uYeOL1fB","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_xzBAj3TQym7plpg6LQrUqzNb","role":"tool"},{"content":"6","tool_call_id":"call_EhG6PUMSJoTy4yH4uYeOL1fB","role":"tool"}],"model":"gpt-4o","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XBHxWcZv6PHXs0mewNB2TZwvCO", + "object": "chat.completion", + "created": 1758884649, + "model": "gpt-4o-2024-08-06", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "The sum of 2 and 3 is 5, and their product is 6.", + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 176, + "completion_tokens": 20, + "total_tokens": 196, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_f33640a400" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 571.347167ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o/multi_tool_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..13632527e7c7a82b6c700a5a09979313a393406f --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o/multi_tool_streaming.yaml @@ -0,0 +1,151 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 848 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"obfuscation":"qnpNwYTQFp4"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_MBriMTSHw1UFtzQAduPP0Mkj","type":"function","function":{"name":"add","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"73"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"t"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"CrvdpBgVuwx3Xz"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"2INCr"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_7sVj20JsN3VYpXv8pZuLDruY","type":"function","function":{"name":"multiply","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"4mr5kRbqRoraJ"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"0"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"fxhC40qt4dPvrJ"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"xjieU"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"fYPH"} + + data: {"id":"chatcmpl-CK0XBiHwsrgUyuIOsQJ7L2KjpG0pb","object":"chat.completion.chunk","created":1758884649,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":106,"completion_tokens":50,"total_tokens":156,"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":"xSLkv2SDLIEKV"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 948.292334ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1279 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_MBriMTSHw1UFtzQAduPP0Mkj","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_7sVj20JsN3VYpXv8pZuLDruY","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_MBriMTSHw1UFtzQAduPP0Mkj","role":"tool"},{"content":"6","tool_call_id":"call_7sVj20JsN3VYpXv8pZuLDruY","role":"tool"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"AGSy93IAj0a02O"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YafdRYS6Y8xr5"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" result"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"DfNQXI6we"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"tjH8MrKJEvpSy"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" adding"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6LElZJQti"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"GXSHAnQ8c1MXZJO"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"jGiuoFFj3Ql1qxj"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"vWIQaxcCC34T"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"tQZ1UcjpXfJRf5y"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"mKOnHcppv3V8BJw"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"UXUFUQRNGDTnN"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"Isx3r2cP6TT2VDr"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dbo2v9t3zNKRHep"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"AkuDqKy9dcmYhVx"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"lrljFna0k8gx"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"l6VR83Jozfpv"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" result"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"XuxWbaPzE"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"KsWb9aMhgBdLH"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" multiplying"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"gxEq"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"DXVsBeOAYIUn8Mi"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qXW42N6A9MpXRyw"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"QsYrBzSTafoA"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"XW40Jw1wdM27Q3x"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Z9abDXTP8bgDoMZ"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uazMqBAe00fKm"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"Zr7IF7wIzJEIJy4"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"WfvcRuzh2fbox54"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"evqJsK2KqP7rqLN"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"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":"6omC0sTA4o"} + + data: {"id":"chatcmpl-CK0XC8ADYjWGumKgPucuZfGDaWNiZ","object":"chat.completion.chunk","created":1758884650,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":172,"completion_tokens":28,"total_tokens":200,"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":"yPHbD0dFcRX5l"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 932.741083ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o/simple.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a69e11a7cd01daa77f2d38de3eaf462dad54c5a1 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o/simple.yaml @@ -0,0 +1,69 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 156 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-4o","max_tokens":4000}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0X4bZcI8nrXIcHWmKudgvXDxrDA", + "object": "chat.completion", + "created": 1758884642, + "model": "gpt-4o-2024-08-06", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "Olá!", + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 20, + "completion_tokens": 2, + "total_tokens": 22, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_f33640a400" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.155694458s diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o/simple_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..43d1520a5d233bf90530b311ddf5a36144d07f34 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o/simple_streaming.yaml @@ -0,0 +1,44 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 210 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0X5ZDGxyhuWeT5rVCHaFGRgbccv","object":"chat.completion.chunk","created":1758884643,"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":"HqD71AKa50tXXh"} + + data: {"id":"chatcmpl-CK0X5ZDGxyhuWeT5rVCHaFGRgbccv","object":"chat.completion.chunk","created":1758884643,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Olá"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"40xIFsLyWvteo"} + + data: {"id":"chatcmpl-CK0X5ZDGxyhuWeT5rVCHaFGRgbccv","object":"chat.completion.chunk","created":1758884643,"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":"2FARzZxtjhy5wgw"} + + data: {"id":"chatcmpl-CK0X5ZDGxyhuWeT5rVCHaFGRgbccv","object":"chat.completion.chunk","created":1758884643,"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":"Y6BYwTwbLh"} + + data: {"id":"chatcmpl-CK0X5ZDGxyhuWeT5rVCHaFGRgbccv","object":"chat.completion.chunk","created":1758884643,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":20,"completion_tokens":2,"total_tokens":22,"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":""} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 683.806291ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o/tool.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4183ee5ff4085e18fceffd977425af7c3053860c --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o/tool.yaml @@ -0,0 +1,145 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 448 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-4o","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0X6hYUe2ObsAoS3agGWpVx6KAIF", + "object": "chat.completion", + "created": 1758884644, + "model": "gpt-4o-2024-08-06", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": null, + "tool_calls": [ + { + "id": "call_PzVhbfSC5fkOlTTPrPLKF3og", + "type": "function", + "function": { + "name": "weather", + "arguments": "{\"location\":\"Florence, Italy\"}" + } + } + ], + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "tool_calls" + } + ], + "usage": { + "prompt_tokens": 61, + "completion_tokens": 16, + "total_tokens": 77, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_f33640a400" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 870.074417ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 700 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_PzVhbfSC5fkOlTTPrPLKF3og","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_PzVhbfSC5fkOlTTPrPLKF3og","role":"tool"}],"model":"gpt-4o","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0X7Hzh8cJn4geVw2dn4qX583KOX", + "object": "chat.completion", + "created": 1758884645, + "model": "gpt-4o-2024-08-06", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "The weather in Florence, Italy is currently 40°C.", + "refusal": null, + "annotations": [] + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 86, + "completion_tokens": 13, + "total_tokens": 99, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": "fp_f33640a400" + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 578.292709ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-4o/tool_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-4o/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6f42652eb1da2bafdc189bd2b52c4bf2ffb083c2 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-4o/tool_streaming.yaml @@ -0,0 +1,117 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 502 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_9ljXFCM8IxQxKHyEsUQVijHp","type":"function","function":{"name":"weather","arguments":""}}],"refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"UAGY3b30VnPgY"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"OgK"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"location"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Q3DcqpRbSwpb3R"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"p"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Flor"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AR"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ence"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MA"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":","}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ARQ9S"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Italy"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"gGD"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"U9KT"} + + data: {"id":"chatcmpl-CK0X7SLV8PNKV91i8JXuZrQ5mP03w","object":"chat.completion.chunk","created":1758884645,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[],"usage":{"prompt_tokens":61,"completion_tokens":16,"total_tokens":77,"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":"NJ7nx5YCufYwsl5"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 791.905875ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 754 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_9ljXFCM8IxQxKHyEsUQVijHp","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_9ljXFCM8IxQxKHyEsUQVijHp","role":"tool"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ot2BLWJZM4mQCF"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"mRJkBDkrUI2ci"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":" current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"1L6dJjW9"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":" temperature"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"paCu"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"jr3Q8VcSKhEoL"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":" Florence"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"fW43Xry"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wrIYFJtAid7igZY"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":" Italy"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ggB92W1IhU"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"oz7GPYuLjC8YF"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BkYtBy1jdlqB4yU"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":"40"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"2yi0arRy2iRUkk"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":"°C"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"oyLNpZLu7c19qd"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RjlnTLetR4N1OZC"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"GEcdbaZ1IU"} + + data: {"id":"chatcmpl-CK0X8AngXdsZNpiHAr4nAL68UhG4O","object":"chat.completion.chunk","created":1758884646,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_f33640a400","choices":[],"usage":{"prompt_tokens":86,"completion_tokens":13,"total_tokens":99,"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":"W54neIykgflNQwN"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 733.489417ms diff --git a/providertests/testdata/TestOpenAICommon/gpt-5/multi_tool.yaml b/providertests/testdata/TestOpenAICommon/gpt-5/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e4f9b6d677d9574c1957812eb6d6062a84d84d0a --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-5/multi_tool.yaml @@ -0,0 +1,151 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 821 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XnxWhgtkMe0wP3vgmBDyXKUnRG", + "object": "chat.completion", + "created": 1758884687, + "model": "gpt-5-2025-08-07", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": null, + "tool_calls": [ + { + "id": "call_owMpyw7UQNzI7NZYQdaRAHuw", + "type": "function", + "function": { + "name": "add", + "arguments": "{\"a\": 2, \"b\": 3}" + } + }, + { + "id": "call_UMUj2rz9wz4i1f0yViOfELBg", + "type": "function", + "function": { + "name": "multiply", + "arguments": "{\"a\": 2, \"b\": 3}" + } + } + ], + "refusal": null, + "annotations": [] + }, + "finish_reason": "tool_calls" + } + ], + "usage": { + "prompt_tokens": 194, + "completion_tokens": 379, + "total_tokens": 573, + "prompt_tokens_details": { + "cached_tokens": 0, + "audio_tokens": 0 + }, + "completion_tokens_details": { + "reasoning_tokens": 320, + "audio_tokens": 0, + "accepted_prediction_tokens": 0, + "rejected_prediction_tokens": 0 + } + }, + "service_tier": "default", + "system_fingerprint": null + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 4.394474708s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1252 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_owMpyw7UQNzI7NZYQdaRAHuw","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_UMUj2rz9wz4i1f0yViOfELBg","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_owMpyw7UQNzI7NZYQdaRAHuw","role":"tool"},{"content":"6","tool_call_id":"call_UMUj2rz9wz4i1f0yViOfELBg","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XsPbTqxoopiRPJQSHDqINvTUtP", + "object": "chat.completion", + "created": 1758884692, + "model": "gpt-5-2025-08-07", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "Results:\n- Addition (2 + 3) = 5\n- Multiplication (2 × 3) = 6", + "refusal": null, + "annotations": [] + }, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 266, + "completion_tokens": 29, + "total_tokens": 295, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": null + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.666342417s diff --git a/providertests/testdata/TestOpenAICommon/gpt-5/multi_tool_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-5/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4471c6056df1338f37124608e1f458d201aee3c6 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-5/multi_tool_streaming.yaml @@ -0,0 +1,143 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 858 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"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":"A267Qlz"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_AXhYybFxqFkolGcqOgAFoSFX","type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null}],"obfuscation":"RFeaNwHIAYBsVY"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"a\""}}]},"finish_reason":null}],"obfuscation":"WJMeoEiRsqUQ"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":": 2, "}}]},"finish_reason":null}],"obfuscation":"ICdxIqu5A6utx"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"b\": 3"}}]},"finish_reason":null}],"obfuscation":"EEVOXd76AO"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"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":"b"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_3coDGg9Vq8TWdNxqZhONlTvf","type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null}],"obfuscation":"FlbQ1NJFg"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"a\""}}]},"finish_reason":null}],"obfuscation":"cT6Z7pBgiudL"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":": 2, "}}]},"finish_reason":null}],"obfuscation":"hBepHW4ne1PKa"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"b\": 3"}}]},"finish_reason":null}],"obfuscation":"8cRTwxjNfk"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"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":"n"} + + data: {"id":"chatcmpl-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"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-CK0XtZlLMkqbw0LEkkXg7xLSmvy9K","object":"chat.completion.chunk","created":1758884693,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":190,"completion_tokens":315,"total_tokens":505,"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":"9PJ53E"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 3.330712625s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1289 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_AXhYybFxqFkolGcqOgAFoSFX","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_3coDGg9Vq8TWdNxqZhONlTvf","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_AXhYybFxqFkolGcqOgAFoSFX","role":"tool"},{"content":"6","tool_call_id":"call_3coDGg9Vq8TWdNxqZhONlTvf","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"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":"vID1IGJC6m"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"-"},"finish_reason":null}],"usage":null,"obfuscation":"qbxZjUkeuDv"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Sum"},"finish_reason":null}],"usage":null,"obfuscation":"PEdMh36h"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ("},"finish_reason":null}],"usage":null,"obfuscation":"KGL91cgbWw"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"finish_reason":null}],"usage":null,"obfuscation":"2ZsGXv9EiHV"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" +"},"finish_reason":null}],"usage":null,"obfuscation":"BXimjcvLQx"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"WHOV531PL3L"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"finish_reason":null}],"usage":null,"obfuscation":"b4dZKxqGGiy"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":")"},"finish_reason":null}],"usage":null,"obfuscation":"5HiMMinpUcV"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ="},"finish_reason":null}],"usage":null,"obfuscation":"zL0byXjsPs"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"Zow0s0dR8w3"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"5"},"finish_reason":null}],"usage":null,"obfuscation":"cJhL3OkRIAx"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"finish_reason":null}],"usage":null,"obfuscation":"q8rSxuKB6w"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"-"},"finish_reason":null}],"usage":null,"obfuscation":"PAXMwDOW8fg"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Product"},"finish_reason":null}],"usage":null,"obfuscation":"dt2z"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ("},"finish_reason":null}],"usage":null,"obfuscation":"9MfGVRPMdO"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"finish_reason":null}],"usage":null,"obfuscation":"qU9B2iZnI8o"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ×"},"finish_reason":null}],"usage":null,"obfuscation":"hHzza8eoV3"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"GmiguRpaJTY"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"finish_reason":null}],"usage":null,"obfuscation":"LjRT5gs3X2p"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":")"},"finish_reason":null}],"usage":null,"obfuscation":"6urhKP1K3vT"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ="},"finish_reason":null}],"usage":null,"obfuscation":"WOrtpCd87Y"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"m5sWF0Kp7D1"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"finish_reason":null}],"usage":null,"obfuscation":"Ys8pW1fwz40"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"fvd0Zu"} + + data: {"id":"chatcmpl-CK0XxDRAh0JZnMfWhYwXQXIrkIkf1","object":"chat.completion.chunk","created":1758884697,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":262,"completion_tokens":26,"total_tokens":288,"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":"VYgMnRAvS"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.330152625s diff --git a/providertests/testdata/TestOpenAICommon/gpt-5/simple.yaml b/providertests/testdata/TestOpenAICommon/gpt-5/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..171e05d4094f6ece935385cabdd301d1b373bdcf --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-5/simple.yaml @@ -0,0 +1,68 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 166 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-5","max_completion_tokens":4000}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XOu05MsCCjlsUQ8FMCiweyNIzy", + "object": "chat.completion", + "created": 1758884662, + "model": "gpt-5-2025-08-07", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "Oi!", + "refusal": null, + "annotations": [] + }, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 19, + "completion_tokens": 267, + "total_tokens": 286, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": null + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 7.980275959s diff --git a/providertests/testdata/TestOpenAICommon/gpt-5/simple_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-5/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b18a6e1897e5a547c6a52710249ed36bd43a1df7 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-5/simple_streaming.yaml @@ -0,0 +1,44 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 220 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XVjPg2s2l38Jp4lk55TNIOTFhX","object":"chat.completion.chunk","created":1758884669,"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":"DkFHOAsKPT"} + + data: {"id":"chatcmpl-CK0XVjPg2s2l38Jp4lk55TNIOTFhX","object":"chat.completion.chunk","created":1758884669,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Olá"},"finish_reason":null}],"usage":null,"obfuscation":"DDecr705I"} + + data: {"id":"chatcmpl-CK0XVjPg2s2l38Jp4lk55TNIOTFhX","object":"chat.completion.chunk","created":1758884669,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"!"},"finish_reason":null}],"usage":null,"obfuscation":"xXHCpUUBS0F"} + + data: {"id":"chatcmpl-CK0XVjPg2s2l38Jp4lk55TNIOTFhX","object":"chat.completion.chunk","created":1758884669,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"YGdqo0"} + + data: {"id":"chatcmpl-CK0XVjPg2s2l38Jp4lk55TNIOTFhX","object":"chat.completion.chunk","created":1758884669,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":19,"completion_tokens":75,"total_tokens":94,"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":"W9Y009RwUv"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 2.723195042s diff --git a/providertests/testdata/TestOpenAICommon/gpt-5/tool.yaml b/providertests/testdata/TestOpenAICommon/gpt-5/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6cd16d5b7281e25880d4480d139f1aeebefcca1e --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-5/tool.yaml @@ -0,0 +1,143 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 458 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XYLtrTcQa9MlwDz9fensX4gebx", + "object": "chat.completion", + "created": 1758884672, + "model": "gpt-5-2025-08-07", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": null, + "tool_calls": [ + { + "id": "call_f7ty26Ui6FOEcr62i17rpqTm", + "type": "function", + "function": { + "name": "weather", + "arguments": "{\"location\":\"Florence, Italy\"}" + } + } + ], + "refusal": null, + "annotations": [] + }, + "finish_reason": "tool_calls" + } + ], + "usage": { + "prompt_tokens": 145, + "completion_tokens": 153, + "total_tokens": 298, + "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 + } + }, + "service_tier": "default", + "system_fingerprint": null + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 3.940455375s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 710 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_f7ty26Ui6FOEcr62i17rpqTm","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_f7ty26Ui6FOEcr62i17rpqTm","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + { + "id": "chatcmpl-CK0XcDcYqMxxiRhTx5TCZV8YODtaI", + "object": "chat.completion", + "created": 1758884676, + "model": "gpt-5-2025-08-07", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "It’s currently around 40°C in Florence, Italy. Would you like details like conditions, wind, or a forecast?", + "refusal": null, + "annotations": [] + }, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 176, + "completion_tokens": 226, + "total_tokens": 402, + "prompt_tokens_details": { + "cached_tokens": 0, + "audio_tokens": 0 + }, + "completion_tokens_details": { + "reasoning_tokens": 192, + "audio_tokens": 0, + "accepted_prediction_tokens": 0, + "rejected_prediction_tokens": 0 + } + }, + "service_tier": "default", + "system_fingerprint": null + } + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 4.914360584s diff --git a/providertests/testdata/TestOpenAICommon/gpt-5/tool_streaming.yaml b/providertests/testdata/TestOpenAICommon/gpt-5/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1606386283fc708f69cf9e97aea370a0142c99f5 --- /dev/null +++ b/providertests/testdata/TestOpenAICommon/gpt-5/tool_streaming.yaml @@ -0,0 +1,143 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 512 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"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_R6xW0RTSZLIX6N8k9assZBi6","type":"function","function":{"name":"weather","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"gD6Jtbj4f"} + + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"Mp2kWW2NQYHWbWR"} + + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"location"}}]},"finish_reason":null}],"usage":null,"obfuscation":"eYcxIjga47"} + + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"EDTLdzBMQA4Fu"} + + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Flor"}}]},"finish_reason":null}],"usage":null,"obfuscation":"nt5fI6wBEoQ7RL"} + + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ence"}}]},"finish_reason":null}],"usage":null,"obfuscation":"ALfx9Lp79jtGNE"} + + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-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-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Italy"}}]},"finish_reason":null}],"usage":null,"obfuscation":"KxzKpGDg69qm"} + + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"9BLLcr0UYPn5fcR"} + + data: {"id":"chatcmpl-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"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-CK0XhIKDGZ1uM1c703bF4VNG9Iwdr","object":"chat.completion.chunk","created":1758884681,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":145,"completion_tokens":89,"total_tokens":234,"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":"aNuoJMq8"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 2.150256292s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 764 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_R6xW0RTSZLIX6N8k9assZBi6","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_R6xW0RTSZLIX6N8k9assZBi6","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.openai.com/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"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":"1QwDd8Ke63"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"It"},"finish_reason":null}],"usage":null,"obfuscation":"0yJ0HwOjeE"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"’s"},"finish_reason":null}],"usage":null,"obfuscation":"VNddxQuik0"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" currently"},"finish_reason":null}],"usage":null,"obfuscation":"G8"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" about"},"finish_reason":null}],"usage":null,"obfuscation":"3zOerF"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"Rn08jDfgDZ6"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"40"},"finish_reason":null}],"usage":null,"obfuscation":"SAq4MKX1tU"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"°C"},"finish_reason":null}],"usage":null,"obfuscation":"hjG5RtTJEr"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" in"},"finish_reason":null}],"usage":null,"obfuscation":"CMAmDZpK1"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Florence"},"finish_reason":null}],"usage":null,"obfuscation":"Qe2"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"finish_reason":null}],"usage":null,"obfuscation":"84OPfcO8SSl"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Italy"},"finish_reason":null}],"usage":null,"obfuscation":"MwI72m"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"finish_reason":null}],"usage":null,"obfuscation":"7evHde6w0ci"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Would"},"finish_reason":null}],"usage":null,"obfuscation":"H4cgYK"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" you"},"finish_reason":null}],"usage":null,"obfuscation":"K1Z94VsI"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" like"},"finish_reason":null}],"usage":null,"obfuscation":"s2z6de3"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" the"},"finish_reason":null}],"usage":null,"obfuscation":"zkMR0F71"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" hourly"},"finish_reason":null}],"usage":null,"obfuscation":"KjnAr"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" or"},"finish_reason":null}],"usage":null,"obfuscation":"X99Z6vjPI"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"dQe993jbPM1"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"7"},"finish_reason":null}],"usage":null,"obfuscation":"BYBiweUr5ri"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"-day"},"finish_reason":null}],"usage":null,"obfuscation":"yb8PgNjS"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" forecast"},"finish_reason":null}],"usage":null,"obfuscation":"Mo4"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" as"},"finish_reason":null}],"usage":null,"obfuscation":"tEIYgn6d5"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" well"},"finish_reason":null}],"usage":null,"obfuscation":"7HlqGyB"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"finish_reason":null}],"usage":null,"obfuscation":"EfVBOumj9S1"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"3c3k2U"} + + data: {"id":"chatcmpl-CK0XjsfRcuJKkovHfxUB7XypOCIdK","object":"chat.completion.chunk","created":1758884683,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":176,"completion_tokens":162,"total_tokens":338,"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":"QKSbao"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream; charset=utf-8 + status: 200 OK + code: 200 + duration: 3.872249167s diff --git a/providertests/testdata/TestOpenAICommon/multi_tool_gpt-4o-mini.yaml b/providertests/testdata/TestOpenAICommon/multi_tool_gpt-4o-mini.yaml deleted file mode 100644 index 927dc795f4d58067c9f2e7c5154080e5eeea338d..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/multi_tool_gpt-4o-mini.yaml +++ /dev/null @@ -1,153 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 816 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJHNMiBU5lXyiDpJ3Yf1X8o8Crw80", - "object": "chat.completion", - "created": 1758711060, - "model": "gpt-4o-mini-2024-07-18", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "call_fHc6yzovqB6JPczldIdg7r7Z", - "type": "function", - "function": { - "name": "add", - "arguments": "{\"a\": 2, \"b\": 3}" - } - }, - { - "id": "call_zumf4AvQJr4cmTe48gOOC24l", - "type": "function", - "function": { - "name": "multiply", - "arguments": "{\"a\": 2, \"b\": 3}" - } - } - ], - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 110, - "completion_tokens": 50, - "total_tokens": 160, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_560af6e559" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.228339708s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1247 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_fHc6yzovqB6JPczldIdg7r7Z","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_zumf4AvQJr4cmTe48gOOC24l","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_fHc6yzovqB6JPczldIdg7r7Z","role":"tool"},{"content":"6","tool_call_id":"call_zumf4AvQJr4cmTe48gOOC24l","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJHNOPDPmVIDiZcccGg7FBSAmkjuK", - "object": "chat.completion", - "created": 1758711062, - "model": "gpt-4o-mini-2024-07-18", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "The result of adding 2 and 3 is 5, and the result of multiplying 2 and 3 is 6.", - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 176, - "completion_tokens": 28, - "total_tokens": 204, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_560af6e559" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.681688625s diff --git a/providertests/testdata/TestOpenAICommon/multi_tool_gpt-4o.yaml b/providertests/testdata/TestOpenAICommon/multi_tool_gpt-4o.yaml deleted file mode 100644 index 2da8300cb7b78584cd4e9479eda9d0ddbd45766b..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/multi_tool_gpt-4o.yaml +++ /dev/null @@ -1,153 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 811 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJHNH2dXxKGldjJny0ACqmVenq9rg", - "object": "chat.completion", - "created": 1758711055, - "model": "gpt-4o-2024-08-06", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "call_5fM1APgtF5q2WlnOX53JkAME", - "type": "function", - "function": { - "name": "add", - "arguments": "{\"a\": 2, \"b\": 3}" - } - }, - { - "id": "call_Q3SOAToCdGA6MSA6uBRRNe6u", - "type": "function", - "function": { - "name": "multiply", - "arguments": "{\"a\": 2, \"b\": 3}" - } - } - ], - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 110, - "completion_tokens": 50, - "total_tokens": 160, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_cbf1785567" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.433327375s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1242 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_5fM1APgtF5q2WlnOX53JkAME","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_Q3SOAToCdGA6MSA6uBRRNe6u","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_5fM1APgtF5q2WlnOX53JkAME","role":"tool"},{"content":"6","tool_call_id":"call_Q3SOAToCdGA6MSA6uBRRNe6u","role":"tool"}],"model":"gpt-4o","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJHNJXX08Z1XS56wVzecj26o5qWsH", - "object": "chat.completion", - "created": 1758711057, - "model": "gpt-4o-2024-08-06", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "The sum of 2 and 3 is 5, and their product is 6.", - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 176, - "completion_tokens": 20, - "total_tokens": 196, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_cbf1785567" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.165054291s diff --git a/providertests/testdata/TestOpenAICommon/multi_tool_gpt-5.yaml b/providertests/testdata/TestOpenAICommon/multi_tool_gpt-5.yaml deleted file mode 100644 index da477f905f5e1b6ba925589e3bb428964d35d2ba..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/multi_tool_gpt-5.yaml +++ /dev/null @@ -1,151 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 821 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJHNWTrpQnOjtZob48FeSHWZTT8J8", - "object": "chat.completion", - "created": 1758711070, - "model": "gpt-5-2025-08-07", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "call_ucYrrss6ETc3YnQdA7grAXuZ", - "type": "function", - "function": { - "name": "add", - "arguments": "{\"a\": 2, \"b\": 3}" - } - }, - { - "id": "call_KZuPmn3DhLp34eU3WPV6d2BC", - "type": "function", - "function": { - "name": "multiply", - "arguments": "{\"a\": 2, \"b\": 3}" - } - } - ], - "refusal": null, - "annotations": [] - }, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 194, - "completion_tokens": 251, - "total_tokens": 445, - "prompt_tokens_details": { - "cached_tokens": 0, - "audio_tokens": 0 - }, - "completion_tokens_details": { - "reasoning_tokens": 192, - "audio_tokens": 0, - "accepted_prediction_tokens": 0, - "rejected_prediction_tokens": 0 - } - }, - "service_tier": "default", - "system_fingerprint": null - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 3.828985s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1252 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_ucYrrss6ETc3YnQdA7grAXuZ","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_KZuPmn3DhLp34eU3WPV6d2BC","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_ucYrrss6ETc3YnQdA7grAXuZ","role":"tool"},{"content":"6","tool_call_id":"call_KZuPmn3DhLp34eU3WPV6d2BC","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJHNZ3DVA5PqYx0mpBu7rQS8mVlXI", - "object": "chat.completion", - "created": 1758711073, - "model": "gpt-5-2025-08-07", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "Results:\n- Addition: 2 + 3 = 5\n- Multiplication: 2 × 3 = 6", - "refusal": null, - "annotations": [] - }, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 266, - "completion_tokens": 29, - "total_tokens": 295, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": null - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.842280167s diff --git a/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-4o-mini.yaml b/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-4o-mini.yaml deleted file mode 100644 index 3ab215748ac133b77efcf328dcd8fcc0a4a04538..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-4o-mini.yaml +++ /dev/null @@ -1,147 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 853 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"obfuscation":"AGF69X"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_Q8W7KkmxptZBWk2s8xnxXFPl","type":"function","function":{"name":"add","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"gDqy4r3lDGMcp"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"KZL31nAvGw8"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"M0uQRhXNw4Og"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"BVCZ4J0NW"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_MwOxFdo6JUxCF0V8ziIw4t16","type":"function","function":{"name":"multiply","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"vCM8d8a2"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"7HuPrKzBsyx"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"U6AGBkK548Ar"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"pbPCaWWZj"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"GNJrdQwrAVZCmAT"} - - data: {"id":"chatcmpl-CJHNQaSjPPlF7EpRv6UpeBYesRJ9Y","object":"chat.completion.chunk","created":1758711064,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":106,"completion_tokens":50,"total_tokens":156,"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":"h61nnl4a"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 3.485648416s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1284 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_Q8W7KkmxptZBWk2s8xnxXFPl","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_MwOxFdo6JUxCF0V8ziIw4t16","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_Q8W7KkmxptZBWk2s8xnxXFPl","role":"tool"},{"content":"6","tool_call_id":"call_MwOxFdo6JUxCF0V8ziIw4t16","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"etE09mg5j"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"XyWZ4fJh"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" sum"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"98SF0M6"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PHHRg5gP"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"h6GmcL19Dx"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"TbL2dvrNkS"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"9kqhmpW"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ilQ0wcxIl9"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"NulgiHZxt0"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"D909bhS4"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5giwOtomgg"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0316ksvEKw"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"JRRRwFJYRh"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Nh2FbJC"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"e3yOVef"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" product"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"gF3"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3JlyMzoM"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"oMCMBAw1E0"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"CWa4FinBlB"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zLIxSAd"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6JQpyOnJV9"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"8qans8nYRL"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GBXbD32W"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3AKrfxI3sN"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RraqkSQP7B"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"s6HcTdxtue"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"yistk"} - - data: {"id":"chatcmpl-CJHNUktzAozkuSGJd3C6QUnoZ6TX5","object":"chat.completion.chunk","created":1758711068,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":172,"completion_tokens":26,"total_tokens":198,"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":"hLutx6uH"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 1.415385833s diff --git a/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-4o.yaml b/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-4o.yaml deleted file mode 100644 index 5a845001eebb93c0924027e71c29d5984f30bde2..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-4o.yaml +++ /dev/null @@ -1,139 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 848 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"obfuscation":"gYycE8bGxRs"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_YB2z7czj8CpHqvM2JH3sZuyT","type":"function","function":{"name":"add","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"Uq"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"K"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"plXnocT9VWPw3G"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"OVang"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_o69r4fxpWyrEKXCkOcYC32hd","type":"function","function":{"name":"multiply","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"l7zORJPGaICXA"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"h"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"pX7N3rSbpyQcGX"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"G8XJB"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"ImsR"} - - data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","choices":[],"usage":{"prompt_tokens":106,"completion_tokens":50,"total_tokens":156,"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":"CdpdwAcRMFvAY"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 1.794241833s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1279 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_YB2z7czj8CpHqvM2JH3sZuyT","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_o69r4fxpWyrEKXCkOcYC32hd","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_YB2z7czj8CpHqvM2JH3sZuyT","role":"tool"},{"content":"6","tool_call_id":"call_o69r4fxpWyrEKXCkOcYC32hd","role":"tool"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"zzCHe7XZQy0Eab"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Adding"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"kR5LVIqrhk"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"yT8yFNAfvqQFPyx"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Z2FsuGmHUJ4yPGz"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"vFmeUbBbBq4x"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"34k6MLFFe9YaEMJ"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"E9yjzfHVfleCWjl"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" gives"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YrO7SvLQEj"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"O7V0i8OYFObjTYi"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"oItjqwgPjBhhnUT"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"s4v8H9Hz7btBSCK"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"SBJHLa1skFHa"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" multiplying"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"tHXl"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"NQ8SGeAJH6ZgdGh"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"eaemqIkkuE6sktx"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"JzoHhV2XpBLs"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"JsWQxUlhdmQWSkZ"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PvoKscZX12XTRrx"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" gives"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"SCxL15MPVi"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"gf9I00olB6GG2Iq"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"K2satSxN2jY3r9u"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"pNmkVCVTq8AvEaF"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"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":"pG582ETUaE"} - - data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":172,"completion_tokens":22,"total_tokens":194,"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":"ulaR1HYWs4n3B"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 683.369416ms diff --git a/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-5.yaml b/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-5.yaml deleted file mode 100644 index 559e3250a7a09199a8e704148708dcc3e92429d5..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/multi_tool_streaming_gpt-5.yaml +++ /dev/null @@ -1,149 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 858 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"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":"tRr4MWV"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_uGZIZgYV239LH2BcgCVoEX1C","type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null}],"obfuscation":"ZijLcnJH6qBQG4"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"a\""}}]},"finish_reason":null}],"obfuscation":"x89cjweiNHyn"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":": 2, "}}]},"finish_reason":null}],"obfuscation":"bPpGfQFTOYaqY"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"b\": 3"}}]},"finish_reason":null}],"obfuscation":"2Qef6EI9eu"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"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":"k"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_GIiXnK6epwIL2fkBJxqtDsnr","type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null}],"obfuscation":"QozeMJq2T"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"a\""}}]},"finish_reason":null}],"obfuscation":"L0Qg8AHu9J2C"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":": 2, "}}]},"finish_reason":null}],"obfuscation":"zZNXPzgpljO24"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"b\": 3"}}]},"finish_reason":null}],"obfuscation":"UXTHjsPVuC"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"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":"J"} - - data: {"id":"chatcmpl-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"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-CJHNb5sK9QF6j1570CkbHF00Xb9ay","object":"chat.completion.chunk","created":1758711075,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":190,"completion_tokens":315,"total_tokens":505,"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":"QNTmkP"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 4.013523333s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1289 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_uGZIZgYV239LH2BcgCVoEX1C","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_GIiXnK6epwIL2fkBJxqtDsnr","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_uGZIZgYV239LH2BcgCVoEX1C","role":"tool"},{"content":"6","tool_call_id":"call_GIiXnK6epwIL2fkBJxqtDsnr","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"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":"r9Q48VFKjJ"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Results"},"finish_reason":null}],"usage":null,"obfuscation":"EYbA9"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":\n"},"finish_reason":null}],"usage":null,"obfuscation":"afp15bvkU"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"-"},"finish_reason":null}],"usage":null,"obfuscation":"PQ5Gj0SNcvP"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Addition"},"finish_reason":null}],"usage":null,"obfuscation":"MVn"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ("},"finish_reason":null}],"usage":null,"obfuscation":"S4pqRCidy9"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"finish_reason":null}],"usage":null,"obfuscation":"NxLDejYl83P"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" +"},"finish_reason":null}],"usage":null,"obfuscation":"hd4nRvQxWZ"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"hUas20prkx0"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"finish_reason":null}],"usage":null,"obfuscation":"zb3LvebitNg"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":")"},"finish_reason":null}],"usage":null,"obfuscation":"8u8q6c5ky0J"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ="},"finish_reason":null}],"usage":null,"obfuscation":"PJrQw6kGhJ"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"2QsfefWOoQa"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"5"},"finish_reason":null}],"usage":null,"obfuscation":"HJz35LbKwEY"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"finish_reason":null}],"usage":null,"obfuscation":"j4lBG9DWPd"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"-"},"finish_reason":null}],"usage":null,"obfuscation":"die6sTzeS3x"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Multip"},"finish_reason":null}],"usage":null,"obfuscation":"mtV7e"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"lication"},"finish_reason":null}],"usage":null,"obfuscation":"HKqD"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ("},"finish_reason":null}],"usage":null,"obfuscation":"jhcu86EZAN"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"finish_reason":null}],"usage":null,"obfuscation":"8AXQ7DZ72wz"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ×"},"finish_reason":null}],"usage":null,"obfuscation":"VrTeHFlw6N"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"rDMqyp25xji"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"finish_reason":null}],"usage":null,"obfuscation":"4Eg45VRQKtx"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":")"},"finish_reason":null}],"usage":null,"obfuscation":"94RPnZpHEvK"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ="},"finish_reason":null}],"usage":null,"obfuscation":"UozPaNeGGv"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"smOGgbqHNnk"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"finish_reason":null}],"usage":null,"obfuscation":"0v0hGcvHdux"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"xPMcSC"} - - data: {"id":"chatcmpl-CJHNfQjLYQ6SDUUosSIsx9PoaDosl","object":"chat.completion.chunk","created":1758711079,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":262,"completion_tokens":29,"total_tokens":291,"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":"2zNgLh2b0"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 913.471ms diff --git a/providertests/testdata/TestOpenAICommon/simple_gpt-4o-mini.yaml b/providertests/testdata/TestOpenAICommon/simple_gpt-4o-mini.yaml deleted file mode 100644 index 406374e4c36c56c79fcdfef0b8c285457f3a96f1..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/simple_gpt-4o-mini.yaml +++ /dev/null @@ -1,69 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 161 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CIyJYqz8D13qvLHrzmPDBgcLI2yis", - "object": "chat.completion", - "created": 1758637788, - "model": "gpt-4o-mini-2024-07-18", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "Hi! In Portuguese, you would say \"Oi!\"", - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 20, - "completion_tokens": 11, - "total_tokens": 31, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_560af6e559" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.50388225s diff --git a/providertests/testdata/TestOpenAICommon/simple_gpt-4o.yaml b/providertests/testdata/TestOpenAICommon/simple_gpt-4o.yaml deleted file mode 100644 index a6b84670e1128fadaa25b988f20b114101db6fc9..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/simple_gpt-4o.yaml +++ /dev/null @@ -1,69 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 156 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-4o","max_tokens":4000}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CIyJWzUZJShy0RouHvhJJ2Hy2UAfY", - "object": "chat.completion", - "created": 1758637786, - "model": "gpt-4o-2024-08-06", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "Olá!", - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 20, - "completion_tokens": 2, - "total_tokens": 22, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_f33640a400" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.153691459s diff --git a/providertests/testdata/TestOpenAICommon/simple_gpt-5.yaml b/providertests/testdata/TestOpenAICommon/simple_gpt-5.yaml deleted file mode 100644 index cd31252a95359b43108c7a8511d4b44606763684..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/simple_gpt-5.yaml +++ /dev/null @@ -1,68 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 166 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-5","max_completion_tokens":4000}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CIyJdVnMfKeENR9RRovE2NBB00W7o", - "object": "chat.completion", - "created": 1758637793, - "model": "gpt-5-2025-08-07", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "Olá!", - "refusal": null, - "annotations": [] - }, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 19, - "completion_tokens": 139, - "total_tokens": 158, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": null - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 7.150942875s diff --git a/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-4o-mini.yaml b/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-4o-mini.yaml deleted file mode 100644 index 6c0726d9793355c1032b3b077fd44b6290c83501..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-4o-mini.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 215 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CIyJaOZW1cSN0oFzR0KNpr0DEQdxO","object":"chat.completion.chunk","created":1758637790,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qa8IO7ML3"} - - data: {"id":"chatcmpl-CIyJaOZW1cSN0oFzR0KNpr0DEQdxO","object":"chat.completion.chunk","created":1758637790,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"Oi"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"epi9ETo8G"} - - data: {"id":"chatcmpl-CIyJaOZW1cSN0oFzR0KNpr0DEQdxO","object":"chat.completion.chunk","created":1758637790,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BVCz1VPweF"} - - data: {"id":"chatcmpl-CIyJaOZW1cSN0oFzR0KNpr0DEQdxO","object":"chat.completion.chunk","created":1758637790,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"VS66Q"} - - data: {"id":"chatcmpl-CIyJaOZW1cSN0oFzR0KNpr0DEQdxO","object":"chat.completion.chunk","created":1758637790,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":20,"completion_tokens":2,"total_tokens":22,"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":"nek2YcQCjRz"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 3.206862375s diff --git a/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-4o.yaml b/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-4o.yaml deleted file mode 100644 index cb695558f09dd08978f0db75511f2b26df258f59..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-4o.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 210 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CIyJXHI3WU565cXirytCPOLgRqHly","object":"chat.completion.chunk","created":1758637787,"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":"yWAz3isSyfZvUk"} - - data: {"id":"chatcmpl-CIyJXHI3WU565cXirytCPOLgRqHly","object":"chat.completion.chunk","created":1758637787,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Olá"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"DFLb9RhUI6jN1"} - - data: {"id":"chatcmpl-CIyJXHI3WU565cXirytCPOLgRqHly","object":"chat.completion.chunk","created":1758637787,"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":"Lp6KWcGxa5knPEU"} - - data: {"id":"chatcmpl-CIyJXHI3WU565cXirytCPOLgRqHly","object":"chat.completion.chunk","created":1758637787,"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":"TPrEUpV8Bn"} - - data: {"id":"chatcmpl-CIyJXHI3WU565cXirytCPOLgRqHly","object":"chat.completion.chunk","created":1758637787,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":20,"completion_tokens":2,"total_tokens":22,"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":""} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 818.509375ms diff --git a/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-5.yaml b/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-5.yaml deleted file mode 100644 index fd894b2a4ce46a0c04f1d6adaca5d130cfba00cc..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/simple_streaming_gpt-5.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 220 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CIyJk1jvLtm20C4X3sbgJxP3jPduL","object":"chat.completion.chunk","created":1758637800,"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":"uHhgO9zaTG"} - - data: {"id":"chatcmpl-CIyJk1jvLtm20C4X3sbgJxP3jPduL","object":"chat.completion.chunk","created":1758637800,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Olá"},"finish_reason":null}],"usage":null,"obfuscation":"CDpyKFZPF"} - - data: {"id":"chatcmpl-CIyJk1jvLtm20C4X3sbgJxP3jPduL","object":"chat.completion.chunk","created":1758637800,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"!"},"finish_reason":null}],"usage":null,"obfuscation":"16B86R3N6bM"} - - data: {"id":"chatcmpl-CIyJk1jvLtm20C4X3sbgJxP3jPduL","object":"chat.completion.chunk","created":1758637800,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"OzkKXU"} - - data: {"id":"chatcmpl-CIyJk1jvLtm20C4X3sbgJxP3jPduL","object":"chat.completion.chunk","created":1758637800,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":19,"completion_tokens":139,"total_tokens":158,"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":"ECuqld8"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 5.437192459s diff --git a/providertests/testdata/TestOpenAICommon/tool_gpt-4o-mini.yaml b/providertests/testdata/TestOpenAICommon/tool_gpt-4o-mini.yaml deleted file mode 100644 index 4a505ce8b291a09b4a176f8aef9a637b57b2ccbf..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/tool_gpt-4o-mini.yaml +++ /dev/null @@ -1,145 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 453 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJ0tA9of0CM8ETGXxfZdS7K2U6fhV", - "object": "chat.completion", - "created": 1758647684, - "model": "gpt-4o-mini-2024-07-18", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "call_yWcF6pOXZEasjvDtCEk2QMxi", - "type": "function", - "function": { - "name": "weather", - "arguments": "{\"location\":\"Florence, Italy\"}" - } - } - ], - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 61, - "completion_tokens": 16, - "total_tokens": 77, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_560af6e559" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 800.714667ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 705 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_yWcF6pOXZEasjvDtCEk2QMxi","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_yWcF6pOXZEasjvDtCEk2QMxi","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJ0tBUJaV0f3tn3An94PCF2ryFQ36", - "object": "chat.completion", - "created": 1758647685, - "model": "gpt-4o-mini-2024-07-18", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "The weather in Florence, Italy is currently 40°C.", - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 86, - "completion_tokens": 13, - "total_tokens": 99, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_560af6e559" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 728.681917ms diff --git a/providertests/testdata/TestOpenAICommon/tool_gpt-4o.yaml b/providertests/testdata/TestOpenAICommon/tool_gpt-4o.yaml deleted file mode 100644 index eb056e4be65c8b3992e1b1e1b8d93cb639bfda30..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/tool_gpt-4o.yaml +++ /dev/null @@ -1,145 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 448 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-4o","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJ0t1KN0HyuYhTUOVdaJyIglR783c", - "object": "chat.completion", - "created": 1758647675, - "model": "gpt-4o-2024-08-06", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "call_rwEhF6Knw2t7cyFXf5CwFxhj", - "type": "function", - "function": { - "name": "weather", - "arguments": "{\"location\":\"Florence, Italy\"}" - } - } - ], - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 61, - "completion_tokens": 16, - "total_tokens": 77, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_1827dd0c55" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.496159917s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 700 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_rwEhF6Knw2t7cyFXf5CwFxhj","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_rwEhF6Knw2t7cyFXf5CwFxhj","role":"tool"}],"model":"gpt-4o","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJ0t3lcTfNKs6bfvq2STBe95wG8hG", - "object": "chat.completion", - "created": 1758647677, - "model": "gpt-4o-2024-08-06", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "The current temperature in Florence, Italy is 40°C.", - "refusal": null, - "annotations": [] - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 86, - "completion_tokens": 13, - "total_tokens": 99, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": "fp_f33640a400" - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.449762542s diff --git a/providertests/testdata/TestOpenAICommon/tool_gpt-5.yaml b/providertests/testdata/TestOpenAICommon/tool_gpt-5.yaml deleted file mode 100644 index db143105977ee4a4ae8db1084c44e125502bfce4..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/tool_gpt-5.yaml +++ /dev/null @@ -1,143 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 458 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJ0tKYDkQYGemoIfxaHKoXjVkX0A5", - "object": "chat.completion", - "created": 1758647694, - "model": "gpt-5-2025-08-07", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "call_wIjmJXgmSCyQXBTzFqSCIxLK", - "type": "function", - "function": { - "name": "weather", - "arguments": "{\"location\":\"Florence, Italy\"}" - } - } - ], - "refusal": null, - "annotations": [] - }, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 145, - "completion_tokens": 153, - "total_tokens": 298, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": null - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 6.411118125s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 710 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_wIjmJXgmSCyQXBTzFqSCIxLK","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_wIjmJXgmSCyQXBTzFqSCIxLK","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - { - "id": "chatcmpl-CJ0tQT9E0buo6ZDtPWlqLBi78nACz", - "object": "chat.completion", - "created": 1758647700, - "model": "gpt-5-2025-08-07", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "It’s currently about 40°C (104°F) in Florence, Italy. Would you like a forecast or more details like wind and humidity?", - "refusal": null, - "annotations": [] - }, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 176, - "completion_tokens": 294, - "total_tokens": 470, - "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 - } - }, - "service_tier": "default", - "system_fingerprint": null - } - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 4.986148625s diff --git a/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-4o-mini.yaml b/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-4o-mini.yaml deleted file mode 100644 index 918450ae699d38826a92837e60704b18504fc228..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-4o-mini.yaml +++ /dev/null @@ -1,117 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 507 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_eaFZk5oKtBMZbnNRWRTJtLd8","type":"function","function":{"name":"weather","arguments":""}}],"refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5KI0UtZk"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xratVRRQUvO7ju"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"location"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wYiTeV7h8"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MPkLZkYPNsIR"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Flor"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"TCU5TS5ww2nCI"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ence"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wDqHJX5wYfcOA"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":","}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Italy"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"rLIAlWnSklw"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"cSZ8YHtvjZ0s1X"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"XPQmeXulXZEoftW"} - - data: {"id":"chatcmpl-CJ0tBlueR3651IKlhIzPl3aK6mL6E","object":"chat.completion.chunk","created":1758647685,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":61,"completion_tokens":16,"total_tokens":77,"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":"obbGCGoTl9"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 512.806041ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 759 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_eaFZk5oKtBMZbnNRWRTJtLd8","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_eaFZk5oKtBMZbnNRWRTJtLd8","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zaIgHcc89"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"VmC7fB9t"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"p8h"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" weather"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vXV"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"kyKyXttg"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" Florence"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zA"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ez5qB60FIe"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" Italy"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Azhcm"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"V8wzXyf1"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BXxv0GdxY8"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"40"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zkC1qjQIp"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"°C"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"X76P2Vgf4"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"DfAlLE2gti"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"6WtHI"} - - data: {"id":"chatcmpl-CJ0tC6vKfIzgNkmkKDiGYcgC6i8h0","object":"chat.completion.chunk","created":1758647686,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_560af6e559","choices":[],"usage":{"prompt_tokens":86,"completion_tokens":13,"total_tokens":99,"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":"cmTLrubMzR"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 530.826042ms diff --git a/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-4o.yaml b/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-4o.yaml deleted file mode 100644 index 75654378ef95ea3369dad1bb8d4933ee464f02fd..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-4o.yaml +++ /dev/null @@ -1,117 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 502 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_DsLVX5dtxut3VpmGjk4pLjuJ","type":"function","function":{"name":"weather","arguments":""}}],"refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vqSrDr5OyXU4m"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"bLY"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"location"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ROH2xDb2UHSlWt"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"P"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Flor"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0k"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ence"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"J6"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":","}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3N4p6"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Italy"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0KQ"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"esuU"} - - data: {"id":"chatcmpl-CJ0t4RRGeoO2Fm6RBwapKmmznjkgN","object":"chat.completion.chunk","created":1758647678,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[],"usage":{"prompt_tokens":61,"completion_tokens":16,"total_tokens":77,"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":"1rw5kFUcAkARKC6"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 895.465916ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 754 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_DsLVX5dtxut3VpmGjk4pLjuJ","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_DsLVX5dtxut3VpmGjk4pLjuJ","role":"tool"}],"model":"gpt-4o","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"7tOM3ZUD6ldT6q"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"BZb5wdo6uPwk3"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":" current"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"LoRsZTOM"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":" temperature"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vat0"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"XepN7xFKXNBtG"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":" Florence"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"IoUT6Lf"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"lTPPYj42jAOLfZq"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":" Italy"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ELkxqOy9cR"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Xo9O5Qrg9rTG4"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"OcilCqcnRrqI8b0"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":"40"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AkKZH9iLTPLWwW"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":"°C"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ZgLJVEiJSDNwfh"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Tgl1ypvC7DYEENV"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"rXXXF1AO5c"} - - data: {"id":"chatcmpl-CJ0t5pNKMz4aUQirct25yb1MaEedf","object":"chat.completion.chunk","created":1758647679,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_1827dd0c55","choices":[],"usage":{"prompt_tokens":86,"completion_tokens":13,"total_tokens":99,"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":"GiOGt9YVboGRIy6"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 864.815125ms diff --git a/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-5.yaml b/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-5.yaml deleted file mode 100644 index 129a88386af761f04eaa8196d9e7ad734ed4d83e..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICommon/tool_streaming_gpt-5.yaml +++ /dev/null @@ -1,125 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 512 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"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_WSgpozR824ujfeAxEXnWmQBQ","type":"function","function":{"name":"weather","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"duGx3035D"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"Tztbt3c3Kbze6FE"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"location"}}]},"finish_reason":null}],"usage":null,"obfuscation":"26eQ3nimHA"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"usage":null,"obfuscation":"TsD23k6WCx25H"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Flor"}}]},"finish_reason":null}],"usage":null,"obfuscation":"JjGknbF1INt5TF"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ence"}}]},"finish_reason":null}],"usage":null,"obfuscation":"Gi8uBZzQIKsHiy"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":","}}]},"finish_reason":null}],"usage":null,"obfuscation":"x"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Italy"}}]},"finish_reason":null}],"usage":null,"obfuscation":"LW9lZdbCEZZW"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null}],"usage":null,"obfuscation":"95cXXqU4xVuJmzG"} - - data: {"id":"chatcmpl-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"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-CJ0tV25SmllzFkgw9mB6R45W4UvB5","object":"chat.completion.chunk","created":1758647705,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":145,"completion_tokens":89,"total_tokens":234,"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":"gfOQndVH"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 2.294974458s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 764 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_WSgpozR824ujfeAxEXnWmQBQ","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_WSgpozR824ujfeAxEXnWmQBQ","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.openai.com/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"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":"1p1YlAJWTw"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"It"},"finish_reason":null}],"usage":null,"obfuscation":"YZvt6jFlFB"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"’s"},"finish_reason":null}],"usage":null,"obfuscation":"DzZBdbfizD"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" currently"},"finish_reason":null}],"usage":null,"obfuscation":"Jd"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" about"},"finish_reason":null}],"usage":null,"obfuscation":"nPCpZB"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"V7WLM5bQiGv"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"40"},"finish_reason":null}],"usage":null,"obfuscation":"5uezkeMYMs"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"°C"},"finish_reason":null}],"usage":null,"obfuscation":"OWCuuGdnOp"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ("},"finish_reason":null}],"usage":null,"obfuscation":"NzvQsK86Pb"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"104"},"finish_reason":null}],"usage":null,"obfuscation":"XfNJqWzg2"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"°F"},"finish_reason":null}],"usage":null,"obfuscation":"uTIlmHt4OL"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":")"},"finish_reason":null}],"usage":null,"obfuscation":"u8dtXL0LscA"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" in"},"finish_reason":null}],"usage":null,"obfuscation":"7NixIZTSo"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Florence"},"finish_reason":null}],"usage":null,"obfuscation":"t53"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"finish_reason":null}],"usage":null,"obfuscation":"FztKEw6muKe"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Italy"},"finish_reason":null}],"usage":null,"obfuscation":"FgCTCh"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"finish_reason":null}],"usage":null,"obfuscation":"zsCfUMeT8fD"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"5Fm2lZ"} - - data: {"id":"chatcmpl-CJ0tYuxf4NRj1f1izjE5LrYfxvqyY","object":"chat.completion.chunk","created":1758647708,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":176,"completion_tokens":217,"total_tokens":393,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Sgd3oK"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream; charset=utf-8 - status: 200 OK - code: 200 - duration: 4.122915208s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/multi_tool.yaml b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a2c40ac7118409c27549881a23948be85e99adc7 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/multi_tool.yaml @@ -0,0 +1,65 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 837 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + {"id":"chatcmpl-821a45ca-0c2c-4744-90df-30250620bba7","object":"chat.completion","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","tool_calls":[{"id":"functions.add:0","type":"function","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"}},{"id":"functions.multiply:1","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"}}]},"logprobs":null,"finish_reason":"tool_calls"}],"usage":{"queue_time":0.034706122,"prompt_tokens":211,"prompt_time":0.02151364,"completion_tokens":41,"completion_time":0.175949957,"total_tokens":252,"total_time":0.197463597},"usage_breakdown":null,"system_fingerprint":"fp_6e6ff3688b","x_groq":{"id":"req_01k62v69wdeekbpebban95ny5e"},"service_tier":"on_demand"} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 287.941834ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1216 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + {"id":"chatcmpl-2ac08e5f-cb4f-428e-88bc-ad449887955f","object":"chat.completion","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"- **Addition result:** 5 \n- **Multiplication result:** 6"},"logprobs":null,"finish_reason":"stop"}],"usage":{"queue_time":0.034671621,"prompt_tokens":279,"prompt_time":0.027295151,"completion_tokens":17,"completion_time":0.069346409,"total_tokens":296,"total_time":0.09664156},"usage_breakdown":null,"system_fingerprint":"fp_6e6ff3688b","x_groq":{"id":"req_01k62v6a5texza2ay40rkh8ppy"},"service_tier":"on_demand"} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 198.746083ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/multi_tool_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bcbc0460726c691c951b0c273e7e218eff5e4346 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/multi_tool_streaming.yaml @@ -0,0 +1,165 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 874 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k62v6abtexz9x4ehz7ept3nt"}} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"I'll"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" help"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" you"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" add"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" multiply"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" numbers"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"tool_calls":[{"id":"functions.add:0","type":"function","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0}]},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"tool_calls":[{"id":"functions.multiply:1","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1}]},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"x_groq":{"id":"req_01k62v6abtexz9x4ehz7ept3nt","usage":{"queue_time":0.035435906,"prompt_tokens":207,"prompt_time":0.021306235,"completion_tokens":55,"completion_time":0.193797381,"total_tokens":262,"total_time":0.215103616}},"usage":{"queue_time":0.035435906,"prompt_tokens":207,"prompt_time":0.021306235,"completion_tokens":55,"completion_time":0.193797381,"total_tokens":262,"total_time":0.215103616}} + + data: {"id":"chatcmpl-eaa5320c-c0d2-4f0b-b2c1-378d7e65e871","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[],"usage":{"queue_time":0.035435906,"prompt_tokens":207,"prompt_time":0.021306235,"completion_tokens":55,"completion_time":0.193797381,"total_tokens":262,"total_time":0.215103616},"service_tier":"on_demand"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 113.669917ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1317 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll help you add and multiply the numbers 2 and 3.","tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k62v6anceen846x2tt27aefk"}} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" results"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" are"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":":\n"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"-"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" Addition"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" +"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" ="},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"-"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" Multi"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"plication"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" ×"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" ="},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"x_groq":{"id":"req_01k62v6anceen846x2tt27aefk","usage":{"queue_time":0.163143838,"prompt_tokens":289,"prompt_time":0.025574857,"completion_tokens":29,"completion_time":0.055943648,"total_tokens":318,"total_time":0.081518505}},"usage":{"queue_time":0.163143838,"prompt_tokens":289,"prompt_time":0.025574857,"completion_tokens":29,"completion_time":0.055943648,"total_tokens":318,"total_time":0.081518505}} + + data: {"id":"chatcmpl-641d8aab-9499-4610-9dde-be5d0504ff7d","object":"chat.completion.chunk","created":1758884735,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[],"usage":{"queue_time":0.163143838,"prompt_tokens":289,"prompt_time":0.025574857,"completion_tokens":29,"completion_time":0.055943648,"total_tokens":318,"total_time":0.081518505},"service_tier":"on_demand"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 244.900083ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/simple.yaml b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..289fddcf011e522132ec6be6a133c3f47da1062c --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/simple.yaml @@ -0,0 +1,34 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 182 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + {"id":"chatcmpl-c41f00a2-68dc-4952-ac9d-a2febf3945b6","object":"chat.completion","created":1758884733,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"Olá!"},"logprobs":null,"finish_reason":"stop"}],"usage":{"queue_time":0.036316922,"prompt_tokens":20,"prompt_time":0.017865963,"completion_tokens":4,"completion_time":0.02970344,"total_tokens":24,"total_time":0.047569403},"usage_breakdown":null,"system_fingerprint":"fp_6e6ff3688b","x_groq":{"id":"req_01k62v68w6f5btx1cmv31be5df"},"service_tier":"on_demand"} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 334.810833ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/simple_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..98d6fb9d8646af41693e4b78d4fbd28117942ee9 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/simple_streaming.yaml @@ -0,0 +1,44 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 236 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-0544364e-cb53-4ca7-abe9-d5fc326e02cf","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k62v6917eejrqc5hh96eeeyz"}} + + data: {"id":"chatcmpl-0544364e-cb53-4ca7-abe9-d5fc326e02cf","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"Oi"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-0544364e-cb53-4ca7-abe9-d5fc326e02cf","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-0544364e-cb53-4ca7-abe9-d5fc326e02cf","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"x_groq":{"id":"req_01k62v6917eejrqc5hh96eeeyz","usage":{"queue_time":0.035865149,"prompt_tokens":20,"prompt_time":0.009370029,"completion_tokens":3,"completion_time":0.006912131,"total_tokens":23,"total_time":0.01628216}},"usage":{"queue_time":0.035865149,"prompt_tokens":20,"prompt_time":0.009370029,"completion_tokens":3,"completion_time":0.006912131,"total_tokens":23,"total_time":0.01628216}} + + data: {"id":"chatcmpl-0544364e-cb53-4ca7-abe9-d5fc326e02cf","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[],"usage":{"queue_time":0.035865149,"prompt_tokens":20,"prompt_time":0.009370029,"completion_tokens":3,"completion_time":0.006912131,"total_tokens":23,"total_time":0.01628216},"service_tier":"on_demand"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 114.54075ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/tool.yaml b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..47339fcf66cc438f7db5ee3dfbf2be05a6b3213c --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/tool.yaml @@ -0,0 +1,65 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 474 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + {"id":"chatcmpl-70b14f6a-3fb5-4bf5-8613-7670242afa1e","object":"chat.completion","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"I'll check the weather in Florence, Italy for you.","tool_calls":[{"id":"functions.weather:0","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"}}]},"logprobs":null,"finish_reason":"tool_calls"}],"usage":{"queue_time":0.035155911,"prompt_tokens":99,"prompt_time":0.016527326,"completion_tokens":32,"completion_time":0.104014523,"total_tokens":131,"total_time":0.120541849},"usage_breakdown":null,"system_fingerprint":"fp_6e6ff3688b","x_groq":{"id":"req_01k62v694nf5brr8zjscptd96b"},"service_tier":"on_demand"} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 214.6305ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 768 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"functions.weather:0","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"functions.weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: | + {"id":"chatcmpl-c1ce333f-b2e7-46ae-b834-7ab0e4cd55c4","object":"chat.completion","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"The weather in Florence, Italy is currently 40°C."},"logprobs":null,"finish_reason":"stop"}],"usage":{"queue_time":0.036013582,"prompt_tokens":150,"prompt_time":0.02103005,"completion_tokens":13,"completion_time":0.023271659,"total_tokens":163,"total_time":0.044301709},"usage_breakdown":null,"system_fingerprint":"fp_6e6ff3688b","x_groq":{"id":"req_01k62v69bceejt468zwpw3c7wv"},"service_tier":"on_demand"} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 136.771375ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/tool_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7741038dad5a9e0634becbc38633169d3cd9d86e --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/groq-kimi-k2/tool_streaming.yaml @@ -0,0 +1,123 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 528 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-f8dbbaa5-6f1a-48b5-8182-377b3774d8b1","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k62v69frexz821z0q8c8zy4z"}} + + data: {"id":"chatcmpl-f8dbbaa5-6f1a-48b5-8182-377b3774d8b1","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"tool_calls":[{"id":"functions.weather:0","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"},"index":0}]},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-f8dbbaa5-6f1a-48b5-8182-377b3774d8b1","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"x_groq":{"id":"req_01k62v69frexz821z0q8c8zy4z","usage":{"queue_time":0.03504137,"prompt_tokens":99,"prompt_time":0.016409098,"completion_tokens":21,"completion_time":0.068214998,"total_tokens":120,"total_time":0.084624096}},"usage":{"queue_time":0.03504137,"prompt_tokens":99,"prompt_time":0.016409098,"completion_tokens":21,"completion_time":0.068214998,"total_tokens":120,"total_time":0.084624096}} + + data: {"id":"chatcmpl-f8dbbaa5-6f1a-48b5-8182-377b3774d8b1","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[],"usage":{"queue_time":0.03504137,"prompt_tokens":99,"prompt_time":0.016409098,"completion_tokens":21,"completion_time":0.068214998,"total_tokens":120,"total_time":0.084624096},"service_tier":"on_demand"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 169.217209ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 759 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"functions.weather:0","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"functions.weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.groq.com/openai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k62v69nqexz91h2x5y0qygzz"}} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"It"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"’s"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" currently"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"40"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" °"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"C"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" ("},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"about"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"104"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" °"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"F"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":")"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" Florence"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" Italy"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"—"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"quite"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" hot"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}]} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"x_groq":{"id":"req_01k62v69nqexz91h2x5y0qygzz","usage":{"queue_time":0.035569563,"prompt_tokens":139,"prompt_time":0.016770892,"completion_tokens":23,"completion_time":0.079470705,"total_tokens":162,"total_time":0.096241597}},"usage":{"queue_time":0.035569563,"prompt_tokens":139,"prompt_time":0.016770892,"completion_tokens":23,"completion_time":0.079470705,"total_tokens":162,"total_time":0.096241597}} + + data: {"id":"chatcmpl-8c7b9aab-0f33-4e49-a85c-a767e9f10cb3","object":"chat.completion.chunk","created":1758884734,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[],"usage":{"queue_time":0.035569563,"prompt_tokens":139,"prompt_time":0.016770892,"completion_tokens":23,"completion_time":0.079470705,"total_tokens":162,"total_time":0.096241597},"service_tier":"on_demand"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 125.265708ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_groq-kimi-k2.yaml deleted file mode 100644 index 4d122e5db3d4d7b56bebc884bf7be13ee2698296..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_groq-kimi-k2.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 837 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - {"id":"chatcmpl-bb4afecf-08e7-49d8-885a-6ccff2c422f0","object":"chat.completion","created":1758793282,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","tool_calls":[{"id":"functions.add:0","type":"function","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"}},{"id":"functions.multiply:1","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"}}]},"logprobs":null,"finish_reason":"tool_calls"}],"usage":{"queue_time":0.325556295,"prompt_tokens":211,"prompt_time":0.036243759,"completion_tokens":41,"completion_time":0.08825668,"total_tokens":252,"total_time":0.124500439},"usage_breakdown":null,"system_fingerprint":"fp_b8565bb333","x_groq":{"id":"req_01k603zcfaf8fspck9tyjxc2hz"},"service_tier":"on_demand"} - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 554.885208ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1216 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - {"id":"chatcmpl-25b8d78b-561e-4c58-8725-62b777a57e3e","object":"chat.completion","created":1758793282,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"The results are:\n- Addition: 2 + 3 = 5\n- Multiplication: 2 × 3 = 6"},"logprobs":null,"finish_reason":"stop"}],"usage":{"queue_time":0.17248019,"prompt_tokens":279,"prompt_time":0.027121683,"completion_tokens":29,"completion_time":0.062329503,"total_tokens":308,"total_time":0.089451186},"usage_breakdown":null,"system_fingerprint":"fp_b8565bb333","x_groq":{"id":"req_01k603zd0sf8fsq7d8g9b7c4dw"},"service_tier":"on_demand"} - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 407.821875ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_groq-kimi-k2.yaml deleted file mode 100644 index be3f86b774252d895bde6f28cb38367f422d33fe..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_groq-kimi-k2.yaml +++ /dev/null @@ -1,173 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 874 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k603zddmf8fv5tf708qem1ce"}} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"I'll"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" help"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" you"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" perform"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" both"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" addition"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" multiplication"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" on"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" numbers"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"tool_calls":[{"id":"functions.add:0","type":"function","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0}]},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{"tool_calls":[{"id":"functions.multiply:1","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1}]},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"x_groq":{"id":"req_01k603zddmf8fv5tf708qem1ce","usage":{"queue_time":0.220617465,"prompt_tokens":207,"prompt_time":0.020522486,"completion_tokens":58,"completion_time":0.137587356,"total_tokens":265,"total_time":0.158109842}},"usage":{"queue_time":0.220617465,"prompt_tokens":207,"prompt_time":0.020522486,"completion_tokens":58,"completion_time":0.137587356,"total_tokens":265,"total_time":0.158109842}} - - data: {"id":"chatcmpl-51587054-52ed-432d-aaf4-1e5db95ca2c6","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_b8565bb333","choices":[],"usage":{"queue_time":0.220617465,"prompt_tokens":207,"prompt_time":0.020522486,"completion_tokens":58,"completion_time":0.137587356,"total_tokens":265,"total_time":0.158109842},"service_tier":"on_demand"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 304.219083ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1344 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll help you perform both addition and multiplication on the numbers 2 and 3.","tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k603zdwzf6q9jxkrna6p263m"}} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"Here"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" are"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" results"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":":\n"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"-"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" Addition"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" +"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" ="},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"-"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" Multi"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"plication"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" ×"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" ="},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"x_groq":{"id":"req_01k603zdwzf6q9jxkrna6p263m","usage":{"queue_time":0.095803336,"prompt_tokens":292,"prompt_time":0.032700843,"completion_tokens":30,"completion_time":0.064981683,"total_tokens":322,"total_time":0.097682526}},"usage":{"queue_time":0.095803336,"prompt_tokens":292,"prompt_time":0.032700843,"completion_tokens":30,"completion_time":0.064981683,"total_tokens":322,"total_time":0.097682526}} - - data: {"id":"chatcmpl-ac78d7e7-b863-4bcd-ad66-26d4fcb36ceb","object":"chat.completion.chunk","created":1758793283,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[],"usage":{"queue_time":0.095803336,"prompt_tokens":292,"prompt_time":0.032700843,"completion_tokens":30,"completion_time":0.064981683,"total_tokens":322,"total_time":0.097682526},"service_tier":"on_demand"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 185.410541ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_xai-grok-4-fast.yaml deleted file mode 100644 index 271f613f8e3a9ea8d0da3d974fdcc2cef9b0665c..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_xai-grok-4-fast.yaml +++ /dev/null @@ -1,493 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 853 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793108,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_10831804","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_81736910","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1,"type":"function"}]}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"28dfbfa4-5581-dce0-814c-4f70755a3d5f_us-east-1","object":"chat.completion.chunk","created":1758793109,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":394,"completion_tokens":68,"total_tokens":596,"prompt_tokens_details":{"text_tokens":394,"audio_tokens":0,"image_tokens":0,"cached_tokens":364},"completion_tokens_details":{"reasoning_tokens":134,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 815.1565ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1214 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_10831804","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_81736910","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_10831804","role":"tool"},{"content":"6","tool_call_id":"call_81736910","role":"tool"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" sum"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" of"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"2"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"3"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"5"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" \n"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" product"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" of"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"2"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793110,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793111,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793111,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"3"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793111,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793111,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793111,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"6"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793111,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793111,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"5f66b44c-04da-875b-6449-958eb432ce19_us-east-1","object":"chat.completion.chunk","created":1758793111,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":610,"completion_tokens":25,"total_tokens":684,"prompt_tokens_details":{"text_tokens":610,"audio_tokens":0,"image_tokens":0,"cached_tokens":562},"completion_tokens_details":{"reasoning_tokens":49,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 647.894459ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_xai-grok-code-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_xai-grok-code-fast.yaml deleted file mode 100644 index ab19f26d8b68b196dfe02c871915c06b0c3584ab..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_xai-grok-code-fast.yaml +++ /dev/null @@ -1,979 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 858 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" asked"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"Add"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" multiply"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" number"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"2"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"3"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" have"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" tools"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" add"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" multiply"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793482,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\n\n## Interpreting user request \n- The user wants to perform both addition and multiplication on the numbers 2 and 3."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \n- The instruction specifies using both operations simultaneously."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \n\n## Planning execution \n- Both addition (2 + 3) and multiplication (2 × 3) need to be calculated."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793483,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \n- The approach involves applying both tools at the same time to meet the user's requirements."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_05556589","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793484,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_76879675","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1,"type":"function"}]}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"e4d9d7a1-4970-f044-5abb-d4451279a03a_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":467,"completion_tokens":68,"total_tokens":890,"prompt_tokens_details":{"text_tokens":467,"audio_tokens":0,"image_tokens":0,"cached_tokens":384},"completion_tokens_details":{"reasoning_tokens":355,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 203.408167ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1219 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_05556589","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_76879675","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_05556589","role":"tool"},{"content":"6","tool_call_id":"call_76879675","role":"tool"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" tools"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" returned"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" add"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"5"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" multiply"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"6"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" sum"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" of"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"2"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"3"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"5"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" \n"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" product"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" of"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"2"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"3"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"6"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"1602fc07-4086-4626-2c01-25aa8840e456_us-east-1","object":"chat.completion.chunk","created":1758793485,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":904,"completion_tokens":25,"total_tokens":1000,"prompt_tokens_details":{"text_tokens":904,"audio_tokens":0,"image_tokens":0,"cached_tokens":832},"completion_tokens_details":{"reasoning_tokens":71,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 159.934167ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_zai-glm-4.5.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_zai-glm-4.5.yaml deleted file mode 100644 index e545422476e9a2f22dab44a9b0b92098493adcbc..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_zai-glm-4.5.yaml +++ /dev/null @@ -1,411 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 849 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" numbers"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" functions"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" instructed"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Let"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" call"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" functions"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameters"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"="}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" b"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"="}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'ll"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" add"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" multiply"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" numbers"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"2"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"3"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":".\n"}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"tool_calls":[{"id":"call_45efa0f70be44aecae811210","index":0,"type":"function","function":{"name":"add","arguments":"{\"a\": 2, \"b\": 3}"}}]}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"tool_calls":[{"id":"call_be460d113b7f48bea4bd9987","index":1,"type":"function","function":{"name":"multiply","arguments":"{\"a\": 2, \"b\": 3}"}}]}}]} - - data: {"id":"20250925181930e0f0a20614da4518","created":1758795570,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":282,"completion_tokens":106,"total_tokens":388,"prompt_tokens_details":{"cached_tokens":43}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream;charset=UTF-8 - status: 200 OK - code: 200 - duration: 708.749792ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1349 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_45efa0f70be44aecae811210","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_be460d113b7f48bea4bd9987","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_45efa0f70be44aecae811210","role":"tool"},{"content":"6","tool_call_id":"call_be460d113b7f48bea4bd9987","role":"tool"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asked"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" numbers"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" used"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" functions"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" instructed"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" results"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" are"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Addition"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" +"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ="}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"5"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Multip"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"lication"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ×"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ="}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"6"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"I"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" present"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" results"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" clearly"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"The"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" results"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" of adding"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" multiplying"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"2"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"3"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" are"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":":\n\n"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"-"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" **"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"Add"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"ition"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"**:"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"2"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" +"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"3"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ="}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"5"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"-"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" **"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"Multip"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"lication"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"**:"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"2"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ×"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"3"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ="}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"6"}}]} - - data: {"id":"20250925181932d762b041ff234e63","created":1758795573,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":356,"completion_tokens":111,"total_tokens":467,"prompt_tokens_details":{"cached_tokens":43}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream;charset=UTF-8 - status: 200 OK - code: 200 - duration: 713.661542ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-4-fast.yaml deleted file mode 100644 index 4ed4294eeb47fbc122da597936c98e5d43149f4a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-4-fast.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 816 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"d9e91bd2-4650-d2ae-9ed4-f8ce4e8e4bb5_us-east-1","object":"chat.completion","created":1758793105,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"","tool_calls":[{"id":"call_79868194","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"type":"function"},{"id":"call_88305153","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":398,"completion_tokens":68,"total_tokens":580,"prompt_tokens_details":{"text_tokens":398,"audio_tokens":0,"image_tokens":0,"cached_tokens":265},"completion_tokens_details":{"reasoning_tokens":114,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.998903458s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1177 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_79868194","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_88305153","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_79868194","role":"tool"},{"content":"6","tool_call_id":"call_88305153","role":"tool"}],"model":"grok-4-fast","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"cc81f7c3-8755-dd67-3633-f849bbeb4bd1_us-east-1","object":"chat.completion","created":1758793106,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"2 + 3 = 5 \n2 × 3 = 6","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":594,"completion_tokens":15,"total_tokens":642,"prompt_tokens_details":{"text_tokens":594,"audio_tokens":0,"image_tokens":0,"cached_tokens":546},"completion_tokens_details":{"reasoning_tokens":33,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.126301667s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-code-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-code-fast.yaml deleted file mode 100644 index ff3e2c32e8c3271fa84421f6df0e9d9402667f5f..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-code-fast.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 821 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"9c5edadc-7283-5dbd-250b-ca48e6e2ea36_us-east-1","object":"chat.completion","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"","tool_calls":[{"id":"call_67302382","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"type":"function"},{"id":"call_36599379","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":471,"completion_tokens":68,"total_tokens":806,"prompt_tokens_details":{"text_tokens":471,"audio_tokens":0,"image_tokens":0,"cached_tokens":320},"completion_tokens_details":{"reasoning_tokens":267,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.582086542s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1182 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_67302382","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_36599379","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_67302382","role":"tool"},{"content":"6","tool_call_id":"call_36599379","role":"tool"}],"model":"grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"7e16b7a7-aeff-82cf-f640-7cf632632f18_us-east-1","object":"chat.completion","created":1758793481,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"The sum of 2 and 3 is 5. \nThe product of 2 and 3 is 6.","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":820,"completion_tokens":25,"total_tokens":897,"prompt_tokens_details":{"text_tokens":820,"audio_tokens":0,"image_tokens":0,"cached_tokens":768},"completion_tokens_details":{"reasoning_tokens":52,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.023886708s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_zai-glm-4.5.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_zai-glm-4.5.yaml deleted file mode 100644 index 07ce25a832446ec78c2e2f1965d5476b6695bb51..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_zai-glm-4.5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 812 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"choices":[{"finish_reason":"tool_calls","index":0,"message":{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","reasoning_content":"The user wants me to add and multiply the numbers 2 and 3. I need to use both the add and multiply functions with these two numbers.\n\nFor addition: add(2, 3)\nFor multiplication: multiply(2, 3)\n\nI''ll call both functions as requested.","role":"assistant","tool_calls":[{"function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"id":"call_-8307196618162840255","index":0,"type":"function"},{"function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"id":"call_-8307196618162840254","index":1,"type":"function"}]}}],"created":1758795567,"id":"2025092518192459228fd8ef9141ad","model":"glm-4.5","request_id":"2025092518192459228fd8ef9141ad","usage":{"completion_tokens":120,"prompt_tokens":286,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":406}}' - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 2.931834166s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1296 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_-8307196618162840255","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_-8307196618162840254","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_-8307196618162840255","role":"tool"},{"content":"6","tool_call_id":"call_-8307196618162840254","role":"tool"}],"model":"glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"\n\nThe results of adding and multiplying 2 and 3 are:\n\n- Addition: 2 + 3 = 5\n- Multiplication: 2 × 3 = 6","reasoning_content":"The user asked me to add and multiply the numbers 2 and 3. I used both the add and multiply functions as required. The results are:\n- Addition: 2 + 3 = 5\n- Multiplication: 2 × 3 = 6\n\nI should present both results clearly to the user.","role":"assistant"}}],"created":1758795569,"id":"20250925181927e1d3b40f253144a8","model":"glm-4.5","request_id":"20250925181927e1d3b40f253144a8","usage":{"completion_tokens":108,"prompt_tokens":360,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":468}}' - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 2.793087166s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/simple_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_groq-kimi-k2.yaml deleted file mode 100644 index e08d1d671d0e0dce174bbb5b9158ec3c1f6e8546..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/simple_groq-kimi-k2.yaml +++ /dev/null @@ -1,34 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 182 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - {"id":"chatcmpl-08dbeb6b-b518-4bbe-b185-4d6b9a1c7ffa","object":"chat.completion","created":1758793280,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"Olá!"},"logprobs":null,"finish_reason":"stop"}],"usage":{"queue_time":0.035287276,"prompt_tokens":20,"prompt_time":0.010301852,"completion_tokens":4,"completion_time":0.008982164,"total_tokens":24,"total_time":0.019284016},"usage_breakdown":null,"system_fingerprint":"fp_6e6ff3688b","x_groq":{"id":"req_01k603zbbsf8dtv2wzf257m4rk"},"service_tier":"on_demand"} - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 168.458167ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_groq-kimi-k2.yaml deleted file mode 100644 index 4ab1b4e494649324f82443c33afb9f99b5a2871c..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_groq-kimi-k2.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 236 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-2248ca44-9f78-497c-8610-e131b33a4928","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k603zbfcf8dsp979qsgatzpy"}} - - data: {"id":"chatcmpl-2248ca44-9f78-497c-8610-e131b33a4928","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"Oi"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-2248ca44-9f78-497c-8610-e131b33a4928","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-2248ca44-9f78-497c-8610-e131b33a4928","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"x_groq":{"id":"req_01k603zbfcf8dsp979qsgatzpy","usage":{"queue_time":0.035401907,"prompt_tokens":20,"prompt_time":0.012006122,"completion_tokens":3,"completion_time":0.006949089,"total_tokens":23,"total_time":0.018955211}},"usage":{"queue_time":0.035401907,"prompt_tokens":20,"prompt_time":0.012006122,"completion_tokens":3,"completion_time":0.006949089,"total_tokens":23,"total_time":0.018955211}} - - data: {"id":"chatcmpl-2248ca44-9f78-497c-8610-e131b33a4928","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[],"usage":{"queue_time":0.035401907,"prompt_tokens":20,"prompt_time":0.012006122,"completion_tokens":3,"completion_time":0.006949089,"total_tokens":23,"total_time":0.018955211},"service_tier":"on_demand"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 94.900458ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_xai-grok-4-fast.yaml deleted file mode 100644 index f30d8a5a36eb19a5f7869e5739846f2092f6ee9d..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_xai-grok-4-fast.yaml +++ /dev/null @@ -1,286 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 215 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793098,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"Olá"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"!"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"08a7ab8d-1c30-7028-c192-58d8f3e823fe_us-east-1","object":"chat.completion.chunk","created":1758793099,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":126,"completion_tokens":2,"total_tokens":250,"prompt_tokens_details":{"text_tokens":126,"audio_tokens":0,"image_tokens":0,"cached_tokens":125},"completion_tokens_details":{"reasoning_tokens":122,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 399.297167ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_xai-grok-code-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_xai-grok-code-fast.yaml deleted file mode 100644 index 3ee5f63b07029729e04aac1444b7c5a2b61bf34b..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_xai-grok-code-fast.yaml +++ /dev/null @@ -1,352 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 220 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793469,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"First","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" said"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"Say"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" hi"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Portuguese"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" This"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" simple"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" request"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" It's"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" not"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" closed"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"-ended"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" math"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" or"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" science"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" so"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" make"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" it"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" maximally"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" informative"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" structured"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" if"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" needed"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" but"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" it's"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" straightforward"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793470,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\n\n## Interpreting User Request\n- The user asked for a greeting in Portuguese, a straightforward and simple request."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"Olá"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"!"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" ("}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"That's"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" \""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"hi"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"\""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" in"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" Portuguese"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" For"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" a"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" more"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" casual"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" version"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" you"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" can"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" say"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" \""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"Oi"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"!\")"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"3897e0f4-a13e-1004-01b3-8b4250cc0ec2_us-east-1","object":"chat.completion.chunk","created":1758793471,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":213,"completion_tokens":22,"total_tokens":370,"prompt_tokens_details":{"text_tokens":213,"audio_tokens":0,"image_tokens":0,"cached_tokens":192},"completion_tokens_details":{"reasoning_tokens":135,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 167.572375ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_zai-glm-4.5.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_zai-glm-4.5.yaml deleted file mode 100644 index 2a22398d2c6df0db8c0ab005af782be6d521c236..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_zai-glm-4.5.yaml +++ /dev/null @@ -1,182 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 211 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asking"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hi"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portuguese"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" In"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portuguese"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hi"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" or"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" typically"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" translated"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Ol"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"á"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"."}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" This"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" common"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" greeting"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portuguese"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-speaking"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" countries"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" like"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Brazil"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portugal"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Angola"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Moz"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ambique"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" other"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portuguese"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-speaking"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" nations"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"I"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'ll"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provide"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" translation"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"Hi","reasoning_content":""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning_content":""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Portuguese","reasoning_content":""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning_content":""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" \"","reasoning_content":""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"Ol","reasoning_content":""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"á","reasoning_content":""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\".","reasoning_content":""}}]} - - data: {"id":"20250925182035d8050547d23f4476","created":1758795635,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":18,"completion_tokens":75,"total_tokens":93,"prompt_tokens_details":{"cached_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream;charset=UTF-8 - status: 200 OK - code: 200 - duration: 2.011773917s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-4-fast.yaml deleted file mode 100644 index 8003d3a0458abf5c719090906c00c0bfaedcbc0b..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-4-fast.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 161 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"grok-4-fast","max_tokens":4000}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"5e7e5c90-3e99-3ad3-8549-a9acdb569004_us-east-1","object":"chat.completion","created":1758793096,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"Olá! (That''s \"hi\" in Portuguese.)","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":126,"completion_tokens":10,"total_tokens":229,"prompt_tokens_details":{"text_tokens":126,"audio_tokens":0,"image_tokens":0,"cached_tokens":113},"completion_tokens_details":{"reasoning_tokens":93,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.149857833s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-code-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-code-fast.yaml deleted file mode 100644 index 8f109143ca368f1419736e549c17d1f998bdd074..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-code-fast.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 166 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"6286bb02-bc67-ff39-20c6-396fa4a9fef7_us-east-1","object":"chat.completion","created":1758793467,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"Oi! (That''s \"hi\" in Portuguese.)","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":213,"completion_tokens":10,"total_tokens":437,"prompt_tokens_details":{"text_tokens":213,"audio_tokens":0,"image_tokens":0,"cached_tokens":192},"completion_tokens_details":{"reasoning_tokens":214,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.405096292s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/simple_zai-glm-4.5.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_zai-glm-4.5.yaml deleted file mode 100644 index 7fae50f5c7beeb0f3bff5ce830dedbf4b0b02070..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/simple_zai-glm-4.5.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 157 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"glm-4.5","max_tokens":4000}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"Olá!","reasoning_content":"The user is asking me to say \"hi\" in Portuguese. In Portuguese, \"hi\" or \"hello\" is typically translated as \"Olá\". I should provide this translation directly.","role":"assistant"}}],"created":1758795552,"id":"20250925181910fe768933728f46c6","model":"glm-4.5","request_id":"20250925181910fe768933728f46c6","usage":{"completion_tokens":43,"prompt_tokens":18,"prompt_tokens_details":{"cached_tokens":0},"total_tokens":61}}' - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 2.617081542s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/thinking-streaming-xai-grok-3-mini.yaml b/providertests/testdata/TestOpenAICompatibleCommon/thinking-streaming-xai-grok-3-mini.yaml deleted file mode 100644 index f95aefc419545a1da1621c469b2fa1535c25f02d..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/thinking-streaming-xai-grok-3-mini.yaml +++ /dev/null @@ -1,1163 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 516 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"grok-3-mini","reasoning_effort":"high","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"First","role":"assistant"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" asking"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" have"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" available"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" called"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" that"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" get"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794842,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" description"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Get"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" The"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameters"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" require"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" string"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" described"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" as"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" city"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" has"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" provided"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" This"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" seems"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" specify"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" city"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" country"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" be"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" sufficient"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameter"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" The"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" might"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" expect"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" just"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" city"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" name"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" but"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clearly"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" indicates"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" city"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" so"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" infer"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" that"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" city"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" To"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" be"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" precise"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" use"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" as"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" but"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" including"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" country"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" might"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" be"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" helpful"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" if"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" handle"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" The"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameter"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" described"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" as"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" city"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" so"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I'll"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" use"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794843,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" or"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" perhaps"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" if"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it's"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" acceptable"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Since"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it's"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" string"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" pass"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" directly"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"All"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" required"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameters"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" are"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" provided"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" given"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" No"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" missing"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" or"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" unclear"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parts"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" if"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" advance"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user's"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" request"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Here"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" directly"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" addresses"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" query"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" format"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" use"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" <"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_call"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":">"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" tags"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" with"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" JSON"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" format"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" {\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"action"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_name"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"action"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_input"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" {\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"parameter"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"argument"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\"}"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"}\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"So"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" this"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" action"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" action"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_input"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" have"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" with"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" value"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Response"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" guidelines"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Keep"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794844,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clear"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" not"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" verbose"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" not"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" add"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" extra"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" text"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" unless"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" necessary"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Since"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I'm"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" calling"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" my"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" just"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" contain"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" within"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" tags"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"After"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" calling"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" multi"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"-turn"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" conversation"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" might"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" handle"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" but"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" now"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" this"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" first"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" step"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Decision"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Call"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" with"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Final"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"<"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_call"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":">{\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"action"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"action"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_input"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" {\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"location"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"}}\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" think"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" that's"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" No"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" additional"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" text"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794845,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_86388636","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"06b895b5-7f64-fda9-9a25-eae80c58a767_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[],"usage":{"prompt_tokens":288,"completion_tokens":27,"total_tokens":726,"prompt_tokens_details":{"text_tokens":288,"audio_tokens":0,"image_tokens":0,"cached_tokens":287},"completion_tokens_details":{"reasoning_tokens":411,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_a6fbae1a97"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 458.276541ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 736 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_86388636","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_86388636","role":"tool"}],"model":"grok-3-mini","reasoning_effort":"high","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" asked"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" about"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" called"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" with"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" correct"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameters"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" The"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" returned"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" C"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" assume"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" means"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" degrees"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Celsius"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" respond"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" with"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" this"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" My"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" be"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clear"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" not"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" verbose"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Since"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" has"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" been"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" made"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" have"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" result"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" now"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" provide"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" answer"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" directly"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794846,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" available"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" actions"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" only"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" include"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I've"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" already"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" used"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" No"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" further"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" calls"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" are"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" needed"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" as"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" request"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" fulfilled"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Final"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Inform"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" of"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" straightforward"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" way"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" currently"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":"°C"}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_a6fbae1a97"} - - data: {"id":"0f6cda06-71ff-e409-d9c4-b87c3f622342_us-east-1","object":"chat.completion.chunk","created":1758794847,"model":"grok-3-mini-high","choices":[],"usage":{"prompt_tokens":332,"completion_tokens":13,"total_tokens":465,"prompt_tokens_details":{"text_tokens":332,"audio_tokens":0,"image_tokens":0,"cached_tokens":311},"completion_tokens_details":{"reasoning_tokens":120,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_a6fbae1a97"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 162.68675ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/thinking-streaming-zai-glm-4.5.yaml b/providertests/testdata/TestOpenAICompatibleCommon/thinking-streaming-zai-glm-4.5.yaml deleted file mode 100644 index bda80461fb50a3d806668df50fe8a6d36fb36dd8..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/thinking-streaming-zai-glm-4.5.yaml +++ /dev/null @@ -1,341 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 512 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"glm-4.5","reasoning_effort":"high","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asking"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" have"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" access"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" can"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" get"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" information"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" requires"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"location"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" has"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specified"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Flo"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"rence"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" call"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'ll"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" check"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" weather"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" in"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":".\n"}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"tool_calls":[{"id":"call_db9178c4859a49d799521c00","index":0,"type":"function","function":{"name":"weather","arguments":"{\"location\": \"Florence, Italy\"}"}}]}}]} - - data: {"id":"202509251819450b8e121651934f8d","created":1758795585,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":179,"completion_tokens":94,"total_tokens":273,"prompt_tokens_details":{"cached_tokens":178}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream;charset=UTF-8 - status: 200 OK - code: 200 - duration: 662.9685ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 834 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"content":"\n\nI''ll check the weather in Florence, Italy for you.\n","tool_calls":[{"id":"call_db9178c4859a49d799521c00","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_db9178c4859a49d799521c00","role":"tool"}],"model":"glm-4.5","reasoning_effort":"high","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" returned"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"40"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" C"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" This"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" seems"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" be"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" temperature"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Celsius"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provide"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" information"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" clear"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" helpful"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" way"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"The"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" current"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" weather"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" in"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" is"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"40"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"°C"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ("}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"104"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"°F"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":")."}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" That"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'s"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" quite"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hot"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"!"}}]} - - data: {"id":"2025092518194842ff21ba0fb84843","created":1758795588,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":219,"completion_tokens":62,"total_tokens":281,"prompt_tokens_details":{"cached_tokens":43}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream;charset=UTF-8 - status: 200 OK - code: 200 - duration: 750.551041ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/thinking-xai-grok-3-mini.yaml b/providertests/testdata/TestOpenAICompatibleCommon/thinking-xai-grok-3-mini.yaml deleted file mode 100644 index 9413130ca3b7fbf6445d4c395722c5428f972a03..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/thinking-xai-grok-3-mini.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 462 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"grok-3-mini","reasoning_effort":"high","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"c252909e-30f3-f72d-b31e-96f598e4e7bc_us-east-1","object":"chat.completion","created":1758794759,"model":"grok-3-mini-high","choices":[{"index":0,"message":{"role":"assistant","content":"","reasoning_content":"First, the user is asking for the weather in Florence, Italy. I have an available function called \"weather\" that can get weather information for a location. The function requires a \"location\" parameter, which is described as \"the city\".\n\nThe user''s query specifies \"Florence, Italy\". This provides both the city name and the country, but the function parameter is just \"location\" described as \"the city\". I need to see if this is inferable.\n\nThe description says \"the city\", so I should probably use \"Florence\" as the location, since it''s the city name. Including the country might not be necessary, but it could help if there are multiple cities with the same name. However, the function parameter is defined as a string for the city, and it doesn''t specify handling country or other details. To keep it simple, I can use \"Florence\" as the location.\n\nThe required parameters are [\"location\"], and it''s provided. The location is \"Florence\", and since the user specified \"Italy\", it''s clear which Florence they mean. I don''t need to ask for clarification.\n\nThe instruction says: \"If the user''s query can be addressed using an available function, and all required parameters are provided or obviously inferable, trigger a function call.\" Here, the parameter is inferable as \"Florence\".\n\nI should call the function in the specified JSON format within tags.\n\nFunction call format: {\"action\": \"weather\", \"action_input\": {\"location\": \"Florence\"}}\n\nI need to decide if I should include \"Italy\" in the location. The parameter is described as \"the city\", so probably just \"Florence\" is sufficient. If the function needs more specificity, it might handle it, but based on the description, I''ll stick to what''s required.\n\nAfter calling the function, if this were a multi-turn conversation, I might need to handle the response, but the instruction is to call functions to advance the request. Since this is likely the first step, I''ll call the weather function.\n\nMy response should only contain the function call if I''m deciding to call it, or otherwise respond normally. In this case, I''m calling a function, so I should output only the tag with the JSON.\n\nThe instruction says: \"You are only permitted to use the tag in your response only if you have made the decision to call a function.\" And \"Keep your response to user clear; please do not make your response verbose!\"\n\nSo, I should not add any extra text; just the function call.\n\nFinal decision: Call the weather function with location as \"Florence\".","tool_calls":[{"id":"call_83674222","function":{"name":"weather","arguments":"{\"location\":\"Florence\"}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":288,"completion_tokens":25,"total_tokens":845,"prompt_tokens_details":{"text_tokens":288,"audio_tokens":0,"image_tokens":0,"cached_tokens":4},"completion_tokens_details":{"reasoning_tokens":532,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_a6fbae1a97"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 5.270359416s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 675 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_83674222","function":{"arguments":"{\"location\":\"Florence\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_83674222","role":"tool"}],"model":"grok-3-mini","reasoning_effort":"high","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"0e8b2650-9b58-7a68-0546-5d76ffade4c2_us-east-1","object":"chat.completion","created":1758794765,"model":"grok-3-mini-high","choices":[{"index":0,"message":{"role":"assistant","content":"The weather in Florence, Italy is 40°C.","reasoning_content":"First, the user asked: \"What''s the weather in Florence, Italy?\" I''ve already made a function call to the \"weather\" action with the location \"Florence\". The response from the function is \"40 C\", which I assume means 40 degrees Celsius.\n\nNow, in this multi-turn conversation, I need to continue based on the function''s response. The function call was successful, and I have the weather information. My role is to be a helpful assistant, so I should provide the information to the user in a clear and concise manner.\n\nThe available instructions say: \"Keep your response to user clear; please do not make your response verbose!\" So, I should be direct.\n\nAlso, the function call response is just \"40 C\", but the user specified \"Florence, Italy\". I should confirm or present this information properly, perhaps including the location for clarity.\n\nI don''t need to call another function unless more information is needed or the request isn''t fulfilled. Here, the request was for the weather in Florence, Italy, and I''ve got the data, so I can respond directly.\n\nMy response should not include any verbose text. Just provide the weather information.\n\nFinally, I should not use the tag unless I''m calling a function. In this case, I''m not calling any function; I''m responding with the result.\n\nSo, a clear response could be: \"The weather in Florence, Italy is 40°C.\"\n\nThe function response is \"40 C\", which might be shorthand for Celsius. I should use the standard symbol °C for clarity.\n\nEnsure the response is user-friendly.","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":330,"completion_tokens":11,"total_tokens":660,"prompt_tokens_details":{"text_tokens":330,"audio_tokens":0,"image_tokens":0,"cached_tokens":283},"completion_tokens_details":{"reasoning_tokens":319,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_a6fbae1a97"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.982462291s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/thinking-zai-glm-4.5.yaml b/providertests/testdata/TestOpenAICompatibleCommon/thinking-zai-glm-4.5.yaml deleted file mode 100644 index f0f97f9643a4199844e8022ce32a77990d22505a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/thinking-zai-glm-4.5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 458 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"glm-4.5","reasoning_effort":"high","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"choices":[{"finish_reason":"tool_calls","index":0,"message":{"content":"\n\nI''ll get the weather information for Florence, Italy for you.\n","reasoning_content":"The user is asking for the weather in Florence, Italy. I have access to a weather function that takes a location parameter. The user has specified \"Florence, Italy\" as the location, so I have all the required parameters to make the function call.","role":"assistant","tool_calls":[{"function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"id":"call_-8307179507012576275","index":0,"type":"function"}]}}],"created":1758795577,"id":"2025092518193524c7fcd1b80e4ad7","model":"glm-4.5","request_id":"2025092518193524c7fcd1b80e4ad7","usage":{"completion_tokens":85,"prompt_tokens":179,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":264}}' - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 2.374119083s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 783 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"content":"\n\nI''ll get the weather information for Florence, Italy for you.\n","tool_calls":[{"id":"call_-8307179507012576275","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_-8307179507012576275","role":"tool"}],"model":"glm-4.5","reasoning_effort":"high","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"\n\nThe current weather in Florence, Italy is 40°C (104°F). That''s quite hot!","reasoning_content":"The function returned \"40 C\" which is the weather information for Florence, Italy. This appears to be the temperature in Celsius. I should provide this information to the user in a clear and helpful way.","role":"assistant"}}],"created":1758795584,"id":"20250925181938b2376e3f7fd74cc4","model":"glm-4.5","request_id":"20250925181938b2376e3f7fd74cc4","usage":{"completion_tokens":66,"prompt_tokens":220,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":286}}' - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 6.861315834s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/tool_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_groq-kimi-k2.yaml deleted file mode 100644 index 7326d947d6aa8b7b0cc5acd771cbf47e429eb387..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/tool_groq-kimi-k2.yaml +++ /dev/null @@ -1,65 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 474 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - {"id":"chatcmpl-2dca82e1-667c-4a6e-b5e3-ee16622b7444","object":"chat.completion","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","tool_calls":[{"id":"functions.weather:0","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"}}]},"logprobs":null,"finish_reason":"tool_calls"}],"usage":{"queue_time":0.034584882,"prompt_tokens":99,"prompt_time":0.022345903,"completion_tokens":21,"completion_time":0.07096254,"total_tokens":120,"total_time":0.093308443},"usage_breakdown":null,"system_fingerprint":"fp_6e6ff3688b","x_groq":{"id":"req_01k603zbjqf8ebs348tacma5tx"},"service_tier":"on_demand"} - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 178.989ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 705 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"functions.weather:0","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"functions.weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: | - {"id":"chatcmpl-be439955-94cb-4d28-b6e5-ba1b119d7fb9","object":"chat.completion","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"It’s currently 40 °C in Florence, Italy—quite hot!"},"logprobs":null,"finish_reason":"stop"}],"usage":{"queue_time":0.034793088,"prompt_tokens":139,"prompt_time":0.016970766,"completion_tokens":16,"completion_time":0.055515617,"total_tokens":155,"total_time":0.072486383},"usage_breakdown":null,"system_fingerprint":"fp_6e6ff3688b","x_groq":{"id":"req_01k603zbrdf6p8p1c7pgshdms7"},"service_tier":"on_demand"} - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 170.564833ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_groq-kimi-k2.yaml deleted file mode 100644 index ebfb41b058622c7dfb9d29d5657bc9b5edf7fe1b..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_groq-kimi-k2.yaml +++ /dev/null @@ -1,145 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 528 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k603zbxyf6p8g3mykyjr8ayv"}} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"I'll"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" check"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" weather"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" Florence"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" Italy"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" you"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"tool_calls":[{"id":"functions.weather:0","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"},"index":0}]},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"x_groq":{"id":"req_01k603zbxyf6p8g3mykyjr8ayv","usage":{"queue_time":0.034909907,"prompt_tokens":99,"prompt_time":0.078721835,"completion_tokens":32,"completion_time":0.194281672,"total_tokens":131,"total_time":0.273003507}},"usage":{"queue_time":0.034909907,"prompt_tokens":99,"prompt_time":0.078721835,"completion_tokens":32,"completion_time":0.194281672,"total_tokens":131,"total_time":0.273003507}} - - data: {"id":"chatcmpl-d7743865-12eb-48be-abbe-c5cb8f2aad3c","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[],"usage":{"queue_time":0.034909907,"prompt_tokens":99,"prompt_time":0.078721835,"completion_tokens":32,"completion_time":0.194281672,"total_tokens":131,"total_time":0.273003507},"service_tier":"on_demand"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 172.074667ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 822 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"functions.weather:0","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"functions.weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.groq.com/openai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01k603zc98f8eva6yv3pz1xj24"}} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" current"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" weather"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" in"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" Florence"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" Italy"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"40"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"°C"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" ("},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"104"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"°F"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":")."},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" It's"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" quite"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" hot"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" there"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" right"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":" now"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}]} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"x_groq":{"id":"req_01k603zc98f8eva6yv3pz1xj24","usage":{"queue_time":0.034547866,"prompt_tokens":150,"prompt_time":0.024323209,"completion_tokens":23,"completion_time":0.077130323,"total_tokens":173,"total_time":0.101453532}},"usage":{"queue_time":0.034547866,"prompt_tokens":150,"prompt_time":0.024323209,"completion_tokens":23,"completion_time":0.077130323,"total_tokens":173,"total_time":0.101453532}} - - data: {"id":"chatcmpl-a82224ce-3076-4a95-9519-dcf8592339d3","object":"chat.completion.chunk","created":1758793281,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_6e6ff3688b","choices":[],"usage":{"queue_time":0.034547866,"prompt_tokens":150,"prompt_time":0.024323209,"completion_tokens":23,"completion_time":0.077130323,"total_tokens":173,"total_time":0.101453532},"service_tier":"on_demand"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 111.292708ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_xai-grok-4-fast.yaml deleted file mode 100644 index 235560f9d8d716d6a3754a56944a0dc82a5e67fa..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_xai-grok-4-fast.yaml +++ /dev/null @@ -1,661 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 507 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793102,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_14557469","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"8e5ea313-b8c3-00c7-8a54-db3b1453b599_us-east-1","object":"chat.completion.chunk","created":1758793103,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":322,"completion_tokens":26,"total_tokens":562,"prompt_tokens_details":{"text_tokens":322,"audio_tokens":0,"image_tokens":0,"cached_tokens":321},"completion_tokens_details":{"reasoning_tokens":214,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 215.452709ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 727 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_14557469","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_14557469","role":"tool"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" current"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" weather"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" in"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" Florence"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" Italy"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"40"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"°C"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" ("}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"104"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"°F"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":")."}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" It"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" looks"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" quite"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" hot"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"—"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"stay"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" hydrated"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" if"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" you're"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" there"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"!"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" If"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" you"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" need"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" more"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" details"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" like"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" forecasts"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" or"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" humidity"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" let"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" me"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" know"}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"2f0b5336-7c38-e891-816c-b51eefdf5d1e_us-east-1","object":"chat.completion.chunk","created":1758793104,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":575,"completion_tokens":41,"total_tokens":654,"prompt_tokens_details":{"text_tokens":575,"audio_tokens":0,"image_tokens":0,"cached_tokens":563},"completion_tokens_details":{"reasoning_tokens":38,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 152.938291ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_xai-grok-code-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_xai-grok-code-fast.yaml deleted file mode 100644 index a09928b069f8b7d11bc53400bc7b19cbe11d636c..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_xai-grok-code-fast.yaml +++ /dev/null @@ -1,727 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 512 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" asked"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" about"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Florence"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" have"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" tool"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" called"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"weather"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" that"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" get"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793475,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_45584603","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"434ad0da-2bed-d09d-86ba-66cb0ce5e1c4_us-east-1","object":"chat.completion.chunk","created":1758793476,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":390,"completion_tokens":26,"total_tokens":538,"prompt_tokens_details":{"text_tokens":390,"audio_tokens":0,"image_tokens":0,"cached_tokens":384},"completion_tokens_details":{"reasoning_tokens":122,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 159.462041ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 731 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_45584603","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_45584603","role":"tool"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" tool"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" returned"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" C"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Florence"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" That's"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" probably"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" temperature"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793477,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" current"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" temperature"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" in"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" Florence"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" Italy"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"40"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"°C"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" For"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" more"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" detailed"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" weather"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" information"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" you"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" might"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" want"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" to"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" check"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" a"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" full"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" forecast"}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"fd7a1f33-b5c0-6837-1a74-bf2bea6edbc3_us-east-1","object":"chat.completion.chunk","created":1758793478,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":551,"completion_tokens":27,"total_tokens":755,"prompt_tokens_details":{"text_tokens":551,"audio_tokens":0,"image_tokens":0,"cached_tokens":512},"completion_tokens_details":{"reasoning_tokens":177,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 461.783834ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_zai-glm-4.5.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_zai-glm-4.5.yaml deleted file mode 100644 index bb2ddb4664556f3e20c0c1366dc8c04e10303757..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_zai-glm-4.5.yaml +++ /dev/null @@ -1,405 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 503 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asking"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" have"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" access"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" requires"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"location"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" has"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specified"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Flo"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"rence"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Italy"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" exact"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" value"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" when"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" calling"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'ll"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" get"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" weather"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" information"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":".\n"}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"tool_calls":[{"id":"call_03cb5929634948f0b7806908","index":0,"type":"function","function":{"name":"weather","arguments":"{\"location\": \"Florence,Italy\"}"}}]}}]} - - data: {"id":"20250925181919f331f993c2f6477e","created":1758795559,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":179,"completion_tokens":90,"total_tokens":269,"prompt_tokens_details":{"cached_tokens":43}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream;charset=UTF-8 - status: 200 OK - code: 200 - duration: 709.364958ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 835 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\n\nI''ll get the weather information for Florence, Italy for you.\n","tool_calls":[{"id":"call_03cb5929634948f0b7806908","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_03cb5929634948f0b7806908","role":"tool"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" returned"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"40"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" C"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" This"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" indicates"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" current"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" temperature"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"40"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" degrees"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Celsius"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" which"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" quite"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" hot"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provide"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" information"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" clear"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and helpful"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" way"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"The"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" current"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" weather"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" in"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" is"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"40"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"°C"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ("}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"104"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"°F"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":")."}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" That"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'s"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" quite"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hot"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"!"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" It"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'s"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" a"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" very"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" warm"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" day"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" there"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" so"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" if"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'re"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" planning"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" visit"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" make"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" sure"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" stay"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" seek"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" shade"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" when"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" possible"}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"."}}]} - - data: {"id":"202509251819216f2b9b3029444d43","created":1758795561,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":220,"completion_tokens":99,"total_tokens":319,"prompt_tokens_details":{"cached_tokens":43}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream;charset=UTF-8 - status: 200 OK - code: 200 - duration: 730.106166ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-4-fast.yaml deleted file mode 100644 index 76f22bb5791b757bfe9ddf7e40f00d858b1a52e8..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-4-fast.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 453 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"496056a7-a4ae-9822-ba8d-040c5f47895d_us-east-1","object":"chat.completion","created":1758793099,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"","tool_calls":[{"id":"call_80529518","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":322,"completion_tokens":26,"total_tokens":443,"prompt_tokens_details":{"text_tokens":322,"audio_tokens":0,"image_tokens":0,"cached_tokens":265},"completion_tokens_details":{"reasoning_tokens":95,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.648596416s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 673 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_80529518","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_80529518","role":"tool"}],"model":"grok-4-fast","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"6044e1a6-8cea-fc8e-2a59-8fbae0e71e3e_us-east-1","object":"chat.completion","created":1758793101,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"The current weather in Florence, Italy is 40°C.","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":456,"completion_tokens":12,"total_tokens":515,"prompt_tokens_details":{"text_tokens":456,"audio_tokens":0,"image_tokens":0,"cached_tokens":444},"completion_tokens_details":{"reasoning_tokens":47,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.221319792s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-code-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-code-fast.yaml deleted file mode 100644 index abe72436d549c16c46eac5a4419efaecc332aa83..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-code-fast.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 458 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"e14207d1-d4af-eec2-4f0d-131decfced9e_us-east-1","object":"chat.completion","created":1758793471,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"","tool_calls":[{"id":"call_92304052","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":390,"completion_tokens":26,"total_tokens":649,"prompt_tokens_details":{"text_tokens":390,"audio_tokens":0,"image_tokens":0,"cached_tokens":320},"completion_tokens_details":{"reasoning_tokens":233,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.302712708s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 678 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_92304052","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_92304052","role":"tool"}],"model":"grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.x.ai/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"f78666be-8ce6-6e50-fa3a-e431c3bf0a94_us-east-1","object":"chat.completion","created":1758793473,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"The current temperature in Florence, Italy is 40°C. If you need more details like humidity or forecast, let me know!","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":662,"completion_tokens":26,"total_tokens":837,"prompt_tokens_details":{"text_tokens":662,"audio_tokens":0,"image_tokens":0,"cached_tokens":640},"completion_tokens_details":{"reasoning_tokens":149,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.55296425s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/tool_zai-glm-4.5.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_zai-glm-4.5.yaml deleted file mode 100644 index 42736fc38cefe34c7bad3dd4496801709754b32a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenAICompatibleCommon/tool_zai-glm-4.5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 449 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"choices":[{"finish_reason":"tool_calls","index":0,"message":{"content":"\n\nI''ll check the weather in Florence, Italy for you.\n","reasoning_content":"The user is asking for weather information for Florence, Italy. I have access to a weather function that requires a \"location\" parameter. The user has provided \"Florence,Italy\" as the location. I should use this exact value as provided by the user for the location parameter.","role":"assistant","tool_calls":[{"function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"id":"call_-8307219707908354744","index":0,"type":"function"}]}}],"created":1758795556,"id":"20250925181915c06ae89914d14803","model":"glm-4.5","request_id":"20250925181915c06ae89914d14803","usage":{"completion_tokens":89,"prompt_tokens":179,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":268}}' - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 2.310922292s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 762 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\n\nI''ll check the weather in Florence, Italy for you.\n","tool_calls":[{"id":"call_-8307219707908354744","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_-8307219707908354744","role":"tool"}],"model":"glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://api.z.ai/api/coding/paas/v4/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"\n\nThe weather in Florence, Italy is currently 40°C. That''s quite hot!","reasoning_content":"The weather function returned a result showing 40 C for Florence, Italy. This seems like a very high temperature, but I should report the result as provided by the function.","role":"assistant"}}],"created":1758795558,"id":"20250925181917fb13220f9015421a","model":"glm-4.5","request_id":"20250925181917fb13220f9015421a","usage":{"completion_tokens":57,"prompt_tokens":219,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":276}}' - headers: - Content-Type: - - application/json; charset=UTF-8 - status: 200 OK - code: 200 - duration: 1.946890958s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/multi_tool.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5026f96ecf5194c825cca24229b679b5231ca378 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 816 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"9501c7bc-e5d7-2526-dcb6-1654ab39e68f_us-east-1","object":"chat.completion","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"","tool_calls":[{"id":"call_48863314","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"type":"function"},{"id":"call_85429265","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":398,"completion_tokens":68,"total_tokens":598,"prompt_tokens_details":{"text_tokens":398,"audio_tokens":0,"image_tokens":0,"cached_tokens":266},"completion_tokens_details":{"reasoning_tokens":132,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.143328667s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1177 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_48863314","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_85429265","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_48863314","role":"tool"},{"content":"6","tool_call_id":"call_85429265","role":"tool"}],"model":"grok-4-fast","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"ae7703f0-cb17-178c-9842-10627ad2626d_us-east-1","object":"chat.completion","created":1758884712,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"The sum of 2 and 3 is 5. \nThe product of 2 and 3 is 6.","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":612,"completion_tokens":25,"total_tokens":673,"prompt_tokens_details":{"text_tokens":612,"audio_tokens":0,"image_tokens":0,"cached_tokens":564},"completion_tokens_details":{"reasoning_tokens":36,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 746.407125ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/multi_tool_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5f623df79d4e8b6cc26200679c016e4dbb5504d0 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/multi_tool_streaming.yaml @@ -0,0 +1,509 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 853 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884714,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_76764010","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_04649721","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1,"type":"function"}]}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"5ba2d198-f61b-646d-9aad-0ed46b167b7a_us-east-1","object":"chat.completion.chunk","created":1758884715,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":394,"completion_tokens":68,"total_tokens":594,"prompt_tokens_details":{"text_tokens":394,"audio_tokens":0,"image_tokens":0,"cached_tokens":364},"completion_tokens_details":{"reasoning_tokens":132,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 443.52575ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1214 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_76764010","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_04649721","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_76764010","role":"tool"},{"content":"6","tool_call_id":"call_04649721","role":"tool"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" sum"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" of"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"2"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"3"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"5"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" \n"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" product"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" of"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"2"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"3"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"6"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"0cc675f4-c4c5-ce1a-e5e8-bb2c4635976f_us-east-1","object":"chat.completion.chunk","created":1758884716,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":608,"completion_tokens":25,"total_tokens":692,"prompt_tokens_details":{"text_tokens":608,"audio_tokens":0,"image_tokens":0,"cached_tokens":560},"completion_tokens_details":{"reasoning_tokens":59,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 430.720083ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/simple.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..edebffa212a2cface7b206af4b93f32c4f17bfa9 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 161 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"grok-4-fast","max_tokens":4000}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"b579848f-4236-577c-5f9c-c35402b4f2aa_us-east-1","object":"chat.completion","created":1758884699,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"Olá!","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":126,"completion_tokens":2,"total_tokens":229,"prompt_tokens_details":{"text_tokens":126,"audio_tokens":0,"image_tokens":0,"cached_tokens":117},"completion_tokens_details":{"reasoning_tokens":101,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.421426625s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/simple_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fde74221bd0f60fc3d5c3e0f015a941d03660b6f --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/simple_streaming.yaml @@ -0,0 +1,288 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 215 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884701,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"Olá"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"!"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"d902f9b5-9a22-96b1-4b9c-97175fa193ee_us-east-1","object":"chat.completion.chunk","created":1758884702,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":126,"completion_tokens":2,"total_tokens":251,"prompt_tokens_details":{"text_tokens":126,"audio_tokens":0,"image_tokens":0,"cached_tokens":125},"completion_tokens_details":{"reasoning_tokens":123,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 189.396459ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/tool.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b69e41ae00ad25175874558aeedd97bb3075859f --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 453 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"d1e1c64c-3c5a-a479-6336-b6caee908ccc_us-east-1","object":"chat.completion","created":1758884702,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"","tool_calls":[{"id":"call_38180916","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":322,"completion_tokens":26,"total_tokens":560,"prompt_tokens_details":{"text_tokens":322,"audio_tokens":0,"image_tokens":0,"cached_tokens":266},"completion_tokens_details":{"reasoning_tokens":212,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 3.417448417s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 673 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_38180916","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_38180916","role":"tool"}],"model":"grok-4-fast","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"71fd2c5c-142f-a2bd-995f-f4c7329bf9f3_us-east-1","object":"chat.completion","created":1758884706,"model":"grok-4-fast-reasoning","choices":[{"index":0,"message":{"role":"assistant","content":"The current weather in Florence, Italy, is 40°C (104°F). It looks like a hot day—stay hydrated! If you need more details like forecast or humidity, let me know.","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":573,"completion_tokens":40,"total_tokens":657,"prompt_tokens_details":{"text_tokens":573,"audio_tokens":0,"image_tokens":0,"cached_tokens":561},"completion_tokens_details":{"reasoning_tokens":44,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.162276458s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/tool_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..98142525531f4c63e3c22773e1fb4d10eef6f267 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-4-fast/tool_streaming.yaml @@ -0,0 +1,583 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 507 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884707,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884708,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884709,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_25115338","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884709,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"9e3e23e4-4728-c6d6-2b5b-2ce716581ec5_us-east-1","object":"chat.completion.chunk","created":1758884709,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":322,"completion_tokens":26,"total_tokens":525,"prompt_tokens_details":{"text_tokens":322,"audio_tokens":0,"image_tokens":0,"cached_tokens":321},"completion_tokens_details":{"reasoning_tokens":177,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 267.996292ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 727 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_25115338","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_25115338","role":"tool"}],"model":"grok-4-fast","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"role":"assistant"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" current"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" weather"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" in"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" Florence"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" Italy"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"40"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"°C"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" ("}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"104"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"°F"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":")."}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" It"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" looks"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" like"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" a"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" very"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" hot"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" day"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"—"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"stay"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" hydrated"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"!"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" If"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" you"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" need"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" more"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" details"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" like"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" forecasts"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" or"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" humidity"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" let"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" me"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":" know"}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_9362061f30"} + + data: {"id":"46f59f6a-5f58-6c76-7d46-e80c3a577263_us-east-1","object":"chat.completion.chunk","created":1758884710,"model":"grok-4-fast-reasoning","choices":[],"usage":{"prompt_tokens":538,"completion_tokens":41,"total_tokens":615,"prompt_tokens_details":{"text_tokens":538,"audio_tokens":0,"image_tokens":0,"cached_tokens":265},"completion_tokens_details":{"reasoning_tokens":36,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_9362061f30"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 175.263833ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/multi_tool.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9ab826c33a924957233e4c9e34d74f43e3a549e9 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 821 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"04b263b6-d273-8420-bbd3-14872d8cc81f_us-east-1","object":"chat.completion","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"","tool_calls":[{"id":"call_23158856","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"type":"function"},{"id":"call_18184073","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":471,"completion_tokens":68,"total_tokens":764,"prompt_tokens_details":{"text_tokens":471,"audio_tokens":0,"image_tokens":0,"cached_tokens":320},"completion_tokens_details":{"reasoning_tokens":225,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.932519584s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1182 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_23158856","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_18184073","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_23158856","role":"tool"},{"content":"6","tool_call_id":"call_18184073","role":"tool"}],"model":"grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"949835d9-298d-1b2d-a369-8de2ab8f55f2_us-east-1","object":"chat.completion","created":1758884729,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"The sum of 2 and 3 is 5. \nThe product of 2 and 3 is 6.","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":778,"completion_tokens":25,"total_tokens":872,"prompt_tokens_details":{"text_tokens":778,"audio_tokens":0,"image_tokens":0,"cached_tokens":704},"completion_tokens_details":{"reasoning_tokens":69,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 851.910375ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/multi_tool_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d8df19531a15786c7c00510d571e9ebeedf89020 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/multi_tool_streaming.yaml @@ -0,0 +1,873 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 858 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" task"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" add"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" multiply"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" numbers"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"2"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"3"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" The"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" instructions"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" say"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" always"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" use"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" both"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" add"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" multiply"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" at"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" same"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" time"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884730,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\n\n## Understanding Task Requirements \n- The goal is to add and multiply the numbers 2 and 3 simultaneously, as instructed."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \n- Both addition and multiplication must be performed together in the process."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884731,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \n\n## Preparing for Calculation \n- Need to use function calls to execute the operations, following a specific format."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_50546188","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_32158093","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1,"type":"function"}]}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"06fd2962-c3a9-167d-1df3-6f50376068e4_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":467,"completion_tokens":68,"total_tokens":849,"prompt_tokens_details":{"text_tokens":467,"audio_tokens":0,"image_tokens":0,"cached_tokens":384},"completion_tokens_details":{"reasoning_tokens":314,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 158.118ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1219 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_50546188","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_32158093","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_50546188","role":"tool"},{"content":"6","tool_call_id":"call_32158093","role":"tool"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" tools"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" returned"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" add"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" gave"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"5"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" multiply"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" gave"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884732,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"6"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" sum"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" of"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"2"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"3"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"5"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" \n"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" product"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" of"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"2"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"3"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"6"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5817a3d7-0551-2836-1629-bbbd8e66475b_us-east-1","object":"chat.completion.chunk","created":1758884733,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":863,"completion_tokens":25,"total_tokens":947,"prompt_tokens_details":{"text_tokens":863,"audio_tokens":0,"image_tokens":0,"cached_tokens":768},"completion_tokens_details":{"reasoning_tokens":59,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 415.984042ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/simple.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6ea0a1424c056d4257b080ae67e519c47a51d45c --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 166 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"0407413d-194d-4ba1-8a87-d2f902eedffc_us-east-1","object":"chat.completion","created":1758884716,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"Oi! (That''s \"hi\" in Portuguese. In Brazil, it''s common, while in Portugal, \"Olá\" is more formal.)","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":213,"completion_tokens":27,"total_tokens":411,"prompt_tokens_details":{"text_tokens":213,"audio_tokens":0,"image_tokens":0,"cached_tokens":192},"completion_tokens_details":{"reasoning_tokens":171,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.174340667s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/simple_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..225bd5d5dff936b7b1607f7a7c3d5966e20a922c --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/simple_streaming.yaml @@ -0,0 +1,384 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 220 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"First","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" said"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"Say"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" hi"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Portuguese"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\"\n"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884719,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\n\n## Responding to the request \n- The user asked to say \"hi\" in Portuguese."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \n- \"Hi\" in Portuguese translates to \"Oi."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\" \n- The response should be simple and directly address the user's request."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"Olá"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"!"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" ("}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"That's"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" \""}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"hi"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"\""}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" in"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" Portuguese"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":".)"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"6ddfbb47-99c8-1430-d8bb-896bd9e00a4e_us-east-1","object":"chat.completion.chunk","created":1758884720,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":213,"completion_tokens":10,"total_tokens":386,"prompt_tokens_details":{"text_tokens":213,"audio_tokens":0,"image_tokens":0,"cached_tokens":192},"completion_tokens_details":{"reasoning_tokens":163,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 167.506084ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/tool.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..eaa8fa44367fc252b3baab8510dae805f9bd0595 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 458 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"49760c2f-8767-b64c-25bb-2b489b423c2c_us-east-1","object":"chat.completion","created":1758884720,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"","tool_calls":[{"id":"call_84841300","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":390,"completion_tokens":26,"total_tokens":499,"prompt_tokens_details":{"text_tokens":390,"audio_tokens":0,"image_tokens":0,"cached_tokens":320},"completion_tokens_details":{"reasoning_tokens":83,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.2000465s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 677 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_84841300","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_84841300","role":"tool"}],"model":"grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"29d0775d-98fa-5ad0-bf4b-41df1c3d6da0_us-east-1","object":"chat.completion","created":1758884721,"model":"grok-code-fast-1","choices":[{"index":0,"message":{"role":"assistant","content":"The current temperature in Florence, Italy is 40°C. (Note: This is a snapshot; for a full forecast, check a weather app or site.)","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":512,"completion_tokens":32,"total_tokens":664,"prompt_tokens_details":{"text_tokens":512,"audio_tokens":0,"image_tokens":0,"cached_tokens":448},"completion_tokens_details":{"reasoning_tokens":120,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.712903125s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/tool_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7dc7f59aed33243441e17c6a8216f42c4558d118 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/xai-grok-code-fast/tool_streaming.yaml @@ -0,0 +1,593 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 512 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" asked"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" about"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Florence"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" use"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" tool"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" this"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884724,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\n\n## Handling User Query \n- The user asked about the weather in Florence, Italy, prompting a search for current conditions."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_09365067","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"91729e21-f660-9e16-80cd-dba67fc3aa9d_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":390,"completion_tokens":26,"total_tokens":574,"prompt_tokens_details":{"text_tokens":390,"audio_tokens":0,"image_tokens":0,"cached_tokens":384},"completion_tokens_details":{"reasoning_tokens":158,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 449.278083ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 732 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_09365067","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_09365067","role":"tool"}],"model":"grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"The","role":"assistant"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" tool"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" returned"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" C"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" degrees"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":" Celsius"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"reasoning_content":".\n"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884725,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" current"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" temperature"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" in"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" Florence"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" Italy"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"40"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"°C"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" ("}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"104"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"°F"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":")."}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884726,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" Please"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" note"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" that"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" this"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" a"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" snapshot"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" and"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" weather"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" can"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" change"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"—"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"consider"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" checking"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" a"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" detailed"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" forecast"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" for"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" more"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":" information"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{"content":"!"}}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"5666ced6-a98f-32e7-3768-22e00c948f41_us-east-1","object":"chat.completion.chunk","created":1758884727,"model":"grok-code-fast-1","choices":[],"usage":{"prompt_tokens":587,"completion_tokens":37,"total_tokens":688,"prompt_tokens_details":{"text_tokens":587,"audio_tokens":0,"image_tokens":0,"cached_tokens":512},"completion_tokens_details":{"reasoning_tokens":64,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_10f00c862d"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 166.998833ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/multi_tool.yaml b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c538901ec65de7aa3278983a7f3beab3f194ab82 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 812 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"choices":[{"finish_reason":"tool_calls","index":0,"message":{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","reasoning_content":"The user is asking me to both add and multiply the numbers 2 and 3. I have two functions available: `add` and `multiply`. I need to use both functions as instructed.\n\nFor the add function:\n- a = 2\n- b = 3\n\nFor the multiply function:\n- a = 2 \n- b = 3\n\nI''ll call both functions with these parameters.","role":"assistant","tool_calls":[{"function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"id":"call_-8303647325903440624","index":0,"type":"function"},{"function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"id":"call_-8303647325903440623","index":1,"type":"function"}]}}],"created":1758884776,"id":"20250926190604cbc0f909a2b14d52","model":"glm-4.5","request_id":"20250926190604cbc0f909a2b14d52","usage":{"completion_tokens":144,"prompt_tokens":286,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":430}}' + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 12.807253291s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1296 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_-8303647325903440624","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_-8303647325903440623","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_-8303647325903440624","role":"tool"},{"content":"6","tool_call_id":"call_-8303647325903440623","role":"tool"}],"model":"glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"\n\nHere are the results for adding and multiplying 2 and 3:\n\n**Addition (2 + 3):** 5\n\n**Multiplication (2 × 3):** 6","reasoning_content":"The user asked me to add and multiply the numbers 2 and 3. I used both functions as requested:\n\n- Adding 2 + 3 = 5\n- Multiplying 2 × 3 = 6\n\nBoth operations were performed successfully and I should present the results clearly to the user.","role":"assistant"}}],"created":1758884780,"id":"20250926190616f3116c96578f4e4d","model":"glm-4.5","request_id":"20250926190616f3116c96578f4e4d","usage":{"completion_tokens":106,"prompt_tokens":360,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":466}}' + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 3.59240675s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/multi_tool_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..27a42b46e5e4c8356784b601d69bacaf7c499c42 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/multi_tool_streaming.yaml @@ -0,0 +1,549 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 849 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" wants"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" numbers"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" have"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" two"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" functions"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" available"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Both"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" require"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" two"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameters"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"a"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" b"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" which"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" are"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" integers"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" has"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provided"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" numbers"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":".\n\n"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"I"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" need"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" call"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" functions"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" with"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" same"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameters"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"(a"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"="}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" b"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"="}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"(a"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"="}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" b"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"="}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n\n"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specifically"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asked"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" functions"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" my"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" instructions"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" always"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" at"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" same"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" time"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" so"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" exactly"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" what"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" do"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'ll"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" add"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" multiply"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" numbers"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"2"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"3"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":".\n"}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"tool_calls":[{"id":"call_2dbb7568bf254f7cb91b4a09","index":0,"type":"function","function":{"name":"add","arguments":"{\"a\": 2, \"b\": 3}"}}]}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"tool_calls":[{"id":"call_88cb0be022f94339af640b13","index":1,"type":"function","function":{"name":"multiply","arguments":"{\"a\": 2, \"b\": 3}"}}]}}]} + + data: {"id":"20250926190620c633be90e4bb4b9f","created":1758884780,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":282,"completion_tokens":178,"total_tokens":460,"prompt_tokens_details":{"cached_tokens":43}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream;charset=UTF-8 + status: 200 OK + code: 200 + duration: 675.755916ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1349 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_2dbb7568bf254f7cb91b4a09","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_88cb0be022f94339af640b13","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_2dbb7568bf254f7cb91b4a09","role":"tool"},{"content":"6","tool_call_id":"call_88cb0be022f94339af640b13","role":"tool"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asked"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" multiply"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" numbers"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" used"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" functions"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" instructed"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" got"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" results"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Addition"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" +"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ="}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"5"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Multip"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"lication"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"2"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ×"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"3"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ="}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"6"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":"\n\n"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"I"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" present"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" both"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" results"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" clearly"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"I"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'ve"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" added"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" multiplied"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" numbers"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"2"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"3"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" for"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":":\n\n"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"**"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"Add"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"ition"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":":**"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"2"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" +"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"3"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ="}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"5"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"**"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"Multip"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"lication"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":":**"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"2"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ×"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"3"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ="}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"6"}}]} + + data: {"id":"202509261906290a295ca32ac54a0e","created":1758884789,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":356,"completion_tokens":107,"total_tokens":463,"prompt_tokens_details":{"cached_tokens":43}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream;charset=UTF-8 + status: 200 OK + code: 200 + duration: 655.051209ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/simple.yaml b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b52af4c45940e758a58dafba04d0a60fc2c1220b --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 157 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"glm-4.5","max_tokens":4000}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"Olá!","reasoning_content":"The person is asking me to say \"hi\" in Portuguese. In Portuguese, \"hi\" or \"hello\" is commonly translated as \"Olá\". I should provide this translation directly.\n\n\"Olá\" is the standard greeting in Portuguese, used in both formal and informal situations in Portugal and Brazil. There are other greetings like \"Oi\" which is more informal and common in Brazil, but \"Olá\" is the most universal translation of \"hi\" in Portuguese.","role":"assistant"}}],"created":1758884739,"id":"202509261905381f1d8b98070242a6","model":"glm-4.5","request_id":"202509261905381f1d8b98070242a6","usage":{"completion_tokens":100,"prompt_tokens":18,"prompt_tokens_details":{"cached_tokens":0},"total_tokens":118}}' + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 4.173540625s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/simple_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7edb12f17b3c3a72e51b73435523d20faa72791d --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/simple_streaming.yaml @@ -0,0 +1,436 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 211 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" person"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asking"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" me"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" say"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hi"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portuguese"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" In"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portuguese"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hi"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" or"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hello"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" typically"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" translated"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Ol"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"á"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"."}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" There"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" are"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" few"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" other"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" common"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" greetings"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portuguese"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" depending"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" on"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" context"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" form"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"ality"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":":\n\n"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Ol"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"á"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" -"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" A"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" standard"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" neutral"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" greeting"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"like"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hello"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\")\n"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Oi"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" -"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" A"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" more"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" informal"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" greeting"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"like"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Hi"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\")\n"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"B"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"om"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" dia"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" -"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Good"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" morning"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"used"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" until"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" about"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" noon"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Bo"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"a"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" tarde"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" -"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Good"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" afternoon"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"used"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" from"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" noon"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" until"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" evening"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"-"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Bo"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"a"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" noite"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" -"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Good"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" evening"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"/"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"night"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" ("}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"used"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" evening"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" at"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" night"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":")\n\n"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Since"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" they"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specifically"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asked"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"hi"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\","}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" which"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" casual"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'ll"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provide"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" most"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" common"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Portuguese"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" equivalent"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" which"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Oi"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\"."}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"'ll"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" also"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" include"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Ol"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"á"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" slightly"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" more"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" formal"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" alternative"}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"Ol","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"á","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" That","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'s","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" \"","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"hi","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\"","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Portuguese","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" You","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" can","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" also","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" use","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" \"","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"Oi","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\"","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" for","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" a","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" more","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" casual","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" greeting","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning_content":""}}]} + + data: {"id":"20250926190540c29952ed24ae4570","created":1758884740,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":18,"completion_tokens":202,"total_tokens":220,"prompt_tokens_details":{"cached_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream;charset=UTF-8 + status: 200 OK + code: 200 + duration: 653.648917ms diff --git a/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/tool.yaml b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ef1708bf5f57c660eb4fd73f9aafeb4121f91f33 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 449 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"choices":[{"finish_reason":"tool_calls","index":0,"message":{"content":"\n\n","reasoning_content":"The user is asking for the weather in Florence, Italy. I need to use the weather function to get this information. The function requires a \"location\" parameter, and the user has provided \"Florence,Italy\" as the location. I should use this exact value for the location parameter.","role":"assistant","tool_calls":[{"function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"id":"call_-8303649628005950554","index":0,"type":"function"}]}}],"created":1758884753,"id":"20250926190543de74b873b8e04ebc","model":"glm-4.5","request_id":"20250926190543de74b873b8e04ebc","usage":{"completion_tokens":79,"prompt_tokens":179,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":258}}' + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 11.165218167s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 710 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\n\n","tool_calls":[{"id":"call_-8303649628005950554","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_-8303649628005950554","role":"tool"}],"model":"glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"\n\nThe current weather in Florence, Italy is 40°C (104°F). That''s quite hot! It''s a very warm day there, so if you''re planning to visit, make sure to stay hydrated and seek shade or air conditioning when possible.","reasoning_content":"The weather function returned \"40 C\" for Florence, Italy. This indicates that the current temperature in Florence is 40 degrees Celsius, which is quite hot. I should provide this information to the user in a clear and helpful way.","role":"assistant"}}],"created":1758884757,"id":"2025092619055464ba39f15d9f4c36","model":"glm-4.5","request_id":"2025092619055464ba39f15d9f4c36","usage":{"completion_tokens":102,"prompt_tokens":207,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":309}}' + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 3.454754417s diff --git a/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/tool_streaming.yaml b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4f57a8922a882a2113f413cb126ebabbb305299f --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/zai-glm-4.5/tool_streaming.yaml @@ -0,0 +1,361 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 503 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asking"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" have"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" access"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" requires"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" has"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provided"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Flo"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"rence"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Italy"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" use"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" exact"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" value"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"tool_calls":[{"id":"call_51a97502d6444997b56fd204","index":0,"type":"function","function":{"name":"weather","arguments":"{\"location\": \"Florence,Italy\"}"}}]}}]} + + data: {"id":"202509261905574f05504f94b04bb2","created":1758884757,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":179,"completion_tokens":70,"total_tokens":249,"prompt_tokens_details":{"cached_tokens":43}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream;charset=UTF-8 + status: 200 OK + code: 200 + duration: 658.388083ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 772 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\n\n","tool_calls":[{"id":"call_51a97502d6444997b56fd204","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_51a97502d6444997b56fd204","role":"tool"}],"model":"glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" returned"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"40"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" C"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" This"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" quite"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" hot"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" -"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"40"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" degrees"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Celsius"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provide"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" information"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" clear"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" helpful"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" way"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"The"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" current"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" weather"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" in"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" is"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"40"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"°C"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ("}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"104"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"°F"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":")."}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" That"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'s"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" quite"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hot"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"!"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" can"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" get"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" very"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" warm"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" during"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" summer"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" months"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" so"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" if"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'re"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" planning"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" visit"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" make"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" sure"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" stay"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" seek"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" shade"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" during"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hottest"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" parts"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" of"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" day"}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"."}}]} + + data: {"id":"20250926190600dac6456f42ba4e48","created":1758884760,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":207,"completion_tokens":96,"total_tokens":303,"prompt_tokens_details":{"cached_tokens":43}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream;charset=UTF-8 + status: 200 OK + code: 200 + duration: 670.03125ms diff --git a/providertests/testdata/TestOpenAICompatibleThinking/xai-grok-3-mini/thinking-streaming.yaml b/providertests/testdata/TestOpenAICompatibleThinking/xai-grok-3-mini/thinking-streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9d95fe8bc3d7f7c0af495fda306ca9b568f59d1d --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleThinking/xai-grok-3-mini/thinking-streaming.yaml @@ -0,0 +1,1057 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 516 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"grok-3-mini","reasoning_effort":"high","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"First","role":"assistant"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" asking"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" have"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" available"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" called"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" that"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" get"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" description"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Get"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameters"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" require"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"location"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" string"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" described"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" as"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" city"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" provided"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" specifies"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" both"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884798,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" city"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" country"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" This"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" be"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" sufficient"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" as"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameter"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" use"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" as"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" argument"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" location"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"All"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" required"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameters"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" are"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" provided"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clear"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" No"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" ask"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clarification"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" specified"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" JSON"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" format"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" within"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" <"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":">"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" tags"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" format"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" <"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":">{\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"action"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"action"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"_input"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" {\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"location"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\":"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"}}\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"After"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" calling"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" might"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" handle"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" subsequent"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" turns"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" but"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" now"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" this"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" logical"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" next"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" step"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" advance"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user's"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884799,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" request"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"My"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" only"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" contain"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" since"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I'm"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" deciding"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" shouldn't"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" add"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" extra"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" text"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" unless"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" necessary"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" instructions"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" say"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" keep"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" responses"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clear"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" not"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" verbose"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"So"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I'll"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" output"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" just"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"tool_calls":[{"id":"call_64866740","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"index":0,"type":"function"}]}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"aec0b881-26b5-4e1f-a428-1f70a8e27816_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[],"usage":{"prompt_tokens":288,"completion_tokens":27,"total_tokens":557,"prompt_tokens_details":{"text_tokens":288,"audio_tokens":0,"image_tokens":0,"cached_tokens":287},"completion_tokens_details":{"reasoning_tokens":242,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_a6fbae1a97"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 166.84775ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 736 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_64866740","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_64866740","role":"tool"}],"model":"grok-3-mini","reasoning_effort":"high","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"First","role":"assistant"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884800,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" asked"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"What's"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"?\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" This"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" directly"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" matches"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" available"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" requires"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"location"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" parameter"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" already"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" called"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" my"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" previous"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" now"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I'm"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" receiving"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" from"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" C"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" This"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" likely"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" temperature"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Celsius"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"My"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" role"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" be"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" helpful"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" assistant"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" After"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" calling"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" provide"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" result"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" a"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clear"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" non"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"-"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"verbose"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" way"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" was"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" successful"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" have"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" result"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" don't"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" to"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884801,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" any"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" more"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" functions"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" unless"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" more"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" needed"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" isn't"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" case"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" here"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" respond"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" with"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" based"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" on"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"'s"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" output"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" output"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" C"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" which"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" assume"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" means"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" degrees"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Celsius"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" To"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" make"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" helpful"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" can"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" phrase"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" it"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clearly"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Keep"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" clear"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" and"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" not"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" verbose"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" as"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" per"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" the"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" instructions"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"Final"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" response"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" should"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" be"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" something"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" like"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":":"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" "}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" degrees"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" Celsius"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\"\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" output"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" just"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" \""}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" C"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"\","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" so"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" I'll"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" use"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" that"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" directly"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"I"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" shouldn't"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884802,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" add"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" extra"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" information"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" unless"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" necessary"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" user's"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" query"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" fully"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" addressed"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" with"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" this"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":".\n\n"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"No"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" need"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" for"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" another"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" function"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":" call"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"reasoning_content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":"The"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" weather"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" in"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" Florence"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":","}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" Italy"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" is"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":" "}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":"40"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":"°C"}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{"content":"."}}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"system_fingerprint":"fp_a6fbae1a97"} + + data: {"id":"b0c61a42-4193-9739-e9c7-3a198631fa7f_us-east-1","object":"chat.completion.chunk","created":1758884803,"model":"grok-3-mini-high","choices":[],"usage":{"prompt_tokens":332,"completion_tokens":11,"total_tokens":581,"prompt_tokens_details":{"text_tokens":332,"audio_tokens":0,"image_tokens":0,"cached_tokens":331},"completion_tokens_details":{"reasoning_tokens":238,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_a6fbae1a97"} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 172.517709ms diff --git a/providertests/testdata/TestOpenAICompatibleThinking/xai-grok-3-mini/thinking.yaml b/providertests/testdata/TestOpenAICompatibleThinking/xai-grok-3-mini/thinking.yaml new file mode 100644 index 0000000000000000000000000000000000000000..851562bddcad010943b984ac0776ba9f1828946f --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleThinking/xai-grok-3-mini/thinking.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 462 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"grok-3-mini","reasoning_effort":"high","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"f34c1057-adbf-c28f-afc3-aa8737faf493_us-east-1","object":"chat.completion","created":1758884792,"model":"grok-3-mini-high","choices":[{"index":0,"message":{"role":"assistant","content":"","reasoning_content":"First, the user is asking for the weather in Florence, Italy. I have an available function called \"weather\" that can get weather information for a location.\n\nThe function description is: \"Get weather information for a location\". The parameters require a \"location\" which is a string describing the city.\n\nIn this query, the user has provided \"Florence, Italy\", which clearly specifies the city and country. This should be sufficient as the location parameter.\n\nAll required parameters are provided: the location is \"Florence, Italy\". I don''t need to ask for clarification.\n\nI should call the function in the specified JSON format within tags.\n\nFunction call format: {\"action\": \"function_name\", \"action_input\": {\"parameter\": \"argument\"}}\n\nFor this, the action is \"weather\", and the action_input should have \"location\" with the value \"Florence, Italy\".\n\nSo, the function call should be: {\"action\": \"weather\", \"action_input\": {\"location\": \"Florence, Italy\"}}\n\nAfter calling the function, I might need to handle the response in subsequent turns, but for now, this is the logical next step to advance the user''s request.\n\nMy response should only contain the function call since I''m deciding to call a function. I shouldn''t add any extra text unless necessary, and the instructions say to keep responses clear and not verbose.\n\nFinally, confirm: Is there any reason not to call the function? No, it matches perfectly.","tool_calls":[{"id":"call_71093541","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"type":"function"}],"refusal":null},"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":288,"completion_tokens":27,"total_tokens":620,"prompt_tokens_details":{"text_tokens":288,"audio_tokens":0,"image_tokens":0,"cached_tokens":7},"completion_tokens_details":{"reasoning_tokens":305,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_a6fbae1a97"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 3.0643785s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 682 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_71093541","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_71093541","role":"tool"}],"model":"grok-3-mini","reasoning_effort":"high","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.x.ai/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"17c031cd-ed79-e606-6e09-2f426babeb54_us-east-1","object":"chat.completion","created":1758884795,"model":"grok-3-mini-high","choices":[{"index":0,"message":{"role":"assistant","content":"The current weather in Florence, Italy, is 40°C.","reasoning_content":"First, the user asked about the weather in Florence, Italy. I have a function available called \"weather\" that can get weather information for a location. The required parameter is \"location\", which is a string.\n\nIn my initial response, I already called the function with the location \"Florence, Italy\", as it was a direct match and all parameters were provided.\n\nNow, the function call has been executed, and the response is \"40 C\". This means the weather function returned that the temperature is 40 degrees Celsius. I need to respond to the user with this information in a helpful and clear way.\n\nMy role is to be a helpful assistant. I should present the information from the function call clearly. Since the function call was successful and provided the data, I don''t need to call any more functions unless there''s more to the user''s request.\n\nThe user''s query is fully addressed with this weather information. I should not add extra unnecessary information or verbosity, as per the instructions.\n\nFinally, I need to format my response properly. I''m not calling another function here, so I shouldn''t use the tags. Just a straightforward response.\n\nResponse structure:\n- Keep it clear and concise.\n- State the weather based on the function''s output.","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":332,"completion_tokens":13,"total_tokens":594,"prompt_tokens_details":{"text_tokens":332,"audio_tokens":0,"image_tokens":0,"cached_tokens":283},"completion_tokens_details":{"reasoning_tokens":249,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"num_sources_used":0},"system_fingerprint":"fp_a6fbae1a97"}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.515450375s diff --git a/providertests/testdata/TestOpenAICompatibleThinking/zai-glm-4.5/thinking-streaming.yaml b/providertests/testdata/TestOpenAICompatibleThinking/zai-glm-4.5/thinking-streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..435d6d0975c1e6d1b8ef54460b9982e91c91676f --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleThinking/zai-glm-4.5/thinking-streaming.yaml @@ -0,0 +1,389 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 512 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"glm-4.5","reasoning_effort":"high","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" asking"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" in"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" have"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" access"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" that"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" takes"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameter"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" The"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" has"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" specified"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Flo"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"rence"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" as"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" location"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" so"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" have"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" all"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" required"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" parameters"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" make"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" call"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"tool_calls":[{"id":"call_e6e3edb2371843ad9503e65b","index":0,"type":"function","function":{"name":"weather","arguments":"{\"location\": \"Florence, Italy\"}"}}]}}]} + + data: {"id":"2025092619065217d08d861c2248cd","created":1758884812,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"tool_calls","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":179,"completion_tokens":72,"total_tokens":251,"prompt_tokens_details":{"cached_tokens":43}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream;charset=UTF-8 + status: 200 OK + code: 200 + duration: 901.215542ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 782 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"content":"\n\n","tool_calls":[{"id":"call_e6e3edb2371843ad9503e65b","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_e6e3edb2371843ad9503e65b","role":"tool"}],"model":"glm-4.5","reasoning_effort":"high","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"The"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" weather"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" function"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" returned"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" \""}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"40"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" C"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"\""}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" for"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Florence"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":","}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Italy"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" This"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" a"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" very"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" high"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" temperature"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" -"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":" "}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"40"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" degrees"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" Celsius"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" is"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" quite"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" hot"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"!"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" I"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" should"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" provide"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" information"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" to"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" the"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" user"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" and"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" perhaps"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" add"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" some"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" context"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" about"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" what"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" this"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":" temperature means"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"."}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"\n"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"The"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" current"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" weather"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" in"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" is"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" "}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"40"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"°C"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" ("}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"104"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"°F"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":")."}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" That"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'s"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" quite"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hot"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"!"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" This"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" is"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" a"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" very"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" warm"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" temperature"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" so"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" if"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" you"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"'re"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" planning"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" be"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" outdoors"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" make"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" sure"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" to"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" stay"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" wear"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" light"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" clothing"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":","}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" and"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" seek"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" shade"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" during"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" hottest"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" parts"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" of"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" the"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":" day"}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"delta":{"role":"assistant","content":"."}}]} + + data: {"id":"20250926190654d7bdfa5ed14249d1","created":1758884815,"model":"glm-4.5","choices":[{"index":0,"finish_reason":"stop","delta":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":207,"completion_tokens":109,"total_tokens":316,"prompt_tokens_details":{"cached_tokens":43}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream;charset=UTF-8 + status: 200 OK + code: 200 + duration: 676.7695ms diff --git a/providertests/testdata/TestOpenAICompatibleThinking/zai-glm-4.5/thinking.yaml b/providertests/testdata/TestOpenAICompatibleThinking/zai-glm-4.5/thinking.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ea69f2bcf72edf5453983eaf0c3639bad12eeb97 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleThinking/zai-glm-4.5/thinking.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 458 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"glm-4.5","reasoning_effort":"high","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"choices":[{"finish_reason":"tool_calls","index":0,"message":{"content":"\n\nI''ll check the weather in Florence, Italy for you.\n","reasoning_content":"The user is asking for weather information for Florence, Italy. I have access to a weather function that requires a \"location\" parameter. The user has provided \"Florence, Italy\" as the location, so I have all the required information to make the function call.","role":"assistant","tool_calls":[{"function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"id":"call_-8303617501649735809","index":0,"type":"function"}]}}],"created":1758884808,"id":"20250926190643068def4b4247493f","model":"glm-4.5","request_id":"20250926190643068def4b4247493f","usage":{"completion_tokens":86,"prompt_tokens":179,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":265}}' + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 4.969463833s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 772 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"content":"\n\nI''ll check the weather in Florence, Italy for you.\n","tool_calls":[{"id":"call_-8303617501649735809","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_-8303617501649735809","role":"tool"}],"model":"glm-4.5","reasoning_effort":"high","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://api.z.ai/api/coding/paas/v4/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"\n\nThe weather in Florence, Italy is currently 40°C (104°F). That''s quite hot! Florence typically has warm summers, but this temperature is particularly high even for the region. Make sure to stay hydrated and seek shade if you''re there, as this level of heat can be quite intense.","reasoning_content":"The weather function returned \"40 C\" for Florence, Italy. This seems like a very high temperature (40°C/104°F), which would be extremely hot for Florence. Let me provide this information to the user while noting that this seems unusually warm.","role":"assistant"}}],"created":1758884811,"id":"2025092619064878c373b988234a18","model":"glm-4.5","request_id":"2025092619064878c373b988234a18","usage":{"completion_tokens":116,"prompt_tokens":219,"prompt_tokens_details":{"cached_tokens":43},"total_tokens":335}}' + headers: + Content-Type: + - application/json; charset=UTF-8 + status: 200 OK + code: 200 + duration: 3.68313875s diff --git a/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/multi_tool.yaml b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4d3d6adf37c3c2cfa2d83ab0a11540f95065130a --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 855 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884877-DsUZ3N2CGkZT131vUNCm\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758884877,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll add and multiply the numbers 2 and 3 for you.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"toolu_vrtx_01J7uVChiFATMdceHtZbaR82\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"id\":\"toolu_vrtx_0141TPmACbTafQPicKQEJu3R\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}}]}}],\"usage\":{\"prompt_tokens\":507,\"completion_tokens\":137,\"total_tokens\":644,\"cost\":0.003576,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.001521,\"upstream_inference_completions_cost\":0.002055},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.669959042s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1373 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"toolu_vrtx_01J7uVChiFATMdceHtZbaR82","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"toolu_vrtx_0141TPmACbTafQPicKQEJu3R","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"toolu_vrtx_01J7uVChiFATMdceHtZbaR82","role":"tool"},{"content":"6","tool_call_id":"toolu_vrtx_0141TPmACbTafQPicKQEJu3R","role":"tool"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884880-aGZsNsK0GXnJIkEUDHHR\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758884880,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The results are:\\n- Adding 2 + 3 = 5\\n- Multiplying 2 × 3 = 6\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":705,\"completion_tokens\":35,\"total_tokens\":740,\"cost\":0.00264,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.002115,\"upstream_inference_completions_cost\":0.000525},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.727566042s diff --git a/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/multi_tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..579cd22ea19c23e17da92edff137006aaf0245b4 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/multi_tool_streaming.yaml @@ -0,0 +1,133 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 892 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll add an","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":"d multiply the numbers","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":" 2 and 3 for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":" you.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"toolu_vrtx_019HCkvBaE95VcC6dm247tua","index":0,"type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"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}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"{\"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\": 2"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":", \"b\": "}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"toolu_vrtx_01BzTvcZwg8uFyS2ZbyfFbbg","index":1,"type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{\"a\": 2"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":", \"b\": 3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758884882-qvQRbKQ9pvC3XNTxxfOe","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884882,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":502,"completion_tokens":137,"total_tokens":639,"cost":0.003561,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001506,"upstream_inference_completions_cost":0.002055},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 2.209197084s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1410 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"toolu_vrtx_019HCkvBaE95VcC6dm247tua","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"toolu_vrtx_01BzTvcZwg8uFyS2ZbyfFbbg","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"toolu_vrtx_019HCkvBaE95VcC6dm247tua","role":"tool"},{"content":"6","tool_call_id":"toolu_vrtx_01BzTvcZwg8uFyS2ZbyfFbbg","role":"tool"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":" results","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":" are","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n- Adding","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":" 2 +","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":" 3 = 5\n-","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":" Multiplying 2 × ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":"3 = 6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884885-2kzfkifpNjmBYSZUPnHy","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884885,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":700,"completion_tokens":35,"total_tokens":735,"cost":0.002625,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0021,"upstream_inference_completions_cost":0.000525},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.846005584s diff --git a/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/simple.yaml b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ea66e8a02374a6d170477598bbacf9f53a13056c --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 200 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884862-nNnfpZfNjYv7wX3JRgcl\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758884862,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá! \\n\\n(That's \\\"hi\\\" in Portuguese!)\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":16,\"completion_tokens\":18,\"total_tokens\":34,\"cost\":0.000318,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000048,\"upstream_inference_completions_cost\":0.00027},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.835014334s diff --git a/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/simple_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..72c9ad65ab7e5710daca278dd372bd81d9827f8e --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/simple_streaming.yaml @@ -0,0 +1,46 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 254 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884864-Ti76q8ykUk3txETvMAqx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884864,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884864-Ti76q8ykUk3txETvMAqx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884864,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884864-Ti76q8ykUk3txETvMAqx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884864,"choices":[{"index":0,"delta":{"role":"assistant","content":"Olá!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884864-Ti76q8ykUk3txETvMAqx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884864,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884864-Ti76q8ykUk3txETvMAqx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884864,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884864-Ti76q8ykUk3txETvMAqx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884864,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":16,"completion_tokens":7,"total_tokens":23,"cost":0.000153,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000048,"upstream_inference_completions_cost":0.000105},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 2.099917792s diff --git a/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/tool.yaml b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7b83f4351d9c5f085b83720a377afef2d41cccf6 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 492 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n{\"id\":\"gen-1758884867-bIgRXBqY3sA7T7hlXQLZ\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758884867,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll get the weather information for Florence, Italy for you.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"toolu_vrtx_01AFJ7sm96FNbLYnwvJgtjjR\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence,Italy\\\"}\"}}]}}],\"usage\":{\"prompt_tokens\":394,\"completion_tokens\":67,\"total_tokens\":461,\"cost\":0.002187,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.001182,\"upstream_inference_completions_cost\":0.001005},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.244292667s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 830 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll get the weather information for Florence, Italy for you.","tool_calls":[{"id":"toolu_vrtx_01AFJ7sm96FNbLYnwvJgtjjR","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"toolu_vrtx_01AFJ7sm96FNbLYnwvJgtjjR","role":"tool"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884868-S2ViWydCwMw4IRUnQe3o\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758884868,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current weather in Florence, Italy shows a temperature of 40°C (104°F). That's quite hot! If you're planning to visit or are currently there, make sure to stay hydrated and seek shade during the hottest parts of the day.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":476,\"completion_tokens\":57,\"total_tokens\":533,\"cost\":0.002283,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.001428,\"upstream_inference_completions_cost\":0.000855},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.084771333s diff --git a/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4a7a46a7e0bfe5915560c39231d807ff321a7255 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/claude-sonnet-4/tool_streaming.yaml @@ -0,0 +1,131 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 546 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll get the weather information for Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":", Italy for you.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"toolu_vrtx_01RbqWDZJV2wefF6PD6oi6rq","index":0,"type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"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}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"{\"location"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\": \"Flor"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"en"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"ce,Italy\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758884871-ydnydgzKdJZqqueHDHG5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884871,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":394,"completion_tokens":67,"total_tokens":461,"cost":0.002187,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001182,"upstream_inference_completions_cost":0.001005},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 2.614987417s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 884 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll get the weather information for Florence, Italy for you.","tool_calls":[{"id":"toolu_vrtx_01RbqWDZJV2wefF6PD6oi6rq","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"toolu_vrtx_01RbqWDZJV2wefF6PD6oi6rq","role":"tool"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather in Florence, Italy is 40","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C (104°F). That","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s quite","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"! Make","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" sure to","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" stay","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated and seek","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" shade if","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" you're planning","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":" to be out","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"doors.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884875-M9WzCwVeN4gqbY9Y1cW5","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758884875,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":476,"completion_tokens":43,"total_tokens":519,"cost":0.002073,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001428,"upstream_inference_completions_cost":0.000645},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.845872166s diff --git a/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/multi_tool.yaml b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..95b610f521ed4c926312649ae9ac76d6b534dc00 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 862 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885224-g5oXqGRqim44ZJGGod8I\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758885224,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll add and multiply the numbers 2 and 3 simultaneously as requested.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"call_0656\",\"function\":{\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\",\"name\":\"add\"},\"type\":\"function\"},{\"index\":1,\"id\":\"call_5236\",\"function\":{\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\",\"name\":\"multiply\"},\"type\":\"function\"}]}}],\"usage\":{\"prompt_tokens\":256,\"completion_tokens\":52,\"total_tokens\":308,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 619.225375ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1296 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 simultaneously as requested.","tool_calls":[{"id":"call_0656","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_5236","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_0656","role":"tool"},{"content":"6","tool_call_id":"call_5236","role":"tool"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885229-rCHLKXJniwXh0QybzWF4\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758885229,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The sum of 2 and 3 is 5, and the product of 2 and 3 is 6.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":316,\"completion_tokens\":26,\"total_tokens\":342,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 950.99525ms diff --git a/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/multi_tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c9165f2ebd5ab5a68c46b4c9d8af6acabaf2b07b --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/multi_tool_streaming.yaml @@ -0,0 +1,127 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 899 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":"I","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":"'ll add","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":" and multiply","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":" the","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":" numbers ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":"2 and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":" 3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":" simultaneously for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":" you.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_9953","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"call_1453","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758885164-b2FtWHeaqgFVXp8PSZCZ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885164,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":250,"completion_tokens":52,"total_tokens":302,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 759.0745ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1328 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 simultaneously for you.","tool_calls":[{"id":"call_9953","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_1453","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_9953","role":"tool"},{"content":"6","tool_call_id":"call_1453","role":"tool"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":" addition of","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":" 2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":" and ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":"3 gives","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":":","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":"5\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":"The multiplication","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":" of ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":"2 and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":" 3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":" gives:","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":" 6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758885174-21jFczhB62eYMTvgbGCJ","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758885175,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":310,"completion_tokens":26,"total_tokens":336,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 796.350208ms diff --git a/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/simple.yaml b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6b6ff418101d77e3db9c9a449fdec7be0ed92783 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 207 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884896-Vxp1md82hWmmqrwPbsR2\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758884897,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":13,\"completion_tokens\":4,\"total_tokens\":17,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 915.791ms diff --git a/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/simple_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c9084a1f9e319aad3463fc993ad7b833ee554172 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/simple_streaming.yaml @@ -0,0 +1,42 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 261 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884899-pD8p2SxLbbZqkwAwdyNA","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884899,"choices":[{"index":0,"delta":{"role":"assistant","content":"Ol","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884899-pD8p2SxLbbZqkwAwdyNA","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884899,"choices":[{"index":0,"delta":{"role":"assistant","content":"á!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884899-pD8p2SxLbbZqkwAwdyNA","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884899,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884899-pD8p2SxLbbZqkwAwdyNA","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884899,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":13,"completion_tokens":4,"total_tokens":17,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 910.04ms diff --git a/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/tool.yaml b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..10e2176aec1ee1118e70863872fec708e3d2deec --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 499 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884901-AhRCWiXrgjl5bfbRbufi\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758884901,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll check the weather in Florence, Italy for you.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"call_9a0a\",\"function\":{\"arguments\":\"{\\\"location\\\": \\\"Florence\\\"}\",\"name\":\"weather\"},\"type\":\"function\"}]}}],\"usage\":{\"prompt_tokens\":160,\"completion_tokens\":27,\"total_tokens\":187,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 943.849167ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 768 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"call_9a0a","function":{"arguments":"{\"location\": \"Florence\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_9a0a","role":"tool"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884904-QNeUMpghodvaCtyHio9W\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758884905,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current temperature in Florence, Italy is **40°C** (104°F). That's quite hot! It appears to be a very warm day there. You might want to stay hydrated and seek shade if you're planning to be outdoors.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":192,\"completion_tokens\":51,\"total_tokens\":243,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 507.301334ms diff --git a/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..29f6c4a723bde290937e7b7c869726cf8e28601e --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/deepseek-chat-v3.1-free/tool_streaming.yaml @@ -0,0 +1,151 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 553 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":"I","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":"'ll check","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":" the weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence,","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":" you.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_3cac","function":{"arguments":"{\"location\": \"Florence\"}","name":"weather"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758884909-lcWlYG0HEPzjNnyrY6Ak","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884909,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":160,"completion_tokens":27,"total_tokens":187,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 898.243ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 822 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"call_3cac","function":{"arguments":"{\"location\": \"Florence\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_3cac","role":"tool"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" in Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":", Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" is ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":"40°","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":"C (","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":"104°","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":"F).","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" That","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s quite","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" If","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" you're","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" planning","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" to visit","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" or","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" are","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" currently","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" there,","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" make sure","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" to stay","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" seek shade","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" during the","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" hottest parts","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" of the","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":" day.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884912-RP1NFdMIPDp14zRR1slx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758884912,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":192,"completion_tokens":50,"total_tokens":242,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 800.502916ms diff --git a/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/multi_tool.yaml b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9733106bca414fb173d715db19205f4d86c21f47 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 853 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n{\"id\":\"gen-1758884893-RNaA0KwkX5DNRlXi1Q4O\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758884893,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"tool_0_add_TCy46s7l5XQ6Mfi91IsM\",\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"b\\\":3,\\\"a\\\":2}\"}},{\"index\":1,\"id\":\"tool_1_multiply_zdqptJA2dh857K7gsjKs\",\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"b\\\":3,\\\"a\\\":2}\"}}]}}],\"usage\":{\"prompt_tokens\":60,\"completion_tokens\":10,\"total_tokens\":70,\"cost\":0.000043,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000018,\"upstream_inference_completions_cost\":0.000025},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 940.752083ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1296 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"tool_0_add_TCy46s7l5XQ6Mfi91IsM","function":{"arguments":"{\"b\":3,\"a\":2}","name":"add"},"type":"function"},{"id":"tool_1_multiply_zdqptJA2dh857K7gsjKs","function":{"arguments":"{\"b\":3,\"a\":2}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"tool_0_add_TCy46s7l5XQ6Mfi91IsM","role":"tool"},{"content":"6","tool_call_id":"tool_1_multiply_zdqptJA2dh857K7gsjKs","role":"tool"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n{\"id\":\"gen-1758884894-7bHlyhWUTzdBiRAUFya6\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758884894,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The sum of 2 and 3 is 5, and the product of 2 and 3 is 6.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":116,\"completion_tokens\":25,\"total_tokens\":141,\"cost\":0.0000973,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000348,\"upstream_inference_completions_cost\":0.0000625},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 713.652834ms diff --git a/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/multi_tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fb69ab0bf85abbb65873698da344430d0944ba22 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/multi_tool_streaming.yaml @@ -0,0 +1,77 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 890 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884895-ZW7V1SBC3XRGQDgz6cog","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884895,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"tool_0_add_3sQISwQkKIrHMDRRTqmB","type":"function","function":{"name":"add","arguments":"{\"b\":3,\"a\":2}"}},{"index":1,"id":"tool_1_multiply_nZSCK8smzKFKbdiORQio","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"}}]},"finish_reason":"tool_calls","native_finish_reason":"STOP","logprobs":null}]} + + data: {"id":"gen-1758884895-ZW7V1SBC3XRGQDgz6cog","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884895,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":57,"completion_tokens":10,"total_tokens":67,"cost":0.0000421,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000171,"upstream_inference_completions_cost":0.000025},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 878.667625ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1333 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"tool_0_add_3sQISwQkKIrHMDRRTqmB","function":{"arguments":"{\"b\":3,\"a\":2}","name":"add"},"type":"function"},{"id":"tool_1_multiply_nZSCK8smzKFKbdiORQio","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"tool_0_add_3sQISwQkKIrHMDRRTqmB","role":"tool"},{"content":"6","tool_call_id":"tool_1_multiply_nZSCK8smzKFKbdiORQio","role":"tool"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884896-S4C9WkpsADy97egk3ecX","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884896,"choices":[{"index":0,"delta":{"role":"assistant","content":"The sum of","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884896-S4C9WkpsADy97egk3ecX","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884896,"choices":[{"index":0,"delta":{"role":"assistant","content":" 2 and 3 is 5, and the product of 2 and 3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884896-S4C9WkpsADy97egk3ecX","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884896,"choices":[{"index":0,"delta":{"role":"assistant","content":" is 6.","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} + + data: {"id":"gen-1758884896-S4C9WkpsADy97egk3ecX","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884896,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":111,"completion_tokens":25,"total_tokens":136,"cost":0.0000958,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000333,"upstream_inference_completions_cost":0.0000625},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 652.719208ms diff --git a/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/simple.yaml b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b40ce56f7c3c2521a058b21328082c57187fad7b --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 198 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n{\"id\":\"gen-1758884888-8cFWFhyuZpFJzRBAfJhE\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758884888,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":9,\"completion_tokens\":2,\"total_tokens\":11,\"cost\":0.0000077,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000027,\"upstream_inference_completions_cost\":0.000005},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 643.525875ms diff --git a/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/simple_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7c8d18804b08376b49a7d74b5df3cfc2af2a6a9a --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/simple_streaming.yaml @@ -0,0 +1,42 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 252 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884889-wBMEuVgepAaRbPTJBSmM","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884889,"choices":[{"index":0,"delta":{"role":"assistant","content":"\"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884889-wBMEuVgepAaRbPTJBSmM","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884889,"choices":[{"index":0,"delta":{"role":"assistant","content":"Olá\" or \"Oi","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884889-wBMEuVgepAaRbPTJBSmM","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884889,"choices":[{"index":0,"delta":{"role":"assistant","content":"\"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} + + data: {"id":"gen-1758884889-wBMEuVgepAaRbPTJBSmM","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884889,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9,"completion_tokens":7,"total_tokens":16,"cost":0.0000202,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000027,"upstream_inference_completions_cost":0.0000175},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 969.074167ms diff --git a/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/tool.yaml b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b0131ae39dcbf437ef9793dd3ac691066991cc90 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 490 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n{\"id\":\"gen-1758884890-eb63mHbHPmNmDzud29uQ\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758884890,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"tool_0_weather_tpb31y4AAKTQomEE5Gds\",\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence,Italy\\\"}\"}}]}}],\"usage\":{\"prompt_tokens\":28,\"completion_tokens\":5,\"total_tokens\":33,\"cost\":0.0000209,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000084,\"upstream_inference_completions_cost\":0.0000125},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 920.856208ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 753 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"tool_0_weather_tpb31y4AAKTQomEE5Gds","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"tool_0_weather_tpb31y4AAKTQomEE5Gds","role":"tool"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n{\"id\":\"gen-1758884890-CHMiuxRWBS7OxuQFUsla\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758884891,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The weather in Florence, Italy is 40 degrees Celsius.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":57,\"completion_tokens\":13,\"total_tokens\":70,\"cost\":0.0000496,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000171,\"upstream_inference_completions_cost\":0.0000325},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 739.272167ms diff --git a/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..50d028a4b34941083bea783f91ad53d4d9a9afce --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gemini-2.5-flash/tool_streaming.yaml @@ -0,0 +1,75 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 544 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884891-TdXi6e4P1LOAy1d2zvUP","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884891,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"tool_0_weather_gNpQBlUfofhGF4jueDU7","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"}}]},"finish_reason":"tool_calls","native_finish_reason":"STOP","logprobs":null}]} + + data: {"id":"gen-1758884891-TdXi6e4P1LOAy1d2zvUP","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884891,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":28,"completion_tokens":5,"total_tokens":33,"cost":0.0000209,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000084,"upstream_inference_completions_cost":0.0000125},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 760.496ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 807 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"tool_0_weather_gNpQBlUfofhGF4jueDU7","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"tool_0_weather_gNpQBlUfofhGF4jueDU7","role":"tool"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884892-mxDweeTvpL2t8FqL5Y6k","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884892,"choices":[{"index":0,"delta":{"role":"assistant","content":"The weather in Florence, Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884892-mxDweeTvpL2t8FqL5Y6k","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884892,"choices":[{"index":0,"delta":{"role":"assistant","content":" is 40 degrees Celsius.","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} + + data: {"id":"gen-1758884892-mxDweeTvpL2t8FqL5Y6k","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758884892,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":55,"completion_tokens":13,"total_tokens":68,"cost":0.000049,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000165,"upstream_inference_completions_cost":0.0000325},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 736.252583ms diff --git a/providertests/testdata/TestOpenRouterCommon/glm-4.5/multi_tool.yaml b/providertests/testdata/TestOpenRouterCommon/glm-4.5/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0284508570e8cfa903e5a64c642e1411e5e2be5a --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/glm-4.5/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 842 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885041-lGus0z3IqfajvtBiZY5w\",\"provider\":\"Z.AI\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758885041,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\n\\nI'll add and multiply the numbers 2 and 3 for you.\\n\",\"refusal\":null,\"reasoning\":\"The user is asking me to both add and multiply the numbers 2 and 3. I have two functions available: \\\"add\\\" and \\\"multiply\\\". I need to call both functions with the parameters a=2 and b=3.\\n\\nLet me make both function calls:\\n1. add(2, 3) \\n2. multiply(2, 3)\",\"tool_calls\":[{\"id\":\"call_7361af8cbf8a441e89e4d455\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"id\":\"call_7100cb895a0449c293cc62b0\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user is asking me to both add and multiply the numbers 2 and 3. I have two functions available: \\\"add\\\" and \\\"multiply\\\". I need to call both functions with the parameters a=2 and b=3.\\n\\nLet me make both function calls:\\n1. add(2, 3) \\n2. multiply(2, 3)\",\"format\":\"unknown\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":286,\"completion_tokens\":135,\"total_tokens\":421,\"cost\":0.00044753,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":43,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00015053,\"upstream_inference_completions_cost\":0.000297},\"completion_tokens_details\":{\"reasoning_tokens\":66,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 847.340417ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1342 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_7361af8cbf8a441e89e4d455","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_7100cb895a0449c293cc62b0","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_7361af8cbf8a441e89e4d455","role":"tool"},{"content":"6","tool_call_id":"call_7100cb895a0449c293cc62b0","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885049-FChIVzPMZzGE5cdD8P2D\",\"provider\":\"Z.AI\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758885049,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\n\\nThe results for adding and multiplying 2 and 3 are:\\n\\n- Addition: 2 + 3 = 5\\n- Multiplication: 2 × 3 = 6\",\"refusal\":null,\"reasoning\":\"The user asked me to add and multiply the numbers 2 and 3. I used both the add and multiply functions as requested:\\n\\n- Adding 2 and 3 gives 5\\n- Multiplying 2 and 3 gives 6\\n\\nI should present both results clearly to the user.\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user asked me to add and multiply the numbers 2 and 3. I used both the add and multiply functions as requested:\\n\\n- Adding 2 and 3 gives 5\\n- Multiplying 2 and 3 gives 6\\n\\nI should present both results clearly to the user.\",\"format\":\"unknown\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":360,\"completion_tokens\":102,\"total_tokens\":462,\"cost\":0.00041933,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":43,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00019493,\"upstream_inference_completions_cost\":0.0002244},\"completion_tokens_details\":{\"reasoning_tokens\":60,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 851.707667ms diff --git a/providertests/testdata/TestOpenRouterCommon/glm-4.5/multi_tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/glm-4.5/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..60cc01bdd9689cbb5d80937ab0ac5264bce12908 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/glm-4.5/multi_tool_streaming.yaml @@ -0,0 +1,469 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 879 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asking","reasoning_details":[{"type":"reasoning.text","text":" asking","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" me","reasoning_details":[{"type":"reasoning.text","text":" me","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" numbers","reasoning_details":[{"type":"reasoning.text","text":" numbers","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.text","text":" have","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" two","reasoning_details":[{"type":"reasoning.text","text":" two","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.text","text":" functions","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" available","reasoning_details":[{"type":"reasoning.text","text":" available","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" The","reasoning_details":[{"type":"reasoning.text","text":" The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" specifically","reasoning_details":[{"type":"reasoning.text","text":" specifically","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" wants","reasoning_details":[{"type":"reasoning.text","text":" wants","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" me","reasoning_details":[{"type":"reasoning.text","text":" me","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.text","text":" functions","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" so","reasoning_details":[{"type":"reasoning.text","text":" so","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.text","text":" call","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.text","text":" functions","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" with","reasoning_details":[{"type":"reasoning.text","text":" with","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameters","reasoning_details":[{"type":"reasoning.text","text":" parameters","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n\n","reasoning_details":[{"type":"reasoning.text","text":".\n\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"For","reasoning_details":[{"type":"reasoning.text","text":"For","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":\n","reasoning_details":[{"type":"reasoning.text","text":":\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"-","reasoning_details":[{"type":"reasoning.text","text":"-","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"-","reasoning_details":[{"type":"reasoning.text","text":"-","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" b","reasoning_details":[{"type":"reasoning.text","text":" b","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n\n","reasoning_details":[{"type":"reasoning.text","text":"\n\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"For","reasoning_details":[{"type":"reasoning.text","text":"For","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":\n","reasoning_details":[{"type":"reasoning.text","text":":\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"-","reasoning_details":[{"type":"reasoning.text","text":"-","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \n","reasoning_details":[{"type":"reasoning.text","text":" \n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"-","reasoning_details":[{"type":"reasoning.text","text":"-","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" b","reasoning_details":[{"type":"reasoning.text","text":" b","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n\n","reasoning_details":[{"type":"reasoning.text","text":"\n\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"I","reasoning_details":[{"type":"reasoning.text","text":"I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.text","text":" call","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.text","text":" functions","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"I","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"'ll","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" add","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiply","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" the","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" numbers","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":" you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":".\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_8eebb8d117b94c35a6c99734","index":0,"type":"function","function":{"name":"add","arguments":"{\"a\": 2, \"b\": 3}"}}]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_ccad9698f6dc4b72a67b0cc3","index":1,"type":"function","function":{"name":"multiply","arguments":"{\"a\": 2, \"b\": 3}"}}]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758885053-zbAuZUCTy0BBdZxDyrs1","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885053,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":282,"completion_tokens":154,"total_tokens":436,"cost":0.00048644,"is_byok":false,"prompt_tokens_details":{"cached_tokens":44,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00014764,"upstream_inference_completions_cost":0.0003388},"completion_tokens_details":{"reasoning_tokens":94,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 767.975667ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1379 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_8eebb8d117b94c35a6c99734","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_ccad9698f6dc4b72a67b0cc3","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_8eebb8d117b94c35a6c99734","role":"tool"},{"content":"6","tool_call_id":"call_ccad9698f6dc4b72a67b0cc3","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asked","reasoning_details":[{"type":"reasoning.text","text":" asked","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" me","reasoning_details":[{"type":"reasoning.text","text":" me","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" numbers","reasoning_details":[{"type":"reasoning.text","text":" numbers","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" used","reasoning_details":[{"type":"reasoning.text","text":" used","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.text","text":" functions","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" instructed","reasoning_details":[{"type":"reasoning.text","text":" instructed","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":\n","reasoning_details":[{"type":"reasoning.text","text":":\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"-","reasoning_details":[{"type":"reasoning.text","text":"-","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"(","reasoning_details":[{"type":"reasoning.text","text":"(","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":")","reasoning_details":[{"type":"reasoning.text","text":")","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" =","reasoning_details":[{"type":"reasoning.text","text":" =","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"5","reasoning_details":[{"type":"reasoning.text","text":"5","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"-","reasoning_details":[{"type":"reasoning.text","text":"-","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"(","reasoning_details":[{"type":"reasoning.text","text":"(","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":")","reasoning_details":[{"type":"reasoning.text","text":")","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" =","reasoning_details":[{"type":"reasoning.text","text":" =","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"6","reasoning_details":[{"type":"reasoning.text","text":"6","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n\n","reasoning_details":[{"type":"reasoning.text","text":"\n\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"I","reasoning_details":[{"type":"reasoning.text","text":"I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" present","reasoning_details":[{"type":"reasoning.text","text":" present","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" results","reasoning_details":[{"type":"reasoning.text","text":" results","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" results","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" are","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"-","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" Addition","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":":","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" +","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" =","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"5","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"-","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" Multip","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"lication","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":":","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" ×","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" =","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758885058-L0OpJKAPnGHmgxBAClcv","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885058,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":356,"completion_tokens":89,"total_tokens":445,"cost":0.00038833,"is_byok":false,"prompt_tokens_details":{"cached_tokens":43,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00019253,"upstream_inference_completions_cost":0.0001958},"completion_tokens_details":{"reasoning_tokens":47,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.0843895s diff --git a/providertests/testdata/TestOpenRouterCommon/glm-4.5/simple.yaml b/providertests/testdata/TestOpenRouterCommon/glm-4.5/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b2158453a6169fd4c8dd4ff2e654bd6f48abc78e --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/glm-4.5/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 187 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885018-7FDRbbLStfXg2wgirdlK\",\"provider\":\"Mancer 2\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758885018,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\nHi in Portuguese is \\\"Olá\\\". Another common way to say hi in Portuguese, especially in Brazil, is \\\"Oi\\\".\",\"refusal\":null,\"reasoning\":\"The user is asking me to say \\\"hi\\\" in Portuguese. In Portuguese, \\\"hi\\\" or \\\"hello\\\" is commonly translated as \\\"Olá\\\". I should provide this translation directly.\\n\\nThe Portuguese word for greeting is:\\n- \\\"Olá\\\" (which is a common, somewhat formal \\\"hello\\\")\\n- \\\"Oi\\\" (which is more informal and commonly used in Brazil)\\n\\nI think I'll provide both options since they're both commonly used, with a brief note about their usage.\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user is asking me to say \\\"hi\\\" in Portuguese. In Portuguese, \\\"hi\\\" or \\\"hello\\\" is commonly translated as \\\"Olá\\\". I should provide this translation directly.\\n\\nThe Portuguese word for greeting is:\\n- \\\"Olá\\\" (which is a common, somewhat formal \\\"hello\\\")\\n- \\\"Oi\\\" (which is more informal and commonly used in Brazil)\\n\\nI think I'll provide both options since they're both commonly used, with a brief note about their usage.\",\"format\":\"unknown\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":16,\"completion_tokens\":127,\"total_tokens\":143,\"cost\":0.00026,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000008,\"upstream_inference_completions_cost\":0.000254},\"completion_tokens_details\":{\"reasoning_tokens\":110,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.055259959s diff --git a/providertests/testdata/TestOpenRouterCommon/glm-4.5/simple_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/glm-4.5/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfa99b28e467fe97cc7c97a3714bee807c74457e --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/glm-4.5/simple_streaming.yaml @@ -0,0 +1,206 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 241 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" person","reasoning_details":[{"type":"reasoning.text","text":" person","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is asking","reasoning_details":[{"type":"reasoning.text","text":" is asking","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" me to","reasoning_details":[{"type":"reasoning.text","text":" me to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" say \"","reasoning_details":[{"type":"reasoning.text","text":" say \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"hi\"","reasoning_details":[{"type":"reasoning.text","text":"hi\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in Portuguese","reasoning_details":[{"type":"reasoning.text","text":" in Portuguese","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":". I","reasoning_details":[{"type":"reasoning.text","text":". I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide the","reasoning_details":[{"type":"reasoning.text","text":" provide the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Portuguese translation","reasoning_details":[{"type":"reasoning.text","text":" Portuguese translation","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" of","reasoning_details":[{"type":"reasoning.text","text":" of","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"hi","reasoning_details":[{"type":"reasoning.text","text":" \"hi","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\" or","reasoning_details":[{"type":"reasoning.text","text":"\" or","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"hello","reasoning_details":[{"type":"reasoning.text","text":" \"hello","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\".\n\nThe","reasoning_details":[{"type":"reasoning.text","text":"\".\n\nThe","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" most common","reasoning_details":[{"type":"reasoning.text","text":" most common","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" way to","reasoning_details":[{"type":"reasoning.text","text":" way to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" say \"","reasoning_details":[{"type":"reasoning.text","text":" say \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"hi\"","reasoning_details":[{"type":"reasoning.text","text":"hi\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" or \"","reasoning_details":[{"type":"reasoning.text","text":" or \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"hello\"","reasoning_details":[{"type":"reasoning.text","text":"hello\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in Portuguese","reasoning_details":[{"type":"reasoning.text","text":" in Portuguese","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is \"","reasoning_details":[{"type":"reasoning.text","text":" is \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Olá","reasoning_details":[{"type":"reasoning.text","text":"Olá","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\". There","reasoning_details":[{"type":"reasoning.text","text":"\". There","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"'s","reasoning_details":[{"type":"reasoning.text","text":"'s","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" also \"","reasoning_details":[{"type":"reasoning.text","text":" also \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Oi\"","reasoning_details":[{"type":"reasoning.text","text":"Oi\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which is","reasoning_details":[{"type":"reasoning.text","text":" which is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" more informal","reasoning_details":[{"type":"reasoning.text","text":" more informal","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and commonly","reasoning_details":[{"type":"reasoning.text","text":" and commonly","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" used in","reasoning_details":[{"type":"reasoning.text","text":" used in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Brazil.","reasoning_details":[{"type":"reasoning.text","text":" Brazil.","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"'ll provide","reasoning_details":[{"type":"reasoning.text","text":"'ll provide","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both options","reasoning_details":[{"type":"reasoning.text","text":" both options","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" explain the","reasoning_details":[{"type":"reasoning.text","text":" explain the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" difference.","reasoning_details":[{"type":"reasoning.text","text":" difference.","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"In","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" Portuguese,","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" you can","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" say \"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"hi\"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" in a","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" couple","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" of ways","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n\n-","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" \"Ol","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"á\"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" - This","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" is the","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" standard,","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" slightly","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" more","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" formal greeting","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" used","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" in both","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" Brazil","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" and Portugal","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":".\n\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"- \"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"Oi\"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" - This","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" is a","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" more informal","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" greeting,","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" commonly used","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" in Brazil","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":".\n\nBoth","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" are widely","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" understood,","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" so","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" you can","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" use either","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" depending on","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" the situation","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" and level","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":" of form","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"ality.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758885023-eRgSIBBLiC1Ehs7cSUqS","provider":"DeepInfra","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885023,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":16,"completion_tokens":151,"total_tokens":167,"cost":0.000248,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000064,"upstream_inference_completions_cost":0.0002416},"completion_tokens_details":{"reasoning_tokens":80,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 731.444625ms diff --git a/providertests/testdata/TestOpenRouterCommon/glm-4.5/tool.yaml b/providertests/testdata/TestOpenRouterCommon/glm-4.5/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..51139eab81777056fabff841402ef29b9284c370 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/glm-4.5/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 479 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885026-ObuQSLFXD2s21Obt6rAc\",\"provider\":\"Z.AI\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758885026,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\n\\nI'll get the weather information for Florence, Italy for you.\\n\",\"refusal\":null,\"reasoning\":\"The user is asking for the weather in Florence, Italy. I have a weather function available that takes a location parameter. The location should be \\\"Florence, Italy\\\" as that's exactly what the user specified. Let me call the weather function with this location.\",\"tool_calls\":[{\"id\":\"call_9b574f96936e47788983cf93\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence, Italy\\\"}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user is asking for the weather in Florence, Italy. I have a weather function available that takes a location parameter. The location should be \\\"Florence, Italy\\\" as that's exactly what the user specified. Let me call the weather function with this location.\",\"format\":\"unknown\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":179,\"completion_tokens\":86,\"total_tokens\":265,\"cost\":0.00027553,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":43,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00008633,\"upstream_inference_completions_cost\":0.0001892},\"completion_tokens_details\":{\"reasoning_tokens\":65,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.792130708s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 812 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\n\nI''ll get the weather information for Florence, Italy for you.\n","tool_calls":[{"id":"call_9b574f96936e47788983cf93","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_9b574f96936e47788983cf93","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885030-I0evfGTkn3mWGYvYfR7s\",\"provider\":\"Z.AI\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758885030,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\n\\nThe current weather in Florence, Italy is 40°C (104°F). That's quite hot! Make sure to stay hydrated and seek shade if you're there.\",\"refusal\":null,\"reasoning\":\"The weather function returned \\\"40 C\\\" for Florence, Italy. This seems to be a very high temperature - 40°C (104°F) is quite hot. I should report this information to the user clearly.\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The weather function returned \\\"40 C\\\" for Florence, Italy. This seems to be a very high temperature - 40°C (104°F) is quite hot. I should report this information to the user clearly.\",\"format\":\"unknown\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":220,\"completion_tokens\":81,\"total_tokens\":301,\"cost\":0.00028913,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":43,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00011093,\"upstream_inference_completions_cost\":0.0001782},\"completion_tokens_details\":{\"reasoning_tokens\":47,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 849.225ms diff --git a/providertests/testdata/TestOpenRouterCommon/glm-4.5/tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/glm-4.5/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f93a2fb56dafbaf4a915866b5bafc4d4db029822 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/glm-4.5/tool_streaming.yaml @@ -0,0 +1,341 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 533 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asking","reasoning_details":[{"type":"reasoning.text","text":" asking","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.text","text":" have","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" available","reasoning_details":[{"type":"reasoning.text","text":" available","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.text","text":" that","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" takes","reasoning_details":[{"type":"reasoning.text","text":" takes","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameter","reasoning_details":[{"type":"reasoning.text","text":" parameter","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" The","reasoning_details":[{"type":"reasoning.text","text":" The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" specified","reasoning_details":[{"type":"reasoning.text","text":" specified","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Flo","reasoning_details":[{"type":"reasoning.text","text":"Flo","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"rence","reasoning_details":[{"type":"reasoning.text","text":"rence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" so","reasoning_details":[{"type":"reasoning.text","text":" so","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.text","text":" that","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" exact","reasoning_details":[{"type":"reasoning.text","text":" exact","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" value","reasoning_details":[{"type":"reasoning.text","text":" value","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameter","reasoning_details":[{"type":"reasoning.text","text":" parameter","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_1bef9a8b0b3f44879ec51f26","index":0,"type":"function","function":{"name":"weather","arguments":"{\"location\": \"Florence,Italy\"}"}}]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758885033-p6Mzuk9MAxNDsmWhniqn","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885033,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":179,"completion_tokens":69,"total_tokens":248,"cost":0.00023813,"is_byok":false,"prompt_tokens_details":{"cached_tokens":43,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00008633,"upstream_inference_completions_cost":0.0001518},"completion_tokens_details":{"reasoning_tokens":60,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 2.214089s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 802 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\n\n","tool_calls":[{"id":"call_1bef9a8b0b3f44879ec51f26","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_1bef9a8b0b3f44879ec51f26","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.text","text":"40","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" C","reasoning_details":[{"type":"reasoning.text","text":" C","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" This","reasoning_details":[{"type":"reasoning.text","text":" This","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" indicates","reasoning_details":[{"type":"reasoning.text","text":" indicates","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.text","text":" that","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" current","reasoning_details":[{"type":"reasoning.text","text":" current","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature","reasoning_details":[{"type":"reasoning.text","text":" temperature","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.text","text":"40","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" degrees","reasoning_details":[{"type":"reasoning.text","text":" degrees","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Celsius","reasoning_details":[{"type":"reasoning.text","text":" Celsius","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which","reasoning_details":[{"type":"reasoning.text","text":" which","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" quite","reasoning_details":[{"type":"reasoning.text","text":" quite","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" hot","reasoning_details":[{"type":"reasoning.text","text":" hot","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide","reasoning_details":[{"type":"reasoning.text","text":" provide","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.text","text":" this","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.text","text":" information","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clear","reasoning_details":[{"type":"reasoning.text","text":" clear","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" helpful","reasoning_details":[{"type":"reasoning.text","text":" helpful","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" way","reasoning_details":[{"type":"reasoning.text","text":" way","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"40","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" (","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"104","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":").","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" That","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" quite","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" Make","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" sure","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" to","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" stay","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" seek","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" shade","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" if","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"'re","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":" there","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758885038-DeDG7fKs95gX84IVtQtp","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758885038,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":207,"completion_tokens":85,"total_tokens":292,"cost":0.00029013,"is_byok":false,"prompt_tokens_details":{"cached_tokens":43,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00010313,"upstream_inference_completions_cost":0.000187},"completion_tokens_details":{"reasoning_tokens":58,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.291404292s diff --git a/providertests/testdata/TestOpenRouterCommon/gpt-5/multi_tool.yaml b/providertests/testdata/TestOpenRouterCommon/gpt-5/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c9439111987d0a33b6cbf81331efe7ec956fe5bb --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gpt-5/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 853 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885002-93lS1IrWza4lwjNKydUI\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758885002,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"**Finalizing response format**\\n\\nI need to prepare a natural language response based on the results. The wrapper is giving us an array of results to work with. I'll present the findings simply: Sum: 5, Product: 6, without too much formatting or verbosity. It’s important to keep it straightforward. Now, I’ll proceed using multi_tool_use.parallel to gather everything we need efficiently. Let's get started!\",\"tool_calls\":[{\"id\":\"call_BznC7jJCXMLnzGiirQXF36lT\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"}},{\"id\":\"call_bfxLIaLQxRCpNzivL8PTYELT\",\"index\":2,\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Finalizing response format**\\n\\nI need to prepare a natural language response based on the results. The wrapper is giving us an array of results to work with. I'll present the findings simply: Sum: 5, Product: 6, without too much formatting or verbosity. It’s important to keep it straightforward. Now, I’ll proceed using multi_tool_use.parallel to gather everything we need efficiently. Let's get started!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo1nSQTor4DLDBpL9CgdByFSKSAl6dHpy7npybspLP8CoN7GstjzawddMsOitZpiFcw-azHMDtNOLa4lOJym61-5coPxiNGGymvozrrGCUsnb-2Kcr-Jst6Z-dNbtPkyzTr-fr9KqiqLTC6SvSEhMqo0QZJtaxfjJTYrREF8tGdBnf2UR5VT2FhfhzAc005XY4ZJngiuCAkmg9SPzNn0ahI_xm49IVLFjgbH1U3XmF_vPkO3FkP870dvZ5GQnAGzOcA-utKywPQDJFnbcRL_m53Ai96jW3CUZ_46oWCsVarDR4ay8p2VczOs2Mh49s0MXTA966xQEUJcj9gSssDISPOn04bnDk9t-WHKKWA2F1lpENMQlbxx5wmC2My8ActHnPS1vi6rKizo_3db_sz-BJ-vDHCPrtCvWHt5G9Lof-8jKFFWqPvpBV31q2prCUUmpcdgvjT1zBI0YcUv6jyrly8Ghpo1TqC9j4t2VJuMbDrm5XPPahsoHb2RPQN4mpcb3iFj7ztBsdBl5_cw3A6UTJT2_MPHHqe_lnpbvXSB_XqGJukpxeQ9Rd7dgApzQ7kANA-JFCqp0-z-v4TosW_YqCPDVx3QOnvbLAjO70DvYcHIDBpiNaddlMqHj2224BBdom2zBRhZpF-fBrLxlHcEEz_yVyHjC823UwzLSz6MxXO8DnGJ69zKlTpsP1cNMQ7DOHX6Yj3gN6Op9WkIcU9PkW-MAulH2bN1A4f7KLAULdBE2huFaY0Kr0LkDrxIs07OSWtMagEjRfW6NDacFNVeYj6Nw4CA3yDUXYAFT2md7UvA3qp0qxkaJPH-uGxPpM4UBPJAqjnXO75Vy7aXQBvrl1irH89SxONrmCNCHFURDmL8448SQlZwJJ4Yv9EhcVzMc508RdnXnNuNtGMkARCzO2ZsOn7MwVzhNy5MMxw1_mEgQg_17IxUVJrV3QYXOfXRfNmALqYpt-qSJ6sf-2JC9BlrThEC3GSFPNaLRtywrw1_NsXXua5e_btbfSh5RMiBZGMvC_D1bgl6Ijs0uRnfvZ_CyKwc3R77o3HlQoU2POS6NCJvZik4_1SDq1AmkNXwwJS9A1dbaop4pn756poWAcvyU-ua--TU65tEocgrzUh8JLzgBkrXKNRWBI4ogKm_2fd6VRKDfFK8j7F-bOBrcIwmCTgTzyrelgd1tsCY9PjlL80q48xuah24wTI3YmnQaTpPhSh_9l52XMxEI_OQ8R-Qub2sNtOpgnFsN2QM7Mf_L0V-XBzkEung0wHgjN2OYmwfQrdzUd4FqNqO01a75w_fgfFDMrmrvZiUVl3OPo2PDziyKPudZeocKequaBkKnET-nqwEkG7GfgUQ4Y-dhZRniwE_vvRvhEz9idYXZoutuuXV5jjIa1oE2jZ6YYpE08Dsw7HSpeqBm_l6sex5QwYJPEaHo-fARWITU4XLBFo4MOeazFvDPN8EMJrFEnQovY-dYLvsfsNztNDJegC4Nk4UIjKIt3OPGorTSCTE5cuMLgHg0wKpNwxSCJCtukAQsATaIy9EUmBQ4LVpi21LaiGkcBRT7Y2-gPIwSniVMCPZP-hWQiFiPydf_KZDcU5rdXqqmI6VOXRJ8yomwFlMG8gtgKcUmCCQYHCDm0GHlwzAsIghBE9JOV4HwJOUl_AzI-OwnLiWzePhctzhF3H6g0NB6_6NVUS19By68nENd7YfD2JFpQEQyfk6B2ndOlnmE7oOMMuQawHpJyN5-bOgNCFMGFXx0Fdyb-AEe4FEZpKpo5xl6U3Sfdih8JyxTaXJG-g259gTObdy8RMN54xj3wMq7gVseGNYTMmG_i2stMkLLXy-psEzFVBfhA6loiVvw80g6vSbPPA_d4Pn46Q3KOhUHN2sxtz-AwHpAXFOByQ5QF9DrwibCKwdjctFSLTioKmKZ83Ivj1nlPGDUZzoMbknCvDTCU7KMZ48rh0V3A7QG3XetntlU3ThFcObB1QTb0xf4K4-q_sro4fQoOZly9Dx7RFkAZcVFO6ktHOhuWvycp7_v9q-2HogRTxOuu30AleOjL0ylg5Z5YutyVd1ji1cbDcE7jy9B1KO--9cfPZYG8_w6CP7Hquherm_yxysKocslBErhc6_j2fWB6QZeHTepjVZGEij1Zno0crYzxmw4STmb4x7x6z4G37H7EgCIhoAvhqaE6A54Y4-HJSgYlSXCWecJjvKttCIjvzJhA6I7W1a_XTyYeOoZUec9-YSIDwpvwhZyRxoIx7gdIeS97DOJPvIuzIy4ENAdrgESMXyiSaN2pG1vhFSrGp9LA8012GcZ-eJf1FT_3wQIW_jOQLdm_VOKVJE5DSPCXpcooZ_UHoHBuIFUC6V90iRYGwB34o7OsWm9JkalW3yBltissX_jYeQ==\",\"id\":\"rs_68d6748c03ec8194a05daf15cec318ad0f0b120b05935ef9\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":116,\"completion_tokens\":248,\"total_tokens\":364,\"cost\":0.002625,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000145,\"upstream_inference_completions_cost\":0.00248},\"completion_tokens_details\":{\"reasoning_tokens\":192,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 819.80375ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1278 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_BznC7jJCXMLnzGiirQXF36lT","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_bfxLIaLQxRCpNzivL8PTYELT","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_BznC7jJCXMLnzGiirQXF36lT","role":"tool"},{"content":"6","tool_call_id":"call_bfxLIaLQxRCpNzivL8PTYELT","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885009-m2Ytg5Fs9zbmHIel1aDq\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758885009,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Results:\\n- Addition (2 + 3) = 5\\n- Multiplication (2 × 3) = 6\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":174,\"completion_tokens\":30,\"total_tokens\":204,\"cost\":0.0005175,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0002175,\"upstream_inference_completions_cost\":0.0003},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.045273666s diff --git a/providertests/testdata/TestOpenRouterCommon/gpt-5/multi_tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/gpt-5/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..82e90b2dfcfbd0a4e9716f6e2a57946d54ea3d8e --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gpt-5/multi_tool_streaming.yaml @@ -0,0 +1,299 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 890 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Executing","reasoning_details":[{"type":"reasoning.summary","summary":"**Executing","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.summary","summary":" add","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.summary","summary":" multiply","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" follow","reasoning_details":[{"type":"reasoning.summary","summary":" follow","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" developer","reasoning_details":[{"type":"reasoning.summary","summary":" developer","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"'s","reasoning_details":[{"type":"reasoning.summary","summary":"'s","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" instructions","reasoning_details":[{"type":"reasoning.summary","summary":" instructions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.summary","summary":" both","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" addition","reasoning_details":[{"type":"reasoning.summary","summary":" addition","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiplication","reasoning_details":[{"type":"reasoning.summary","summary":" multiplication","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" simultaneously","reasoning_details":[{"type":"reasoning.summary","summary":" simultaneously","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" The","reasoning_details":[{"type":"reasoning.summary","summary":" The","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asked","reasoning_details":[{"type":"reasoning.summary","summary":" asked","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.summary","summary":" add","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.summary","summary":" multiply","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" numbers","reasoning_details":[{"type":"reasoning.summary","summary":" numbers","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 2","reasoning_details":[{"type":"reasoning.summary","summary":" 2","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 3","reasoning_details":[{"type":"reasoning.summary","summary":" 3","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" so","reasoning_details":[{"type":"reasoning.summary","summary":" so","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" run","reasoning_details":[{"type":"reasoning.summary","summary":" run","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.summary","summary":" both","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parallel","reasoning_details":[{"type":"reasoning.summary","summary":" parallel","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" using","reasoning_details":[{"type":"reasoning.summary","summary":" using","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" wrapper","reasoning_details":[{"type":"reasoning.summary","summary":" wrapper","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" After","reasoning_details":[{"type":"reasoning.summary","summary":" After","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" calculations","reasoning_details":[{"type":"reasoning.summary","summary":" calculations","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" present","reasoning_details":[{"type":"reasoning.summary","summary":" present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" results","reasoning_details":[{"type":"reasoning.summary","summary":" results","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clearly","reasoning_details":[{"type":"reasoning.summary","summary":" clearly","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" sum","reasoning_details":[{"type":"reasoning.summary","summary":" sum","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 5","reasoning_details":[{"type":"reasoning.summary","summary":" 5","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" product","reasoning_details":[{"type":"reasoning.summary","summary":" product","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 6","reasoning_details":[{"type":"reasoning.summary","summary":" 6","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" It","reasoning_details":[{"type":"reasoning.summary","summary":" It","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’s","reasoning_details":[{"type":"reasoning.summary","summary":"’s","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" important","reasoning_details":[{"type":"reasoning.summary","summary":" important","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" keep","reasoning_details":[{"type":"reasoning.summary","summary":" keep","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" formatting","reasoning_details":[{"type":"reasoning.summary","summary":" formatting","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" simple","reasoning_details":[{"type":"reasoning.summary","summary":" simple","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" straightforward","reasoning_details":[{"type":"reasoning.summary","summary":" straightforward","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clarity","reasoning_details":[{"type":"reasoning.summary","summary":" clarity","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Let's","reasoning_details":[{"type":"reasoning.summary","summary":" Let's","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" get","reasoning_details":[{"type":"reasoning.summary","summary":" get","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" started","reasoning_details":[{"type":"reasoning.summary","summary":" started","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"!","reasoning_details":[{"type":"reasoning.summary","summary":"!","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo1nSZhOCb_nuiMk4KhjUQTgbE5Wy0OQ5X0mSD97CYALehhhlvgbEZkzcPYclzRIjuoQmOJsVE9T8ucpSS4Y9dg0okgCHPy5-EOa5EoV9lKonWJodm2BpLpomNg74azYyDokEs28hS7tL8TSNluiDfcKFOPixeKHHhRMWi9O1YssW2TfjiFUVI7Fc7VtQrKLoPxD_C6xXc69PvzFZR05Y95ZQnHH0RVfY0JmFfH3RZj_qqKNtlLZXuogeKKss_g9grT_30rFnnLCQbbntQuuBB0awyuEw2d_00J28c2jClyox1X2SZqTHBC0So6eMTeSsiA5bE5LZXcA0Q73pJ7O0JKwoBxnGcHtLX3BdReDDu_yEDXP-Jm6Ln_AVoAYQ_u_8Q-RWm_NFPrHN0ctz3fq2tEe9s-bAKJw3r70XdA_srdeSr-X8gm6DKlSBucDHLaQ-jq5u8l38yCLgNe0n_rj_cScn9d2sha7DEQMquS47pOiT-yjdnNlsYtb6GTVgZ5ksvUIzz_8-BIqsfDjdoRaf1EnEIDwYgMlJy7mlPVd3spOrEqtb2c-GunfqrXBFRO78y7BD76kx6WEJ98qAK5mFv9UKiOMyH5jcgerbusVwo7PrMz276ig8W-PJ0jm4sEStL_cPri6RI1Ubr5JYGSf_p6Bnd2lfsHr9Hv_FV6CDmloGhADIM-1HmqKJZVHaHyORvA3LqC8MuKP9l298Vs-2QCbF7mGft_qZsm1oKH1sJeQR9Cp69mSTlbgccdTF6SmMpEJrHQwZxwgdDoiQaP815GQ9n43Zf17IA92ziKEHINjWxOB6-U8MJVixoOYQM--esc2pPhiwpMoWYcqwU7Ogca-fUvhaLGnetca543RCi8fdIYp_2fvjXF6eumepjiGSZQyY2UXDpN_1SmZ03fXyeW6mG8TyjTmwKu8YH48MqagpoJskNGShnCei1GwG3maHNY26s49h-lIBFLcSYR6QIfIGdfZp5y3gVeTPWOXTFGlshw41gqyA4uaM_Ia-ccY4aeST8R4NebYx6eLXX3HIXtThMKsOIgQU6lrZnA7q0eauxm7yjzPETtT5cZWgWMLPicGTBxLx_97fnOFhrfVFyhGSR4xwXLuvTXiNtd798rDZGIKvxqqLQFfx4eXoUXgT5f7Iolwy2Tl6r7gUffoAVkCXXGYrAMZHkEM8aKMQJVLAaEB7_wZ0nZhk1mEFr1DLF0G2vwRHl_1VtpPbo-ukXf_OUE5csE4E6df54HerYW-nUwpTOSSSmC0kvQjZ2D9tSNtpoLSy2IfOq2FVWf0a2BXkiXQEP3RuwXTSezWACl5AHfGLt4NNNGqgPkwatvZIXx97NGmN5ewOCG5iQ1kllqfvBa1e88Ut4V50KFZKVdbYNZilZliMBAjZMFVCXEpmXwSzWJwIdtktA-LZb_6LQUeCcQ7zU_-xAsXVNR0G2fYTyPaF2bVsd1CbzfMY7DxJ_lNboAceTavzlyjMMpkX0U_JP7MleoKJJXMifuvdIDFqJ1pUtT4z39x-kGVd8XPTW9uLF79y0HLfHVZUWlUVUokA0ynDtovK2KJTVF_TFiUzEmUf1Lp6qXNqxDJtDEiJfX-vSBOLUJRGT8P95IJXP-IWbJs0GjEaXu1L_It750FyqcJavVKHYRCtg0OjfQ7YZRLQq6RANfKkJZ1t5Gs7MfNfnrpGd6WVRpnDXzTXASurBD4QIwdq2ShBrieHim7lRwg5zNN3kLBjS7FkHwiKp-DzwBvksLKDOIOPSPS6mMgBbwTSec4okccxlNqIehnidJo39PyNcnYzFI_gWT9iO3Ear1yvBfOIA7qlcg_Kg799prFc7fcotAnduSaCJ5G5TIz-W9vY0kVwnVZcldsL4SWD04C-s_By58BaEhlEjlOscFkM_hMf94bThftfTelIa5Uvl_SA98XWf2jJ9-KnsV99JhDO7Hdv-UYaAN4lwK9ovhySdwXfXIx4Xq4Hhrqs6Bm_Z5cZFT4ab_7-mQM_LIj5z0YwjRGans3EftAxWLAbF5fhTbxo6z_BLyNTWNshu2JpL84jWNZtbEicSsBatcgAKKw==","id":"rs_68d6749523a48196a273035b8b8982a2082d8a2cba24f773","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_FYnt4tJ1v7g9XJK16epyBmVN","index":1,"type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"2,"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_qrU4J8mqilozNxoWSCSxOpSd","index":2,"type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"{"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"\"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"2,"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"\"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"completed","logprobs":null}]} + + data: {"id":"gen-1758885012-2qVPBxGHZxOgYWKthK4E","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885012,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":112,"completion_tokens":248,"total_tokens":360,"cost":0.00262,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00014,"upstream_inference_completions_cost":0.00248},"completion_tokens_details":{"reasoning_tokens":192,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 511.869708ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1315 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_FYnt4tJ1v7g9XJK16epyBmVN","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_qrU4J8mqilozNxoWSCSxOpSd","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_FYnt4tJ1v7g9XJK16epyBmVN","role":"tool"},{"content":"6","tool_call_id":"call_qrU4J8mqilozNxoWSCSxOpSd","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":"Add"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":" result"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":"Multiply"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":" result"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]} + + data: {"id":"gen-1758885017-KiMogcL2QqTIvHJXya8H","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885017,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":170,"completion_tokens":15,"total_tokens":185,"cost":0.0003625,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0002125,"upstream_inference_completions_cost":0.00015},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 750.557375ms diff --git a/providertests/testdata/TestOpenRouterCommon/gpt-5/simple.yaml b/providertests/testdata/TestOpenRouterCommon/gpt-5/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c67aaf6aebe3424534ea10edf02c3e8f03692fb6 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gpt-5/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 198 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884957-ozyc0QzQMx7lYy83GoZr\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758884957,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":\"**Responding in Portuguese**\\n\\nThe user asked for a greeting in Portuguese, so it's pretty straightforward. I think I'll go with \\\"Oi!\\\" or \\\"Olá!\\\" as both are common ways to say hi. But maybe I should just pick one to keep it minimal. I’m thinking \\\"Olá!\\\" might be the best choice since it sounds friendly and is widely used. So, I’ll respond with \\\"Olá!\\\" to keep it simple and effective!\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Responding in Portuguese**\\n\\nThe user asked for a greeting in Portuguese, so it's pretty straightforward. I think I'll go with \\\"Oi!\\\" or \\\"Olá!\\\" as both are common ways to say hi. But maybe I should just pick one to keep it minimal. I’m thinking \\\"Olá!\\\" might be the best choice since it sounds friendly and is widely used. So, I’ll respond with \\\"Olá!\\\" to keep it simple and effective!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo1nRiFqXmoxOc4l0mk0o7i-Qbuc-W9Z7n0Whfh5_9R4-23L_LoM5PWvzZGJGCCf--S7yOu-UdPXf1ObRwM3q9yQ9VDW6f7nhU1K0-YzbstSJh-Fzxb3rqjoYfLbohEow6vsAzuub6UfVY2C1OlU9MpDeZXUi92T55Klt6EZrgzbQUKXCBoiFgtpN9-hIdwDCvLfyabLlcMHcI3wxLJKbc7WTz7IW-9DgFyl3H4yvyfyW8VEHDxJkGaZpM7EOd1Qfb0dge8VN9zdyqwuMQzA_MylFm0Ux9Ow9wjuL93bpdzWGcUNjBeX6jHkC1QHrNjgAnvG8WjAnLNWhsypAo461YY3fOntntVFdp9KFQIsIJEY6Jt0OJGSt6O6H3Hd4IOAIR-5D7LSFZ1VWzI4gO3rxEUSIsv1sMgZr-up38K1rrpPoaS9HxCoYP_jgxgKTPRoe9j_zPJyZh0Of4AaLOLr0S5xnVYU4Oz45vJRPGzUYFaMyWEyTFbzNubaFsWLP_GKsH6tvHwNWjVU0BQkC7UJ-B4WjVrnJrjCXPN3XRt30xrgMZbpDs1LC4sY_bv9-xAvTa3krujq2XegXZfxpuJvVVqQY0ReY3gSzf3f2K1OPz61_1dUz2nPYsgz5G0sHGRi1LCr-f5LvNXn2GfiIfdOt5gnA0UjexlrniZrKkxV_GoETQHQN70Ld6cB8jTCzAg8KS5IiOsTDGs2NqyGn44jQkExcyv1DyjJvHJYyTRH_27tMgz-VZGpv3A3ep1C03v6iOfnQjkIp-N7qPQKM4obAfS0bF8P7PQH-RiWu0pJzegc4ucH4eCFknN8WOZAchIfS-uiIUPCdof-ETsyuw2vlMc2MdsjvNAhxR7dFKFqkB88JajOclTqHiV2YK5fVg8wKdRUcMXd4jq1BydoiL99HYivH6c9zfSkCpiGGctsPQ1efdM7tu056-hVtpw7YGAWundRxAGqjUZ01xml76LDOV1B2HXyRWeE5oXoFLCx9GTDnCl90GMew-uqEBLzWCwEmrTKldfN57CH7ogEFkKV5WEg9xN3ou5oLbJ30KDSk7CghSGE5QPieNECuPjP8zNY78VIKMNVrCAOSgIFZpfypJSfA596ruex3mwn7zqW42Dy4gRnHYSmxtkDwbDI7bJ5324oJNdHW6w7-5R7wN0wfNk20ghKpZCgakgZkBlwF9cRajU0UhI807hPHt9Ea-to07NoS7\",\"id\":\"rs_68d6745e62dc8196a2fb3c593d658d140287b580b77d495f\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":19,\"completion_tokens\":72,\"total_tokens\":91,\"cost\":0.00074375,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00002375,\"upstream_inference_completions_cost\":0.00072},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 425.564958ms diff --git a/providertests/testdata/TestOpenRouterCommon/gpt-5/simple_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/gpt-5/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9bbe4784cacedfb09127b5bea3f986e4179d766e --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gpt-5/simple_streaming.yaml @@ -0,0 +1,46 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 252 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884962-fX03Skb1GH0VQrIND1mJ","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884962,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884962-fX03Skb1GH0VQrIND1mJ","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884962,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo1nRxcQ6NrQp0JMh6EvLSAUCY4vCJZKomb0j_E7JpPfbiUt42bQ-XtVeGOqTfF08fvNBiNxV74z9-oUk2TF27-fE1hAqVYUJOoJS5vae7yChSltDKBJ2hoxrYB0eLMDz0RSw0nHDX3shG1YMd4U64znHY3Q17Micj8vuJKZIJOTWiAmW8GFJnZhM2IyGzC3ZtHXEQ60PBo7hmf9nFshQA-x75cq8EHLb_7z03CzeERbRLUAlDEndq4-Z5NPercd3Tl4M3O_syyaijW9j-QS0LOQqR0nXPFMhyU259oTQcf3Y1LQIAHgK-TTxuQ2G3TpOKPLk20Yxx5m-QAeGE6rVCfp1WuVKDp6CNpGD9yEhBkO1Z1vnt0XB7VNde2vSHFxcKOIrImfmkmxnC0XXTkWg2dRONdhjJesJ6iLhfWEKxO329VJYTe-H6a_VQyC-e0M-oo2f4iIlnBLMqDZK9W94oX1L57iGtdlKXfqf1U6UyBT8ONXa_SQtch1ArWAMek0k6T_7VoUzs8vlgVb7Vr7KYGCxNv8HGw5SYk6-ONZppINHPN1lKKr55PMvk4gh0sJkBkS68f5SxhwRDypoYOjxk28NPtvMCym32j7ZWznpVM6CptKVKrIE5tj3PhZBUWkcpRAi2ZCn5SRv5JMJn86aAJNYuG-QqHd9-BUExvl0umNZlqknUn4JVt_s8tN9xjgMDOp464UsWLP4sTZKVDgGDlUFNE7buGh9bzrF7J66tvIMQfZAFd8vfTcLfikswc6PYJWeVglIslafyqkJtLoOrI4UaWAoTXRcR_QY3t1QOmP1inRNmWH6RwQonsAcvmLOkBkbV_6H17lMZdSSb5bOf8u9ICFA6aDgsyMeqavGoLC_3EsGiP_JQp11oaFyzD0zWrrADrJvUoBGFBBPTShTSqowP728s1NVQgb4iO3Cr9dNu4kOtS4N8ymYUueXi_P70Q5J9hAZMKJmgrnvsFRFRJj6i07qk6Ole6nBTlxa6YSoFTCD5rGPNK3ey7BOLR5k3aWsPq9ZSGSg-bQM_H1vwqludW-cTIbowSbQoB1cvVIaL9l-uqFm6aX5ZKrpMVaPgoLUDdN_woRXpIxZUtquUizAdcQRVnWx5O1xCZXBISpRHL4rGQTVJg_hSZQ0TgX8erHkGZNjK7cn-wFCkTIj2qRIEhLcc-00PISbHLVe28Dzu2sOGl3_A7BsnNv7RCzRPnN2pXctrTyhvGK_pgNzZ6R52D4h9iEYFAlmwp8FqvOUNapyfOBvjKxaEFDa90kB-2GKbmLZOtcpmXLMNaD2gkiQAaRrOycboQmlyzFgr2P_bOLa5MKGClMBFGrHVmtxAgu4xtGQcfeQnnydtGhH1xxHzm-rsadP8H8ZYFKyLL0S1UU7k7B7VY6O-tMdCoivdOq6ArZMUsRjzvRYN8SS-KGG9nmdwlTfViJK4kx-erPYZDxn8fBhhJID7Hlh_xUOI8iN3-DfZEVdHA8DMlRp3I6AYIEIGvhk1dsIHkpACk8HOtykMry-Gbmdkjch9PDr5OVEDcDcCeYJXmmsUlP1As0U_yiPNEXH4N43XxIYW0IK7hA9PryOMyolRqFdJMRAPkCSa0a6RIL2yn-NikkN5oQ_ZGrUlsI6rxP-6IxFuyOmor4PsKHdxRAd6Du1EGD4XIeG4QOXvyKje85iJpR99S6pw1N8qYbk30pI-X9ARmRcK4j0C8ixzhhkXKnWVrrCGK22Vg887tlpLlavX8eMDKLxYa3YURJrTEPMkL8EzOyuuTTIpqLZVKwsC1mHsCWZSO-DrBLcVMZIYiSWBy2dsYXFDhIoq3AbA9s4cTc8uFzxPAbdQV60eyaB_tRXELwqU7q10sAqtpGLt9-vSfDgasAJMvwsvDDX14HZCxw2nCBqNEQMFSp74DmWwK9tWwgG42gaS1CMWcaQFW23wLzg4GJU1lANUo-Zzbo3U9s_pRxpJx6_7M1ESDiNHAMk2U3DLWGlHIrWNvNBquvDg8O-rk7dw7bgsEA-5iw4LjMi8gEK9Nj2PUi-6m_-RYBzIESIzynPd-oeGfWdgGQJGO9AUN_vlq5GCbJFBcPYRjxBZ5grYvH81d4q18oEUUzpp-ThSjwDH8qR9_3UkSWfSQNIIFBLJyxllzaTnjJNZhzt-GP9dUdRzVxl0lBxiToH6ChE6hy6q","id":"rs_68d67463094c81939dfb04a08ba6fcfb05922c314c0bd99c","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884962-fX03Skb1GH0VQrIND1mJ","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884962,"choices":[{"index":0,"delta":{"role":"assistant","content":"Oi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884962-fX03Skb1GH0VQrIND1mJ","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884962,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884962-fX03Skb1GH0VQrIND1mJ","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884962,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]} + + data: {"id":"gen-1758884962-fX03Skb1GH0VQrIND1mJ","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884962,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":19,"completion_tokens":200,"total_tokens":219,"cost":0.00202375,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002375,"upstream_inference_completions_cost":0.002},"completion_tokens_details":{"reasoning_tokens":192,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 417.176959ms diff --git a/providertests/testdata/TestOpenRouterCommon/gpt-5/tool.yaml b/providertests/testdata/TestOpenRouterCommon/gpt-5/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7f8a29df1da4121096612a68d8f04f9372473cb2 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gpt-5/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 490 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884977-j54SZbXqGEMHXUNmdMkQ\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758884978,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"call_t5AAVn2dwceGA0cbzHJYlFNG\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo1nR0WAiymMDnXOwL8B6lyUIymb3ZCQdzfdQj8cJ1Lo669wC9ml5PTsI-mwZbPSoCp89PxJNeha1snIdNUeMbCQgZ7uKTBkN7FLaOqNJNNWpwaP2YlCyBEm9Mctw_Pa-EkuOowwgrTWk_bOULD35JSar8S9JLgUwnWmNC-S72XQJkoypGNRLdxbz5z49HdU22EfwDsNLPCp20bDels4SC7Bi-knm4YtysQq_BILY-cozo_ieVApk26L2_rrjRK5cifZ1CfGGD63HtsZAh2zDcvDUeT8T3ss973mRzVhg7PMx9lVOY0RG7-kibYopkJmt5OfBSQ1oYdeoVl8-N-PJKwGIhRPuYZ4DF_oNnYAPyCOCiYRJQMa30_kbIpZFeN18auiEBE3Ze-v9z_Oe6IfoUlNTWt02stL0-laAXZrK9Py8uCtDJfLVyvrv1-043tcmeVMYrpDGhbC-OO7eDBsy1Y-ApAAY_eVP6Oif-0MBquh8Va_QHEaQ2jmFVf1hQSqMNQ63Npt4l6JLk8Ho3suhhYP6q3abe50ra2sJwwOq1wzxJ9PUx1to-cyhZUOXXu1uOeEouTgW5rEYpUIcHx0thF9M89wqDKp0unLpwGbYQc8ysg9qWrClKTQnSGyIYfUiVMEciM9q0pYk2mUo_IRZLk4YwTTLrptVtzX9oezjmh1LLyMtaA5g4ifKxs8FZquZhE6Bugh6tSDnqMvWuxLFHe6FcnQTRZg5RQA9xYRNeq_mOB-GyLwFaIh7a6EOuOcilSlm4EyDSpbRmY1SJEmn8ocPHRvm_sw9HSNtDw1TGMNH44KquKziroA7RnxH2_4bCHiedOt0JLizWK61N-FMqMqEJH3DvgXvrkSCBpNopcB8UG2agB8ljlwPT2B_vxkr4dQhzSGBC0DX1oq--W5t_qEOcRTiONhiNvC58uQ8ktQL-NQNs4qCLDJ-C9rPgYRi5HECxowwYQWOkTb-85lk2sH8Z1SMFvLysYueIzlIRZg8iDC4rryONnoOVKJr0SV0wBme8lYDmi7NLnU5pRfiObu_GQv9G26j7eCbQmyFjyXNAgiA-fDrBOgFpFIkRTnPvb94SIhEaQe33rC1nZXF1IH9isPBwGlxQgt5KTd1UhYc_ld0YYM2mY0qlMiOCLJCA4_9XRuiupmOG6BxCVNHhL1sZOHEV6v9ePZgEhQBz4YzGm7X-jkLo6uPHaHMxaLjJZ6h_sh19WYPrrJADkWUlq0jU3b9I_pFN567r-DJx8M8vC8Egna7T6NFbgs1NvDBEUl44nXyc9P9m9t2aW2p4wDYAOeMhZm_P62c-ASQ5gShk7gZbreD8Vt_UH82qm5O5JD2Af9D8p2PTit9zsHz_D-d3hi-oXwoWl3f-Aw8LtjJk43Uxel00TNpMXXbXk-HQhXEpNGDJWBEJoBEr7YyAXnyQYrd8XO-VQR9DI3niAd6tnAcH85sv0r569RBrGdq92Z7c\",\"id\":\"rs_68d67472e4b081979a3070f34743b21d097d10dbc77736f6\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":66,\"completion_tokens\":86,\"total_tokens\":152,\"cost\":0.0009425,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000825,\"upstream_inference_completions_cost\":0.00086},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 679.4675ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 742 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_t5AAVn2dwceGA0cbzHJYlFNG","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_t5AAVn2dwceGA0cbzHJYlFNG","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884981-veEUDoqiAwRsrUopoig3\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758884981,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"It’s currently about 40°C (104°F) in Florence, Italy.\",\"refusal\":null,\"reasoning\":\"**Evaluating weather response**\\n\\nI called the weather function and got a response of \\\"40 C,\\\" which I presume is Celsius. It's important to provide this information clearly. I’ll keep it concise since the user just asked for the weather in Florence, Italy. I think I could say, \\\"Currently about 40°C (104°F) in Florence, Italy.\\\" It might be good to add a note to stay hydrated because it's hot. I might also ask if the user wants a forecast, but that's not necessary.**Finalizing temperature response**\\n\\nI need to keep my response minimal and straightforward. I received \\\"40 C,\\\" which I can assume is the current temperature. I'll phrase it as, \\\"The current temperature is about 40°C.\\\" This captures the necessary information without overcomplicating things. It’s important to be clear and concise, so I'll finalize that. I want the user to easily understand the current temperature without any unnecessary details.\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Evaluating weather response**\\n\\nI called the weather function and got a response of \\\"40 C,\\\" which I presume is Celsius. It's important to provide this information clearly. I’ll keep it concise since the user just asked for the weather in Florence, Italy. I think I could say, \\\"Currently about 40°C (104°F) in Florence, Italy.\\\" It might be good to add a note to stay hydrated because it's hot. I might also ask if the user wants a forecast, but that's not necessary.**Finalizing temperature response**\\n\\nI need to keep my response minimal and straightforward. I received \\\"40 C,\\\" which I can assume is the current temperature. I'll phrase it as, \\\"The current temperature is about 40°C.\\\" This captures the necessary information without overcomplicating things. It’s important to be clear and concise, so I'll finalize that. I want the user to easily understand the current temperature without any unnecessary details.\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo1nR9KDyPRrP5G9TxQcW30_LpJfogOzDHUjImoukDdYEf0NTpGqaYb7f8VczaOJrtlWpYtk5YyRbSGOT5khPpqhV7Oq-W9CBeRmbM0CPgEW2FxVLyprhMVIhGPpEM0HFzIDDWZgXcQGB87iU4ETM_YRMA0ckg_iwVOVADhBEytZQjz8aGOEaWmdGGizMo3xoCpt3Do5tP7UIOR41s1yMGB94aOgPKB8g94lxx1nL6_tK2FKFgrOhptCoKjqb_OXiJSWvqlZlrRwwrAaDg68d8cv-EGLop0p4mioj-04pwbXryGP88j_AZebZEgIykmoMGNcoETcA4GS_wbu8AGmOkPkDNLaIldnjEs5ZUrP1qdQlZGtZj7CnCQEdVU3WMEKCKmhImZsxsSjZupdOrwVFDEBMwPqmetBo764ZW9rNfxTkaqYSc5i4ioQFbu8eEU2O4mAFj6cLnLD1z-K5j2Uwg4FVOMXHHNscSCZBtj9oBK9iqCs_h10GwABWlceePV66YqZnGBDapUD8T4GZrhh-9laJ9HDq3xkJEznUaTP3aIDy79cOS7WDPXK9-mFO29BYrRRfoF0PSrxK-dw-aCy7smHC04RTjPWKk7FCRGCzVGgrXwVjLIhb3y2vrw9AzNQTofwxP8pEIkqWeC1E5gx5wZpYNSTJcG-A33SVhBGW-0aHaJzeWIbR1Cl81nOc0bm-n0jxwq3kSue1ubRyrl8nQEC9T3BPE1_JRkXqnCNuJuI7JgnAoTZbKSg4SvCtx2ygk59REGOFW24oLDcbLL3DBNtPiQxxIhJ6qpHwzlLdoqoPQmbJgFe5wwO2qBy8mGK5JdP6JZakUCofIxT-l3_hRDWOaYHL5lR7uuNo7Dl3D-lRr6oZqufFhYdep2bdUYF-AVacDVJT5RC25plCFVK4GMB5I1Pg_K3O-ia5emjSRGDBr4sE56jRmX3w6sG7-hv74fDYnMw3kURbSrJUSnwa2w725GApZiOFDG7boWexJkbEw-TT8SfUVrTMjv0kHECzq9AGiIuUcVAjw2YpdMIsruIj4iW46x_RPHhw2eaJUHfFPZ7E858JrGy5Y3SzlmkdLZ3RAm2c8p_JI3xKLzo9nj3rATpwJnfb3d3CTWtT_F3aOrVTPKkSJGPmYOsXrDnKmT1gMT0zpzwixA9Vmxo7tIBjxx9EWb3yi9PiBWNU8gNHL0dI3HBjIB9bvX4QSz5f4TeEXHqFaAU7bdhmpAl95tBOHeRK8D0U7CIiFV_Wzt7b9ZsOLQOhc9zObWfiL31jFOQmfdeRqM5DJ5PUcBCY5mTlWerAY143ToTCqdT43KOLzDILJ6PGbBBSWGnh0rfQ9rmH3lK7ole_tIRNWXhCdoae9MVcGjM0bEXH9mkikk6L1pcq6i5egZwmT4EeqswxgsulUCkIQlPAL1Ayyb_TqmeRdAdUOy8rMpxnwdElfEv2KARAnzLFdElCwVprYQZkmdo_2TAvP8sfnluloTc3oqdZp8ff_ojh0pbZ0DKSJ-3fL8PnQswuHwv0-owDwYZgrS-6-grxH-TCg__nkdtkugFa0MgUGihGPJtv-gXMyaglstk-ePJiAD6xyXbU9bVLsNmFBFVr5LPo9Ilb-lGhvmOkbBl5lPKp0WQibkRX4mqHWSYBs5W2RH85dLwnPms59FlRqp4snmmHw22bwq9CIv8nTNzPSza_GrxHGNERduZ7mRs5AP6Nm-dQH3vo0K_0oFHwWJ7HiVqzDI47Yr12Bo4gKHkXJReL9UGgO_xsk9sSl_onGH4oQXY9wz8GZFzjZ00zN-n3x6rkScRSli4aTlygKTgWST-rnnkm36E5sJAfd9FWLQuuucFy6-3G70Q1cDxhh2zLmin_PRq5QHLzT2BAKU9oR5uzI0brB0GuPdz9WXoJAOd60ONTxGPGvLz_kZSnWVKBbVCvkWEnU_wBCHxngt_N5tt3tDv3wQS4XG1QbM0R-qsqVDyAXB7teuYu0NgMcVUgwAmCSNwudrXaThKEPNPoV220YmBvoYtLB0Z0QglPyoB_ek6jG4MNbmA8xGRwSwGCPnhobapyCEp7bTRNYddgCiqF72e2dijXcyZMbQazoPz4kGXQidA-a4Up26ShNoR6Csyk_7bW3HX1dycmNnRImYDTRu4XY2KxZNtNrR9hahLVsE6tlH3PpWY_qJho-6cIF8QWqjzc0avO_xq5ZfODPWM_lW2ZqHzFILxKLWKAXpJpvFIVthxDtWcS-NiqmzcXwguI8Nao4lGs_MDgJ1tROyx7rLXXSg0q5mU_QAFo_4TRUyNBJIbQJW80QFoH1DeODfJ7nJAP0zsQ_gjy8KvcgFB5MH25R9wwTpjgsUx9_S3D0m2nawnIMQfG1TEos5OSzSKjH9Cn4Khj0cGBg8A==\",\"id\":\"rs_68d67477b9f08190b19c46786af6de4c\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":95,\"completion_tokens\":278,\"total_tokens\":373,\"cost\":0.00289875,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00011875,\"upstream_inference_completions_cost\":0.00278},\"completion_tokens_details\":{\"reasoning_tokens\":256,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.695390792s diff --git a/providertests/testdata/TestOpenRouterCommon/gpt-5/tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/gpt-5/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..eb9d8b99503c4350f7f422d37353f768fc76b148 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/gpt-5/tool_streaming.yaml @@ -0,0 +1,505 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 544 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Getting","reasoning_details":[{"type":"reasoning.summary","summary":"**Getting","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" retrieve","reasoning_details":[{"type":"reasoning.summary","summary":" retrieve","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" using","reasoning_details":[{"type":"reasoning.summary","summary":" using","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" There's","reasoning_details":[{"type":"reasoning.summary","summary":" There's","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" specific","reasoning_details":[{"type":"reasoning.summary","summary":" specific","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.summary","summary":" function","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.summary","summary":" this","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".weather","reasoning_details":[{"type":"reasoning.summary","summary":".weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" category","reasoning_details":[{"type":"reasoning.summary","summary":" category","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Since","reasoning_details":[{"type":"reasoning.summary","summary":" Since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" only","reasoning_details":[{"type":"reasoning.summary","summary":" only","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.summary","summary":" call","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" one","reasoning_details":[{"type":"reasoning.summary","summary":" one","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" won't","reasoning_details":[{"type":"reasoning.summary","summary":" won't","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multi","reasoning_details":[{"type":"reasoning.summary","summary":" multi","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"-tool","reasoning_details":[{"type":"reasoning.summary","summary":"-tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" approach","reasoning_details":[{"type":"reasoning.summary","summary":" approach","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I'll","reasoning_details":[{"type":"reasoning.summary","summary":" I'll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" specify","reasoning_details":[{"type":"reasoning.summary","summary":" specify","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.summary","summary":" location","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.summary","summary":" as","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Flor","reasoning_details":[{"type":"reasoning.summary","summary":"Flor","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ence","reasoning_details":[{"type":"reasoning.summary","summary":"ence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.summary","summary":" Italy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.summary","summary":"\"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" then","reasoning_details":[{"type":"reasoning.summary","summary":" then","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" handle","reasoning_details":[{"type":"reasoning.summary","summary":" handle","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" result","reasoning_details":[{"type":"reasoning.summary","summary":" result","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" don't","reasoning_details":[{"type":"reasoning.summary","summary":" don't","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" know","reasoning_details":[{"type":"reasoning.summary","summary":" know","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" exactly","reasoning_details":[{"type":"reasoning.summary","summary":" exactly","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" what","reasoning_details":[{"type":"reasoning.summary","summary":" what","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" will","reasoning_details":[{"type":"reasoning.summary","summary":" will","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" return","reasoning_details":[{"type":"reasoning.summary","summary":" return","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.summary","summary":" but","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" can","reasoning_details":[{"type":"reasoning.summary","summary":" can","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" assume","reasoning_details":[{"type":"reasoning.summary","summary":" assume","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" will","reasoning_details":[{"type":"reasoning.summary","summary":" will","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide","reasoning_details":[{"type":"reasoning.summary","summary":" provide","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" some","reasoning_details":[{"type":"reasoning.summary","summary":" some","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" details","reasoning_details":[{"type":"reasoning.summary","summary":" details","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" So","reasoning_details":[{"type":"reasoning.summary","summary":" So","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I'll","reasoning_details":[{"type":"reasoning.summary","summary":" I'll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" go","reasoning_details":[{"type":"reasoning.summary","summary":" go","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ahead","reasoning_details":[{"type":"reasoning.summary","summary":" ahead","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.summary","summary":" call","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo1nSDXAgNU2mMXhm7Liw4s1U6rPEhDkKcS1VySPM79yYqD-HVjeuHQaqnBw4PzZprARRHnufUeYh9fE-JCsPCMgQfzXQdqUftNm6o8E66vA548UanXR7AcfdloTgcmjh0vX2wPjNQfZ54oLq40pvGmMn1Qs2nM7XNYrQORddx6SixkEhgPcLtg_Va8W6RQZhJdLPxoInX_ZJjDtHS64BaUYW4eynmCIlp_2CfM3AfbfZtIx5PKzlYvXCKN0Ilx62hB0BbCHTirdwWMKOhOgWF-Hzqi5ituP8Z5XxCQwM6D9_e7X9LLJCGyCwIG0Oejo7lLN65qTgOWGhMIvy10IG_ll_xo8YCedv_TufXe04w7jT8qTxAeoCrFdpHYo0B82Wa-NOPSIf0bUupvhvpWw3Sl3muEjANwNbghd5YpDqCnJ8XDaHbrSwHY4Dep7JGVGq_esG3WUAPdwLi7hmj6hcn3qdPzD8G1jGLgyuytttoJMayiOldAgiVjANnhmTf02x0HkTKA0jZkRNdTcFivjnuv7aRvon2x7SUYwdRuqbauYJUtWQDyRufX0gp0beT_-_MmfZJoHQLvtig-01MWUtUOt7rUomZtBCKon0YoyZoyxa-OqCkOESY-sZJT69CmaADkDgblOEpCpJJmVDWal5uKTdiKwU_x9aEQ9VWmnASCCnAAG9TUby1pOhSQk7D652aRNc3Hf8dIvFDmhZcGKbT5uwy6Wf7Kz8MT8YuOK4LSOaoKCU4Pxuz8DtABLFqXe8gRjvp7hxbuzasjWVuT5qVcFts7-5i266vR1-7Wfo6sakgHMXiOLfjGAsPpsF5us9vf608GhMBIHSM8Fatl2FcRE-eMiOCQjKkC1G4fMshsHjW1gkahPy3COoFTNe-KULvoFFFwBPvfexqMnojwEw-Qjk-UG1a3qXHms_r8e5GZWy7cf-RMee9URQbZk5bpEXdot66XCM4cK-R08WCSUD000AlhxCO-UOt4OPmdxkw6SShtrhGSLvI4gD23nRirbHCnDS6QScqceIANN3UxA1H0U3vjzCr4y8EeUbA04m8gCxf3D1u7v7dHPxy0Qya0p3p2fxNHh523ya_f5ISsaxRhM9J-EkgzyejJjq31Mj17qhO4zICc_IrZd-KJ5q8FXYMiDoabS8lx0sqfhGpQSgPFthIGkUB-5Heyl-fpPBuP9H_LxVq-lhs-06El1PD88KJhcSLhhzxLXIaJgb1PNE33xcCZ4qkipFQA1dLd519QwH-exmtfRXruGOknmuxoVSzhqFK9xm3vsk8YuKO-nequK2Ns9cQqetcIO06a5KEw3SS9_hsrt8Hx9jT_LUrUE_zKGvlVt6sUmV25IcrCqHKKy2W4tQ95x80yBdCp7NXOfml-WeJxYx-uOPHbXEY0eaE6EKF","id":"rs_68d6747e9a548190b95355b1d44d5726033f44b97ffb073d","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_Jjv2eOcn9pQSKj2crykiNY1O","index":1,"type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"location"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"Flor"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"ence"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":","}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":" Italy"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"completed","logprobs":null}]} + + data: {"id":"gen-1758884989-jB8YOYIDcKtvkf291rxN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884989,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":66,"completion_tokens":86,"total_tokens":152,"cost":0.0009425,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000825,"upstream_inference_completions_cost":0.00086},"completion_tokens_details":{"reasoning_tokens":64,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 569.327875ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 796 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_Jjv2eOcn9pQSKj2crykiNY1O","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_Jjv2eOcn9pQSKj2crykiNY1O","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Present","reasoning_details":[{"type":"reasoning.summary","summary":"**Present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ing","reasoning_details":[{"type":"reasoning.summary","summary":"ing","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" info","reasoning_details":[{"type":"reasoning.summary","summary":" info","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" received","reasoning_details":[{"type":"reasoning.summary","summary":" received","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" response","reasoning_details":[{"type":"reasoning.summary","summary":" response","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" indicating","reasoning_details":[{"type":"reasoning.summary","summary":" indicating","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.summary","summary":" that","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" current","reasoning_details":[{"type":"reasoning.summary","summary":" current","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.summary","summary":" Florence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.summary","summary":" Italy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 40","reasoning_details":[{"type":"reasoning.summary","summary":" 40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°C","reasoning_details":[{"type":"reasoning.summary","summary":"°C","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I'll","reasoning_details":[{"type":"reasoning.summary","summary":" I'll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" present","reasoning_details":[{"type":"reasoning.summary","summary":" present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" concise","reasoning_details":[{"type":"reasoning.summary","summary":" concise","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" answer","reasoning_details":[{"type":"reasoning.summary","summary":" answer","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" saying","reasoning_details":[{"type":"reasoning.summary","summary":" saying","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"It's","reasoning_details":[{"type":"reasoning.summary","summary":"It's","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" currently","reasoning_details":[{"type":"reasoning.summary","summary":" currently","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" about","reasoning_details":[{"type":"reasoning.summary","summary":" about","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 40","reasoning_details":[{"type":"reasoning.summary","summary":" 40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°C","reasoning_details":[{"type":"reasoning.summary","summary":"°C","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" (","reasoning_details":[{"type":"reasoning.summary","summary":" (","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"104","reasoning_details":[{"type":"reasoning.summary","summary":"104","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°F","reasoning_details":[{"type":"reasoning.summary","summary":"°F","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":")","reasoning_details":[{"type":"reasoning.summary","summary":")","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.summary","summary":" Florence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.summary","summary":" Italy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\"","reasoning_details":[{"type":"reasoning.summary","summary":".\"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Since","reasoning_details":[{"type":"reasoning.summary","summary":" Since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" didn't","reasoning_details":[{"type":"reasoning.summary","summary":" didn't","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ask","reasoning_details":[{"type":"reasoning.summary","summary":" ask","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" extra","reasoning_details":[{"type":"reasoning.summary","summary":" extra","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" can","reasoning_details":[{"type":"reasoning.summary","summary":" can","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" keep","reasoning_details":[{"type":"reasoning.summary","summary":" keep","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" straightforward","reasoning_details":[{"type":"reasoning.summary","summary":" straightforward","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Maybe","reasoning_details":[{"type":"reasoning.summary","summary":" Maybe","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" could","reasoning_details":[{"type":"reasoning.summary","summary":" could","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" suggest","reasoning_details":[{"type":"reasoning.summary","summary":" suggest","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" staying","reasoning_details":[{"type":"reasoning.summary","summary":" staying","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" hydrated","reasoning_details":[{"type":"reasoning.summary","summary":" hydrated","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.summary","summary":" but","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" don't","reasoning_details":[{"type":"reasoning.summary","summary":" don't","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" want","reasoning_details":[{"type":"reasoning.summary","summary":" want","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" over","reasoning_details":[{"type":"reasoning.summary","summary":" over","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"do","reasoning_details":[{"type":"reasoning.summary","summary":"do","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" might","reasoning_details":[{"type":"reasoning.summary","summary":" might","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ask","reasoning_details":[{"type":"reasoning.summary","summary":" ask","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" if","reasoning_details":[{"type":"reasoning.summary","summary":" if","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" they","reasoning_details":[{"type":"reasoning.summary","summary":" they","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" forecast","reasoning_details":[{"type":"reasoning.summary","summary":" forecast","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.summary","summary":" but","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.summary","summary":" that","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’s","reasoning_details":[{"type":"reasoning.summary","summary":"’s","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" optional","reasoning_details":[{"type":"reasoning.summary","summary":" optional","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Let","reasoning_details":[{"type":"reasoning.summary","summary":" Let","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’s","reasoning_details":[{"type":"reasoning.summary","summary":"’s","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" deliver","reasoning_details":[{"type":"reasoning.summary","summary":" deliver","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.summary","summary":" this","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clearly","reasoning_details":[{"type":"reasoning.summary","summary":" clearly","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"!","reasoning_details":[{"type":"reasoning.summary","summary":"!","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo1nSK2YR3saSB0UuiezmmQtTOLZzV78IZnn3GOeVGwOwZhhmxRMN2zw5SpKKM7ZUz2XqKTzEQYGBrz0fl7-JYxTEiEe5p8m48HVKSW7KpegZYnNGdzgvc7BvxPrsU8XKeUQXoRwOQV-VZ4B-bkcqINCgjIds0N84GK5dhkbSu69v_oxYHRkM8oYZWUSenLJldHHvZTaCmI9eNNuaEbeD1WqqVBTOqMu3MsxhETS_YzcLSJ7ZQRfW81BC1Wk6rrvkci840qzmexM7-3Gq7VKc5byF_oS-FZKBtQVpvBS_dn8radWZ_7UESpBSdNpAeA8SMcbuFLXRYF88X722trNXJZgc4Rj9TFDVGidJRzNVE_4TZlGtJw9Jgxnd4bOUqH1iXx3G_ZdyvO5NKAMFOldBMQ498EkWP4FBaeaIQCOQowGFTy_Pr8YbwLiEkl6aJE3ZnNmoNDcUdmnSAbnH3fWAjf0MX7JPDJdpu5h8lZGD6Xjn4fD_Dh1rymUSPm9YmP05OQSc34gSvWZhY2U000ClgcZVjwRDsk89zZYhwANRVOgxegz29BNScudwCWE7guAixsnOCc2z81D-hiB4W1Unfs8CgoMtKcm75RCdTeGJbIU5CZS63sE176jUKTd5KhKgHJKFSnL03xLYMSlJR8W7nnD-2WVNAPYIrXkfE-UbC_VrtU8EHjxApCIRT1Q4Ydny8v2gCF5YsLI-Xb2QQlAs1fEco9Wauzkz4S0KGzVcnUVy9YA3jALlTE58dh3FnUbjpSpck_Oo3WRVVxGa2z_jRjMXzjTxYLleqISdVDt960EPZtvevzSYTu-_1VvHmN-sOk21pEc71wnFXVYavwWzFZFlVIkbWvdMmcL9XOC5Le60cYpCu1zws_cDGdo2kJF_gTDmoG0uMD-okOh2kw34EI8IcJj8u2Ey7Xl5g6xrCKOHkgJ6YaX0xA38-WVpcKbz0IDqORVICwLvXZ-aDBfIahl75votzlfSsAL8eO_rMJK45DsQWvEhfXGfi3xJnKoPxI4tQmGzihzMDYJ-sLzgp00wkGv4PLgUnVxxDkenCxFjqEJFIY04djUVSEKnj1_CGcLmfhuB7hX1YTpWen0_s0wDGblmVCh8vIS5Mv4bJNS4PGgN1XGqk3QRUMGgNvcCMsbANBojfEzEEGIQKEnsvAjDaqY6zFCcgKCc6WVNzwjHzc1SYygrPCf-VDU11zakjgHOL7RkDfVvbRWVRtttb6U4NTfW9rY4pH4ZBKdHD8hiM1r6qZgPYvsCTA507F_iXLuWrw-snU0y7onfUmvmGkaTKxZpimXQTez32BYVKbzR6XCxQFbQ4bT_wTnjZDyNC4xWFpjdWIJ3-nSfFFMvh8XmajH2clzVhq3j4setue9W-wl_S29C_fWpwQmnndy108RK6ml1l9l_x2Iz0mrCvSdJDMd1RxDug-nxfjt2fuEf1OkdTbHmAtx5LDBfHLTsdhtPHrv22UKT40fj6vateezT8M4QJWV_Gemw0888lELvD-jF9b_NT2YsNYMecx-vXC6l95QUnkgHs1OI8IYF_5O9yGAfr0c5acLxEcSUo1iP-tJjdK9WNMRoRZnDpl6P4e-xXi-Hq946p6XfnRICfQrwg7isnGuqAjesLsbGkCQlTrNW5WIsuH2mWY6jR1Rc__Vxx6e1cT5ip-srQTvRqrlstHbUkqefym42saCtqxi53mUYyFbydPsL7TxNhRjpg3OFbe7huzSI1sS3ZIyqku0YWTvd5bvBOdo_yeGDIyCm_cv4u40-eEYyQQ-ouseSeEQYHLFVwbwNOt4qLWZwxZD2vZCxHOdM1jQRoY-57pA8kSlyiyo9ut4II-OI2qmfJVi-nae7y_ADEas9LMJK8BZnFY1Ff7G44ARspGggX-SVRK2w=","id":"rs_68d6748506388190831108050d7017d2","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"It"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"’s"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":" currently"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":" about"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"40"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"104"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":")"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]} + + data: {"id":"gen-1758884995-lNb9pV64L9G7PnO2iG2l","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758884995,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":95,"completion_tokens":150,"total_tokens":245,"cost":0.00161875,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00011875,"upstream_inference_completions_cost":0.0015},"completion_tokens_details":{"reasoning_tokens":128,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.015855334s diff --git a/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/multi_tool.yaml b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f277566cb4607464a2fc99be4c8e48f26860a6c9 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 851 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884856-chsnPeq2jGdcU9CSbU6a\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758884856,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"The user asked to \\\"Add and multiply the number 2 and 3\\\". I need to both add and multiply them.\\n\\n\\n## Interpreting user request \\n- The user wants to perform addition and multiplication on the numbers 2 and 3. \\n- The task requires using both operations as instructed, ensuring both results are calculated. \\n\\n## Executing calculations \\n- Adding 2 and 3 gives a result of 5. \\n- Multiplying 2 and 3 gives a result of 6.\",\"tool_calls\":[{\"id\":\"call_08970942\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"},\"index\":0,\"type\":\"function\"},{\"id\":\"call_91625993\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"},\"index\":1,\"type\":\"function\"}],\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user asked to \\\"Add and multiply the number 2 and 3\\\". I need to both add and multiply them.\\n\\n\\n## Interpreting user request \\n- The user wants to perform addition and multiplication on the numbers 2 and 3. \\n- The task requires using both operations as instructed, ensuring both results are calculated. \\n\\n## Executing calculations \\n- Adding 2 and 3 gives a result of 5. \\n- Multiplying 2 and 3 gives a result of 6.\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":471,\"completion_tokens\":310,\"total_tokens\":781,\"cost\":0.00047856,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":448,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00001356,\"upstream_inference_completions_cost\":0.000465},\"completion_tokens_details\":{\"reasoning_tokens\":242,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 349.181792ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1212 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_08970942","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_91625993","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_08970942","role":"tool"},{"content":"6","tool_call_id":"call_91625993","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n{\"id\":\"gen-1758884858-DBCMngLuNDRMeCBUtycj\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758884858,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The sum of 2 and 3 is 5, and the product is 6.\",\"refusal\":null,\"reasoning\":\"The system message shows that after my function calls, there's \\\"Function: 5\\\" and \\\"6\\\", which are the results.\\n\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The system message shows that after my function calls, there's \\\"Function: 5\\\" and \\\"6\\\", which are the results.\\n\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":795,\"completion_tokens\":111,\"total_tokens\":906,\"cost\":0.00019878,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":704,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00003228,\"upstream_inference_completions_cost\":0.0001665},\"completion_tokens_details\":{\"reasoning_tokens\":92,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 243.059ms diff --git a/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/multi_tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cca37280d7835375447b1d33368102edaf3c7194 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/multi_tool_streaming.yaml @@ -0,0 +1,481 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 888 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asked","reasoning_details":[{"type":"reasoning.text","text":" asked","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Add","reasoning_details":[{"type":"reasoning.text","text":"Add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" number","reasoning_details":[{"type":"reasoning.text","text":" number","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\".","reasoning_details":[{"type":"reasoning.text","text":"\".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.text","text":" have","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tools","reasoning_details":[{"type":"reasoning.text","text":" tools","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_01911889","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_33234080","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884860-K9868CVf6xsUcJcDbCmt","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884860,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":467,"completion_tokens":199,"total_tokens":666,"cost":0.00031126,"is_byok":false,"prompt_tokens_details":{"cached_tokens":448,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00001276,"upstream_inference_completions_cost":0.0002985},"completion_tokens_details":{"reasoning_tokens":131,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 319.45225ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1249 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_01911889","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_33234080","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_01911889","role":"tool"},{"content":"6","tool_call_id":"call_33234080","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"I","reasoning_details":[{"type":"reasoning.text","text":"I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" received","reasoning_details":[{"type":"reasoning.text","text":" received","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" results","reasoning_details":[{"type":"reasoning.text","text":" results","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"5","reasoning_details":[{"type":"reasoning.text","text":"5","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"6","reasoning_details":[{"type":"reasoning.text","text":"6","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" sum","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" of","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"5","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" product","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" of","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884861-bypvhfghiyB2PQlHqaSA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884861,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":680,"completion_tokens":71,"total_tokens":751,"cost":0.00013882,"is_byok":false,"prompt_tokens_details":{"cached_tokens":576,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00003232,"upstream_inference_completions_cost":0.0001065},"completion_tokens_details":{"reasoning_tokens":47,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 323.969833ms diff --git a/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/simple.yaml b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4ec59955d6445cf3b5ec9dbd4371ef3dbc42196d --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 196 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884844-Mc8ZxCMm7HVtkXrOFAmH\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758884844,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá! (That's \\\"hi\\\" in Portuguese.)\",\"refusal\":null,\"reasoning\":\"First, the user says: \\\"Say hi in Portuguese.\\\"\\n\\n\\n## Understanding user request \\n- The user asked to \\\"say hi\\\" in Portuguese, indicating a simple greeting request. \\n- This task requires providing a basic translation without additional complexity. \\n- \\\"Say hi\\\" likely means a casual greeting, aligning with common conversational needs.\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"First, the user says: \\\"Say hi in Portuguese.\\\"\\n\\n\\n## Understanding user request \\n- The user asked to \\\"say hi\\\" in Portuguese, indicating a simple greeting request. \\n- This task requires providing a basic translation without additional complexity. \\n- \\\"Say hi\\\" likely means a casual greeting, aligning with common conversational needs.\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":213,\"completion_tokens\":257,\"total_tokens\":470,\"cost\":0.00039354,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":192,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00000804,\"upstream_inference_completions_cost\":0.0003855},\"completion_tokens_details\":{\"reasoning_tokens\":247,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 278.6ms diff --git a/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/simple_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6597498a6dadcbeed021166d1fc992c7e61f9c72 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/simple_streaming.yaml @@ -0,0 +1,248 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 250 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"First","reasoning_details":[{"type":"reasoning.text","text":"First","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" said","reasoning_details":[{"type":"reasoning.text","text":" said","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Say","reasoning_details":[{"type":"reasoning.text","text":"Say","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" hi","reasoning_details":[{"type":"reasoning.text","text":" hi","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Portuguese","reasoning_details":[{"type":"reasoning.text","text":" Portuguese","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"\n","reasoning_details":[{"type":"reasoning.text","text":"\"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"Olá","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884847-WYJqlR3MNgz0b8uCnebl","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884847,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":213,"completion_tokens":105,"total_tokens":318,"cost":0.00016554,"is_byok":false,"prompt_tokens_details":{"cached_tokens":192,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00000804,"upstream_inference_completions_cost":0.0001575},"completion_tokens_details":{"reasoning_tokens":103,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 253.87975ms diff --git a/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/tool.yaml b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..65816b84d764379f4a0cb9fa464080f65e8c117c --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 488 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n{\"id\":\"gen-1758884848-J0U6mA3pAj5fgfXrEjFc\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758884848,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"The user asked about the weather in Florence, Italy. I need to use the weather tool to get that information.\\n\",\"tool_calls\":[{\"id\":\"call_61353055\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence,Italy\\\"}\"},\"index\":0,\"type\":\"function\"}],\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user asked about the weather in Florence, Italy. I need to use the weather tool to get that information.\\n\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":390,\"completion_tokens\":89,\"total_tokens\":479,\"cost\":0.00014238,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":384,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00000888,\"upstream_inference_completions_cost\":0.0001335},\"completion_tokens_details\":{\"reasoning_tokens\":63,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 240.73225ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 707 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_61353055","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_61353055","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884849-BESQT6lTuRNlJWoTaPUg\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758884849,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current temperature in Florence, Italy, is 40°C. Please note that this is a snapshot and weather can change—consider checking for updates if needed.\",\"refusal\":null,\"reasoning\":\"The tool returned \\\"40 C\\\", which I assume is 40 degrees Celsius for Florence, Italy.\\n\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The tool returned \\\"40 C\\\", which I assume is 40 degrees Celsius for Florence, Italy.\\n\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":492,\"completion_tokens\":74,\"total_tokens\":566,\"cost\":0.00012876,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":448,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00001776,\"upstream_inference_completions_cost\":0.000111},\"completion_tokens_details\":{\"reasoning_tokens\":42,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.856296208s diff --git a/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..faa1ad73337ca226b4b5cf5538ca0e17064abc79 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/grok-code-fast-1/tool_streaming.yaml @@ -0,0 +1,463 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 542 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asked","reasoning_details":[{"type":"reasoning.text","text":" asked","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" about","reasoning_details":[{"type":"reasoning.text","text":" about","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.text","text":" need","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.text","text":" tool","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n\n## Handling User Request \n- The user wants to know the weather in Florence, Italy.","reasoning_details":[{"type":"reasoning.text","text":"\n\n## Handling User Request \n- The user wants to know the weather in Florence, Italy.","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_27772673","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"},"index":0,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884852-U5Y9O1d79zXJK5gXZWxP","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884852,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":390,"completion_tokens":132,"total_tokens":522,"cost":0.00020688,"is_byok":false,"prompt_tokens_details":{"cached_tokens":384,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00000888,"upstream_inference_completions_cost":0.000198},"completion_tokens_details":{"reasoning_tokens":106,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 345.154625ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 761 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_27772673","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_27772673","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.text","text":" tool","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.text","text":"40","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" C","reasoning_details":[{"type":"reasoning.text","text":" C","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"40","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" If","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" need","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" more","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" details","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" like","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" humidity","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" wind","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" or","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" a","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" forecast","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" let","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" me","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":" know","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} + + data: {"id":"gen-1758884854-0CMYVsFI8r1FFAZMjoog","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758884854,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":535,"completion_tokens":88,"total_tokens":623,"cost":0.00014684,"is_byok":false,"prompt_tokens_details":{"cached_tokens":512,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00001484,"upstream_inference_completions_cost":0.000132},"completion_tokens_details":{"reasoning_tokens":58,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 325.227583ms diff --git a/providertests/testdata/TestOpenRouterCommon/kimi-k2/multi_tool.yaml b/providertests/testdata/TestOpenRouterCommon/kimi-k2/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2550b518c2649fb5c8f98d88a2af69ebd893e292 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/kimi-k2/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 853 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884830-zaGHbgLiY1LQM5ZOVLtN\",\"provider\":\"Chutes\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758884830,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll add and multiply the numbers 2 and 3 for you.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"functions.add:0\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"id\":\"functions.multiply:1\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}}]}}],\"usage\":{\"prompt_tokens\":201,\"completion_tokens\":55,\"total_tokens\":256,\"cost\":0.00015998,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00007638,\"upstream_inference_completions_cost\":0.0000836},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.143856417s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1301 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884834-GInh4t6Aro9w3F9lkWTH\",\"provider\":\"SiliconFlow\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758884834,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The results are:\\n- 2 + 3 = 5\\n- 2 × 3 = 6\",\"refusal\":null,\"reasoning\":null}}],\"system_fingerprint\":\"\",\"usage\":{\"prompt_tokens\":310,\"completion_tokens\":23,\"total_tokens\":333,\"cost\":0.00023247,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0001798,\"upstream_inference_completions_cost\":0.00005267},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.290988792s diff --git a/providertests/testdata/TestOpenRouterCommon/kimi-k2/multi_tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/kimi-k2/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b5ca43a0cf1cf9192ed3b0da52ed712aad0985db --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/kimi-k2/multi_tool_streaming.yaml @@ -0,0 +1,221 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 890 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" use"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" both"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" add"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiply"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" functions"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" for"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" numbers"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"functions.add:0","type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":null,"type":"function","function":{"arguments":"3"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"functions.multiply:1","type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":null,"type":"function","function":{"arguments":"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":null,"type":"function","function":{"arguments":"2"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":null,"type":"function","function":{"arguments":"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":null,"type":"function","function":{"arguments":"3"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"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-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884837-DAt3ZHwS4SqjS2Q9UlWc","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884837,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":216,"completion_tokens":57,"total_tokens":273,"cost":0.00025581,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00012528,"upstream_inference_completions_cost":0.00013053},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 2.16851625s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1357 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll use both the add and multiply functions for the numbers 2 and 3.","tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"The results"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" are"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" **"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"Addition"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"**:"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" +"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" ="},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" **"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"Multi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"plication"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"**:"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" ×"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" ="},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884843-D64xm6eEzt7g4zqab1LD","provider":"Fireworks","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884843,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":286,"completion_tokens":31,"total_tokens":317,"cost":0.0002491,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0001716,"upstream_inference_completions_cost":0.0000775},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.343893666s diff --git a/providertests/testdata/TestOpenRouterCommon/kimi-k2/simple.yaml b/providertests/testdata/TestOpenRouterCommon/kimi-k2/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fe03c210cac868163c45faa15da9b43f3f8f1900 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/kimi-k2/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 198 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n{\"id\":\"gen-1758884820-pkZ0QE8RXjFWCt2WTCzO\",\"provider\":\"AtlasCloud\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758884820,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Oi!\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":21,\"completion_tokens\":3,\"total_tokens\":24,\"cost\":0.0000201,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000126,\"upstream_inference_completions_cost\":0.0000075},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 837.696958ms diff --git a/providertests/testdata/TestOpenRouterCommon/kimi-k2/simple_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/kimi-k2/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2ef4101826ba027771a777738e9ba6af82e1df97 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/kimi-k2/simple_streaming.yaml @@ -0,0 +1,44 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 252 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884821-ZnikKLLwFu5NjO5AoIHG","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884821,"choices":[{"index":0,"delta":{"role":"assistant","content":"Ol"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null} + + data: {"id":"gen-1758884821-ZnikKLLwFu5NjO5AoIHG","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884821,"choices":[{"index":0,"delta":{"role":"assistant","content":"á"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null} + + data: {"id":"gen-1758884821-ZnikKLLwFu5NjO5AoIHG","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884821,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":null} + + data: {"id":"gen-1758884821-ZnikKLLwFu5NjO5AoIHG","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884821,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":null} + + data: {"id":"gen-1758884821-ZnikKLLwFu5NjO5AoIHG","provider":"BaseTen","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884821,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":21,"completion_tokens":4,"total_tokens":25,"cost":0.0000226,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000126,"upstream_inference_completions_cost":0.00001},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 553.728583ms diff --git a/providertests/testdata/TestOpenRouterCommon/kimi-k2/tool.yaml b/providertests/testdata/TestOpenRouterCommon/kimi-k2/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2b96e2f6238bf1458e58990587776368dd341af1 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/kimi-k2/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 490 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884821-Px8tA7GjWtgBYTRZpf87\",\"provider\":\"Novita\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758884821,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"weather:0\",\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence, Italy\\\"}\"}}]}}],\"system_fingerprint\":\"fpv0_ef28f882\",\"usage\":{\"prompt_tokens\":76,\"completion_tokens\":20,\"total_tokens\":96,\"cost\":0.0000956,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000456,\"upstream_inference_completions_cost\":0.00005},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.135107s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 703 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"weather:0","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884824-qRbc0CoGllBEAT33MPab\",\"provider\":\"SiliconFlow\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758884824,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Currently, it's **40°C** in Florence, Italy.\",\"refusal\":null,\"reasoning\":null}}],\"system_fingerprint\":\"\",\"usage\":{\"prompt_tokens\":144,\"completion_tokens\":12,\"total_tokens\":156,\"cost\":0.000111,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00008352,\"upstream_inference_completions_cost\":0.00002748},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.805386959s diff --git a/providertests/testdata/TestOpenRouterCommon/kimi-k2/tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/kimi-k2/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..92e98f31328c8cbc3eb8c05ce44b14a78f180940 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/kimi-k2/tool_streaming.yaml @@ -0,0 +1,163 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 544 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":" check"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":" for"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"functions.weather:0","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"},"index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fp_6e6ff3688b"} + + data: {"id":"gen-1758884826-U5ZJVEJjQ0uPyj8la9VS","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884826,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":99,"completion_tokens":32,"total_tokens":131,"cost":0.000195,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000099,"upstream_inference_completions_cost":0.000096},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 269.997625ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 838 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"functions.weather:0","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"functions.weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":"The"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" is"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" currently"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":"40"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":"104"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":")."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" That's"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" quite"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" Make"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" sure"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" stay"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" seek"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" shade"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" if"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" you're"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":" there"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884827-EroginRaI3kJZawhI1Do","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758884827,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":147,"completion_tokens":32,"total_tokens":179,"cost":0.0001045,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00005586,"upstream_inference_completions_cost":0.00004864},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.314927417s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_claude-sonnet-4.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_claude-sonnet-4.yaml deleted file mode 100644 index 2b6f3d210a2bd9e7454fd008cad0d534913c38dc..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_claude-sonnet-4.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 855 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711104-qr7wsEbFdFDCDAUp45sr\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758711104,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll add and multiply the numbers 2 and 3 for you.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"toolu_vrtx_01RTEn52K66BgLyeiSQHCieQ\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"id\":\"toolu_vrtx_01TpgADdV72Ef4fZGQEwMHGG\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}}]}}],\"usage\":{\"prompt_tokens\":507,\"completion_tokens\":137,\"total_tokens\":644,\"cost\":0.003576,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.001521,\"upstream_inference_completions_cost\":0.002055},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.013293875s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1373 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"toolu_vrtx_01RTEn52K66BgLyeiSQHCieQ","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"toolu_vrtx_01TpgADdV72Ef4fZGQEwMHGG","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"toolu_vrtx_01RTEn52K66BgLyeiSQHCieQ","role":"tool"},{"content":"6","tool_call_id":"toolu_vrtx_01TpgADdV72Ef4fZGQEwMHGG","role":"tool"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711107-Huguiw44UwlCJt3n0nqa\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758711107,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The results are:\\n- 2 + 3 = 5\\n- 2 × 3 = 6\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":705,\"completion_tokens\":31,\"total_tokens\":736,\"cost\":0.00258,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.002115,\"upstream_inference_completions_cost\":0.000465},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.315318375s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_deepseek-chat-v3.1-free.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_deepseek-chat-v3.1-free.yaml deleted file mode 100644 index 23b79bba941b8957e44d8fe8d05206354d512cd8..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_deepseek-chat-v3.1-free.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 862 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711266-r2UBgIVaA70vw0jEZC43\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758711267,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll add and multiply the numbers 2 and 3 simultaneously as requested.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"call_784f\",\"function\":{\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\",\"name\":\"add\"},\"type\":\"function\"},{\"index\":1,\"id\":\"call_964d\",\"function\":{\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\",\"name\":\"multiply\"},\"type\":\"function\"}]}}],\"usage\":{\"prompt_tokens\":256,\"completion_tokens\":52,\"total_tokens\":308,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.089050917s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1296 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 simultaneously as requested.","tool_calls":[{"id":"call_784f","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_964d","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_784f","role":"tool"},{"content":"6","tool_call_id":"call_964d","role":"tool"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711270-3P8TjVBNWk6J4f7OzGhz\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758711270,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The addition of 2 and 3 gives us 5, and the multiplication of 2 and 3 gives us 6.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":316,\"completion_tokens\":28,\"total_tokens\":344,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 974.386292ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_gemini-2.0-flash.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_gemini-2.0-flash.yaml deleted file mode 100644 index fb099f75f563b6fd760eeeddaeee45af8f02adb5..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_gemini-2.0-flash.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 857 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n{\"id\":\"gen-1758711124-tPd7mo1fG2fPjLbFWPB1\",\"provider\":\"Google\",\"model\":\"google/gemini-2.0-flash-001\",\"object\":\"chat.completion\",\"created\":1758711124,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"tool_0_add_zNVF5NsiKL72mzDhOHw7\",\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"b\\\":3,\\\"a\\\":2}\"}},{\"index\":1,\"id\":\"tool_1_multiply_dRQvD2GCjEbKHyCqyWEd\",\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"}}]}}],\"usage\":{\"prompt_tokens\":60,\"completion_tokens\":10,\"total_tokens\":70,\"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.000009,\"upstream_inference_completions_cost\":0.000006},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.469108208s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1300 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"tool_0_add_zNVF5NsiKL72mzDhOHw7","function":{"arguments":"{\"b\":3,\"a\":2}","name":"add"},"type":"function"},{"id":"tool_1_multiply_dRQvD2GCjEbKHyCqyWEd","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"tool_0_add_zNVF5NsiKL72mzDhOHw7","role":"tool"},{"content":"6","tool_call_id":"tool_1_multiply_dRQvD2GCjEbKHyCqyWEd","role":"tool"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758711126-tK4XAvBGzRT9YwVVENz9\",\"provider\":\"Google AI Studio\",\"model\":\"google/gemini-2.0-flash-001\",\"object\":\"chat.completion\",\"created\":1758711126,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The sum of 2 and 3 is 5, and the product of 2 and 3 is 6.\\n\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":114,\"completion_tokens\":26,\"total_tokens\":140,\"cost\":0.0000218,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000114,\"upstream_inference_completions_cost\":0.0000104},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 613.917041ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_gemini-2.5-flash.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_gemini-2.5-flash.yaml deleted file mode 100644 index 5675ac85d6a0a2ae9d464d2c4848d879d25e84d1..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_gemini-2.5-flash.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 853 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758711121-DvCDcQ9G570leZSPGCIK\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758711121,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"tool_0_add_XZrSwB02uCRQ3BmxdSc8\",\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"}},{\"index\":1,\"id\":\"tool_1_multiply_DS6HGtFwrdVgJbWlHuhA\",\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"}}]}}],\"usage\":{\"prompt_tokens\":60,\"completion_tokens\":10,\"total_tokens\":70,\"cost\":0.000043,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000018,\"upstream_inference_completions_cost\":0.000025},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 824.951375ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1296 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"tool_0_add_XZrSwB02uCRQ3BmxdSc8","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"tool_1_multiply_DS6HGtFwrdVgJbWlHuhA","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"tool_0_add_XZrSwB02uCRQ3BmxdSc8","role":"tool"},{"content":"6","tool_call_id":"tool_1_multiply_DS6HGtFwrdVgJbWlHuhA","role":"tool"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758711122-RJ3RFSz1bgOvjijQiUlO\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758711122,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The sum of 2 and 3 is 5. The product of 2 and 3 is 6.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":112,\"completion_tokens\":24,\"total_tokens\":136,\"cost\":0.0000936,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000336,\"upstream_inference_completions_cost\":0.00006},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 664.2195ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_glm-4.5.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_glm-4.5.yaml deleted file mode 100644 index ca60d07a477301d71d6504a8fef7e2feb4b0b574..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_glm-4.5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 842 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711199-Z3vfK7bWOtuDLxoR7qNB\",\"provider\":\"Novita\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758711200,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\nI'll add and multiply the numbers 2 and 3 for you.\\n\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"call_020489f543894e85b16e8d58\",\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"index\":1,\"id\":\"call_a52f6447217f4303b13e74a2\",\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}}]}}],\"system_fingerprint\":\"\",\"usage\":{\"prompt_tokens\":290,\"completion_tokens\":58,\"total_tokens\":348,\"cost\":0.0003016,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":43,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000174,\"upstream_inference_completions_cost\":0.0001276},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.739672375s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1340 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_020489f543894e85b16e8d58","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_a52f6447217f4303b13e74a2","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_020489f543894e85b16e8d58","role":"tool"},{"content":"6","tool_call_id":"call_a52f6447217f4303b13e74a2","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711202-sy2KGb7RWzNvRZSNVu6e\",\"provider\":\"SiliconFlow\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758711202,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\nHere are the results for both operations with the numbers 2 and 3:\\n\\n**Addition:** 2 + 3 = 5\\n**Multiplication:** 2 × 3 = 6\",\"refusal\":null,\"reasoning\":null}}],\"system_fingerprint\":\"\",\"usage\":{\"prompt_tokens\":380,\"completion_tokens\":42,\"total_tokens\":422,\"cost\":0.000274,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00019,\"upstream_inference_completions_cost\":0.000084},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.146810666s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_gpt-5.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_gpt-5.yaml deleted file mode 100644 index 3e83003257872edd3b4fcc9fdc0fa05e5d64ffa8..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_gpt-5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 853 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711179-hfCPamowaZA3kViaOYPR\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758711179,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"**Processing developer instructions**\\n\\nI need to follow the developer instruction to always use both add and multiply at the same time. \\n\\nThe tools I have are functions.add and functions.multiply. Since the instruction specifies using both at once, even if the prompt feels sequential, I’ll compute the sum (2+3=5) and the product (2*3=6) together. \\n\\nI’ll use multi_tool_use.parallel to call both functions with inputs a=2 and b=3. After I get the results, I’ll present them to the user clearly and concisely.**Executing calculations**\\n\\nI should summarize the results simply by saying: \\\"Sum: 5; Product: 6.\\\" Now, I'll move forward with the next steps.\\n\\nI need to call multi_tool_use.parallel, creating a tool_uses array with two entries: functions.add and functions.multiply, both using the parameters {a: 2, b: 3}. After that, I’ll wait for the results to come in. Keeping it straightforward will help in presenting the information clearly to the user. Let's get that done!\",\"tool_calls\":[{\"id\":\"call_HImQNOMjD3ZjFACQ5YyNFoRD\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"}},{\"id\":\"call_nx9JK3aH34Kn6TWGRcQpVsBR\",\"index\":2,\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Processing developer instructions**\\n\\nI need to follow the developer instruction to always use both add and multiply at the same time. \\n\\nThe tools I have are functions.add and functions.multiply. Since the instruction specifies using both at once, even if the prompt feels sequential, I’ll compute the sum (2+3=5) and the product (2*3=6) together. \\n\\nI’ll use multi_tool_use.parallel to call both functions with inputs a=2 and b=3. After I get the results, I’ll present them to the user clearly and concisely.**Executing calculations**\\n\\nI should summarize the results simply by saying: \\\"Sum: 5; Product: 6.\\\" Now, I'll move forward with the next steps.\\n\\nI need to call multi_tool_use.parallel, creating a tool_uses array with two entries: functions.add and functions.multiply, both using the parameters {a: 2, b: 3}. After that, I’ll wait for the results to come in. Keeping it straightforward will help in presenting the information clearly to the user. Let's get that done!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo082TmM2I8H3A4J6NC3GZwxqKRb3Zu_jJQ6ifXR3WSJRKPdp9jlOfq3-SbJ_FklLj1agoqvL5WR72QdL10GwHdvBRcLqTKzc8PEj0Wi8eYBjMaUDbFLs335PXQ2j0WkgZa7T69eOxezIMqS5nLf1sD2c1m4kqR5ppV2JuuMRV-brq1OZ4LSgdd5ubBYS_Xv8n_HkK5idBGXk5RqyaxEhbJQisrwN9hJciO2C3v_bFW4xU9heABQ3cW4Au9LzNl6-_i_QhKV_4Wwp9KQL9dwrtfg-P-yw-Oi_UMnl9YCAtArStHcAWqtOaqNaAYJhsovzV3Pdy-q8xWEjCCOZyLSrvIxYNGqEwFGVhimIpV6qnDfG97avovqc0ej3TNSLB6qlkZPImMaCBCTvhzYqB98OsrhQ6l7NcK6nXDXcUWxS8iQk5qlDFWsidVKoud2JzSsYJ-V-jEN24q49w_8CgrhO1PNFCi9a-LF2n3z42hAIANclRjaTDq9xwPp7pSb9bA5gqKhXcgs7B-uEcOkkD3jgZlfsmcVrS64cEoq5K8JHCgI5xF3GdpsIxzICsRCJFC5O7xAabh04JAM0s-MavMzuVGmJ0cczaHVpR0G3thzWZIxi9elvnc1C3lVbhTeQhONT6XMcRdBWyOIkShZCb5G3VNeSPQh1GfCA3i8WeT-eBJyr66zkaCxZe8V17ztqIUC92lEiWRwAIGwWQmQq0R00hHXY8cpM01aTRVnBc4IWTydmLNhiy76axOtZE96QVI149JNA1q1IL0w2Onx-2ukfoAw-fNjBqjz-5fh_JCUMu3_eWRaiky4j9_oqXMdVWhTzdf3Xp5v_-f5c4M5Lq4iZEsaeZnyQ_1lyk_1YIvKYG42PpF1KQii5CdGY7xrYLoMKyP_E3BTEJtsb2ECJ4W8iuJIaje-ukKL5p8MAmTc-EUmyivEjEL2kW4dfRP13aNeIkioSb4LNa2OOLMMtNCH0RS03kul9x467oJDagKATUh5UyGCQqfJwJtFxtdn-qJ63UyTf4zjonkUQQk_DFksPIbETG4nON450JlsgmSn7eJ6gl6FfofQCKk3BX07XH88r2n-GmRD7O3bYzHxT3g7UESPK0BWklYtIBRwOqAbs7MCOwIDelm1-iHAVNCNlJkMKGqY1AmXF_o2eUa_3fJulk6QjQ9h_M2C_Uz-tNxazrZathgBJqod2R7e0yY6wp138CcFQKe1Em8mngTolbacZOrjJk82QpARdmCin_nRDVo4ekwV4Vdg1952MLcQ7x_xYH_FxmrFCfOBtuO7krapx9ZlAgpy9suGE8HfFzdf-tK7zxUnCboBBpWLSh8w3htmZ0IzusdGPohXuwoB2-IKyZ1Dgi1z7RLQ8JLdFLU8UqY_iGSU_nBBOD6mm6ujvvDnmbr1HmdrON6xO-E6XHTSbFVS_8ubRtSKgkkwOkYTzjL2wguOZcYimxHIDFrKV4nqEEHRRPswMmw-ZwbQQIHow4nJc8zymaGJ91iu1-c37e4sThKKdkxdd1adkpXgf5LT-KJrqpAUa6nUMHMx96yBWTTRyrLy6lKufNmgf_x-BajoIk8uCijUEDkpFPkMd2_nY6Snn2wkl4R4MHNdROPfvw5OWltJNB8RzYYWzD_2rYZCG8UH9ltNe9mgKrcxOFlC7NdWKPReHtXloJ8vdBvgVDFtJnRyIyad3PkFRIrwPDaGx2S8iXXoJLhStgwWERqAZo5tEIYyvNPEQOPJiz6TgR_eTZGU07CT3ph-ATtRdkNmqnmMOjs7EKyl-mNrf-n7GWALM_krzCZgF8flWplWRHgTiTdJz1ZjbTeleIpt3i1gosetFRBNKLpvbN5zHYv3kiCFqGCFR7NEJipJbVfMt6ot6hwNOFBFbDwFQ-8gTI7TvdqUQG4cx--z7HXEJyHn2GqrMpfY69ReenU8M0JAP05Q1STxva1jr8p5fYNUEVj9KZba610yYWwS8uPmBLzlJW8vO4fNWioKBi7uS3Uz8U3r2Sh8PMFQGl_iIErBXITCWt1G888uuOlwN5HI3kzV4pNiuQmSz_pNtejYhf24Taj71w1osCKKDerutk7KibgUyNMK0ACzSlc92EfEphmZC0Z34wpRHHaT4iA9rOLmQ_y1Cl2YGbGa9Pa20BH6he16v4vd8H3-e_06wRdFIgLd-IK7hqmk8a4r-7-mTuEBZFSrTkMYvjGXjfCEUgpczibctl9FRh52t8sqZYPgq9W62_1REuHTfI9Bb2R8OEWuRrhSzZANjl7ZdoQcfkjocO0qjF9ZPu3REZ8x98W6UkrG-RI_30h0xTwA0jEJCVLtBD3F60AbyWaNGi4A3sW3el1-KLNQm8P-NqrDOd-bFMR_mg-pU_xhGnrEjbkTr_n0XILakUa4GmPdLI3_3XaKp40L3rf0I=\",\"id\":\"rs_68d3cd8c4b288195a0284105d59c487c0eec47f7506c059c\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":112,\"completion_tokens\":311,\"total_tokens\":423,\"cost\":0.001625,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00007,\"upstream_inference_completions_cost\":0.001555},\"completion_tokens_details\":{\"reasoning_tokens\":256,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 631.741125ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1278 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_HImQNOMjD3ZjFACQ5YyNFoRD","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_nx9JK3aH34Kn6TWGRcQpVsBR","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_HImQNOMjD3ZjFACQ5YyNFoRD","role":"tool"},{"content":"6","tool_call_id":"call_nx9JK3aH34Kn6TWGRcQpVsBR","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711187-tq82076W3E503qGdXETQ\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758711188,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Results:\\n- Addition (2 + 3) = 5\\n- Multiplication (2 × 3) = 6\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":171,\"completion_tokens\":30,\"total_tokens\":201,\"cost\":0.000256875,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000106875,\"upstream_inference_completions_cost\":0.00015},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 620.752583ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_grok-4-fast-free.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_grok-4-fast-free.yaml deleted file mode 100644 index 20f4b2363f5a464acefe30640265b8eea112f6f8..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_grok-4-fast-free.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 851 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n{\"id\":\"gen-1758711116-dCE25caciE6ykrsOcwUB\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-4-fast:free\",\"object\":\"chat.completion\",\"created\":1758711116,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"call_47704308\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"},\"index\":0,\"type\":\"function\"},{\"id\":\"call_50126132\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"},\"index\":1,\"type\":\"function\"}]}}],\"system_fingerprint\":\"fp_9362061f30\",\"usage\":{\"prompt_tokens\":398,\"completion_tokens\":202,\"total_tokens\":600,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":265,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":134,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 248.700959ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1212 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_47704308","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_50126132","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_47704308","role":"tool"},{"content":"6","tool_call_id":"call_50126132","role":"tool"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758711118-C7t0QHAulVWg4zSYcUiQ\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-4-fast:free\",\"object\":\"chat.completion\",\"created\":1758711118,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The sum of 2 and 3 is 5. \\nThe product of 2 and 3 is 6.\",\"refusal\":null,\"reasoning\":null}}],\"system_fingerprint\":\"fp_9362061f30\",\"usage\":{\"prompt_tokens\":614,\"completion_tokens\":85,\"total_tokens\":699,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":566,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":60,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 323.741625ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_grok-code-fast-1.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_grok-code-fast-1.yaml deleted file mode 100644 index 141be87f8dfc8aca70048d918a8f5264c5f2de49..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_grok-code-fast-1.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 851 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711097-SFJZdkndPbB1BQ2GSXbE\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758711097,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"The user asked to \\\"Add and multiply the number 2 and 3\\\". The tools available are add and multiply, and the instruction says \\\"CRITICAL: Always use both add and multiply at the same time ALWAYS.\\\"\\n\\n\\n## Interpreting user request \\n- The user wants to add and multiply the numbers 2 and 3. \\n- The instruction emphasizes using both addition and multiplication simultaneously, which seems unusual.\",\"tool_calls\":[{\"id\":\"call_15767770\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"},\"index\":0,\"type\":\"function\"},{\"id\":\"call_35139389\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\":2,\\\"b\\\":3}\"},\"index\":1,\"type\":\"function\"}],\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user asked to \\\"Add and multiply the number 2 and 3\\\". The tools available are add and multiply, and the instruction says \\\"CRITICAL: Always use both add and multiply at the same time ALWAYS.\\\"\\n\\n\\n## Interpreting user request \\n- The user wants to add and multiply the numbers 2 and 3. \\n- The instruction emphasizes using both addition and multiplication simultaneously, which seems unusual.\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":471,\"completion_tokens\":328,\"total_tokens\":799,\"cost\":0.00051708,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":384,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00002508,\"upstream_inference_completions_cost\":0.000492},\"completion_tokens_details\":{\"reasoning_tokens\":260,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 640.444542ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1212 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_15767770","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_35139389","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_15767770","role":"tool"},{"content":"6","tool_call_id":"call_35139389","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n{\"id\":\"gen-1758711099-dB7eJlXSNGCMbogmlqnu\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758711099,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The sum of 2 and 3 is 5, and the product is 6.\",\"refusal\":null,\"reasoning\":\"The tools returned:\\n\\nadd(2,3) = 5\\n\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The tools returned:\\n\\nadd(2,3) = 5\\n\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":813,\"completion_tokens\":155,\"total_tokens\":968,\"cost\":0.00026838,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":704,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00003588,\"upstream_inference_completions_cost\":0.0002325},\"completion_tokens_details\":{\"reasoning_tokens\":136,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 559.659416ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_kimi-k2.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_kimi-k2.yaml deleted file mode 100644 index 9953a6a431f7da6c60351a1150b5c436faca662d..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_kimi-k2.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 853 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711290-B8laqSO7uObfzsMSZau3\",\"provider\":\"Chutes\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758711290,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll add and multiply the numbers 2 and 3 for you.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"functions.add:0\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"id\":\"functions.multiply:1\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}}]}}],\"usage\":{\"prompt_tokens\":201,\"completion_tokens\":55,\"total_tokens\":256,\"cost\":0.00015998,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00007638,\"upstream_inference_completions_cost\":0.0000836},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.448800333s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1301 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n{\"id\":\"gen-1758711292-xcByOtSTKSdvzWh7O9q7\",\"provider\":\"DeepInfra\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758711292,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The results are:\\n- Addition: 2 + 3 = 5\\n- Multiplication: 2 × 3 = 6\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":288,\"completion_tokens\":28,\"total_tokens\":316,\"cost\":0.0002,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000144,\"upstream_inference_completions_cost\":0.000056},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 628.602375ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_qwen3-235b-a22b-2507.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_qwen3-235b-a22b-2507.yaml deleted file mode 100644 index 3e72bb52060d37b2676750cc48ca2128c6852d86..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_qwen3-235b-a22b-2507.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 855 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711143-rzp9hQbAtM5H7JvOkbHR\",\"provider\":\"SiliconFlow\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758711143,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"01997b5abdfab161a0de096a2b85f560\",\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\" {\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"index\":1,\"id\":\"01997b5ac4a34b79b4de6bdc63fbf401\",\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\" {\\\"a\\\": 2, \\\"b\\\": 3}\"}}]}}],\"system_fingerprint\":\"\",\"usage\":{\"prompt_tokens\":285,\"completion_tokens\":49,\"total_tokens\":334,\"cost\":0.0000636,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000342,\"upstream_inference_completions_cost\":0.0000294},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.191387667s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1300 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"01997b5abdfab161a0de096a2b85f560","function":{"arguments":" {\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"01997b5ac4a34b79b4de6bdc63fbf401","function":{"arguments":" {\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"01997b5abdfab161a0de096a2b85f560","role":"tool"},{"content":"6","tool_call_id":"01997b5ac4a34b79b4de6bdc63fbf401","role":"tool"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758711171-siwuCu4qW0L1Cg2wbIgw\",\"provider\":\"Together\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758711172,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The result of adding 2 and 3 is 5, and the result of multiplying 2 and 3 is 6.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":357,\"completion_tokens\":28,\"total_tokens\":385,\"cost\":0.0000882,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000714,\"upstream_inference_completions_cost\":0.0000168},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.568455042s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_claude-sonnet-4.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_claude-sonnet-4.yaml deleted file mode 100644 index ba8031e811297899a47cbb103bdc8808dc9d8fc3..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_claude-sonnet-4.yaml +++ /dev/null @@ -1,129 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 892 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll add an","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":"d multiply the numbers","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":" 2 and 3 for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":" you.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"toolu_vrtx_01Gd4wT9QPhkpPB6zkNLCkaj","index":0,"type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"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}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"{\"a\": 2"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":", \"b\": "}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"toolu_vrtx_01AR68sZeZk9EHztGXwsQNGd","index":1,"type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{\"a\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":" 2"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":", \"b\": 3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} - - data: {"id":"gen-1758711110-d1eiw2aD7Ko72nixF4yC","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711110,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":502,"completion_tokens":137,"total_tokens":639,"cost":0.003561,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001506,"upstream_inference_completions_cost":0.002055},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 2.526253917s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1410 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"toolu_vrtx_01Gd4wT9QPhkpPB6zkNLCkaj","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"toolu_vrtx_01AR68sZeZk9EHztGXwsQNGd","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"toolu_vrtx_01Gd4wT9QPhkpPB6zkNLCkaj","role":"tool"},{"content":"6","tool_call_id":"toolu_vrtx_01AR68sZeZk9EHztGXwsQNGd","role":"tool"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":" results are","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n- ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":"2 + 3 = ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":"5\n- 2 × ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":"3 = 6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758711114-vSDMCR8AThKqPT5j7V8J","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758711114,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":700,"completion_tokens":31,"total_tokens":731,"cost":0.002565,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0021,"upstream_inference_completions_cost":0.000465},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.979107709s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_deepseek-chat-v3.1-free.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_deepseek-chat-v3.1-free.yaml deleted file mode 100644 index 0ad8f090fb57b46633c50d54082adda53a17ed6d..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_deepseek-chat-v3.1-free.yaml +++ /dev/null @@ -1,129 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 899 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":"I","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":"'ll add","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":" and multiply","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":" the","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":" numbers ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":"2 and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":" 3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":" for you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_a90d","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"call_e370","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} - - data: {"id":"gen-1758711137-WUuld9IK9F7MG5fy5exx","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711137,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":250,"completion_tokens":51,"total_tokens":301,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 817.904583ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1313 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"call_a90d","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_e370","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_a90d","role":"tool"},{"content":"6","tool_call_id":"call_e370","role":"tool"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" addition","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" of ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":"2 and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" 3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" gives","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":":","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":"5\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":"The multiplication","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" of ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":"2 and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" 3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" gives:","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":" 6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758711140-TZ4XeIjvKpQCEmPcwT9q","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758711140,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":309,"completion_tokens":26,"total_tokens":335,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.000907583s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gemini-2.0-flash.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gemini-2.0-flash.yaml deleted file mode 100644 index c222165ac7745431960332e92e568bfe9969691b..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gemini-2.0-flash.yaml +++ /dev/null @@ -1,77 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 894 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711127-YkQltErQCppBW4EPbztY","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758711127,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"tool_0_add_Xx7CTt77LOuXCeqn65CJ","type":"function","function":{"name":"add","arguments":"{\"b\":3,\"a\":2}"}},{"index":1,"id":"tool_1_multiply_h7WIM2aqN2mmQm5L0Pel","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"}}]},"finish_reason":"tool_calls","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758711127-YkQltErQCppBW4EPbztY","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758711127,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":57,"completion_tokens":10,"total_tokens":67,"cost":0.0000097,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000057,"upstream_inference_completions_cost":0.000004},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 960.158666ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1337 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"tool_0_add_Xx7CTt77LOuXCeqn65CJ","function":{"arguments":"{\"b\":3,\"a\":2}","name":"add"},"type":"function"},{"id":"tool_1_multiply_h7WIM2aqN2mmQm5L0Pel","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"tool_0_add_Xx7CTt77LOuXCeqn65CJ","role":"tool"},{"content":"6","tool_call_id":"tool_1_multiply_h7WIM2aqN2mmQm5L0Pel","role":"tool"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711128-hnGukf16vM7usStaWuia","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758711128,"choices":[{"index":0,"delta":{"role":"assistant","content":"The"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711128-hnGukf16vM7usStaWuia","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758711128,"choices":[{"index":0,"delta":{"role":"assistant","content":" sum of 2 and 3 is 5, and the product of "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711128-hnGukf16vM7usStaWuia","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758711128,"choices":[{"index":0,"delta":{"role":"assistant","content":"2 and 3 is 6.\n"},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758711128-hnGukf16vM7usStaWuia","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758711128,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":111,"completion_tokens":26,"total_tokens":137,"cost":0.0000215,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000111,"upstream_inference_completions_cost":0.0000104},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 591.01ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gemini-2.5-flash.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gemini-2.5-flash.yaml deleted file mode 100644 index 96c590de992ce50bdbaf3146ed7bc240eb13fc4a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gemini-2.5-flash.yaml +++ /dev/null @@ -1,75 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 890 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711123-SCstvAEkjnq3uSjutINq","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758711123,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"tool_0_add_5fYLTchpiecMzp0E3MuT","type":"function","function":{"name":"add","arguments":"{\"b\":3,\"a\":2}"}},{"index":1,"id":"tool_1_multiply_tabgjgUGjQdjG55TfoRe","type":"function","function":{"name":"multiply","arguments":"{\"b\":3,\"a\":2}"}}]},"finish_reason":"tool_calls","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758711123-SCstvAEkjnq3uSjutINq","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758711123,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":57,"completion_tokens":10,"total_tokens":67,"cost":0.0000421,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000171,"upstream_inference_completions_cost":0.000025},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 799.677125ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1333 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"tool_0_add_5fYLTchpiecMzp0E3MuT","function":{"arguments":"{\"b\":3,\"a\":2}","name":"add"},"type":"function"},{"id":"tool_1_multiply_tabgjgUGjQdjG55TfoRe","function":{"arguments":"{\"b\":3,\"a\":2}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"tool_0_add_5fYLTchpiecMzp0E3MuT","role":"tool"},{"content":"6","tool_call_id":"tool_1_multiply_tabgjgUGjQdjG55TfoRe","role":"tool"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711124-0jq7poDb0N8OqunTOAdQ","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758711124,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711124-0jq7poDb0N8OqunTOAdQ","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758711124,"choices":[{"index":0,"delta":{"role":"assistant","content":" + 3 = 5 and 2 * 3 = 6.","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758711124-0jq7poDb0N8OqunTOAdQ","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758711124,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":109,"completion_tokens":17,"total_tokens":126,"cost":0.0000752,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000327,"upstream_inference_completions_cost":0.0000425},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 749.9385ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_glm-4.5.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_glm-4.5.yaml deleted file mode 100644 index c0a759758ac96a8792c85c6c0fa896ddad39605b..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_glm-4.5.yaml +++ /dev/null @@ -1,465 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 879 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asking","reasoning_details":[{"type":"reasoning.text","text":" asking","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" me","reasoning_details":[{"type":"reasoning.text","text":" me","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" numbers","reasoning_details":[{"type":"reasoning.text","text":" numbers","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.text","text":" need","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.text","text":" functions","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" instructed","reasoning_details":[{"type":"reasoning.text","text":" instructed","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Let","reasoning_details":[{"type":"reasoning.text","text":" Let","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" me","reasoning_details":[{"type":"reasoning.text","text":" me","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" check","reasoning_details":[{"type":"reasoning.text","text":" check","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameters","reasoning_details":[{"type":"reasoning.text","text":" parameters","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":\n\n","reasoning_details":[{"type":"reasoning.text","text":":\n\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"For","reasoning_details":[{"type":"reasoning.text","text":"For","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"=","reasoning_details":[{"type":"reasoning.text","text":"=","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" b","reasoning_details":[{"type":"reasoning.text","text":" b","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"=","reasoning_details":[{"type":"reasoning.text","text":"=","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"For","reasoning_details":[{"type":"reasoning.text","text":"For","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"=","reasoning_details":[{"type":"reasoning.text","text":"=","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" b","reasoning_details":[{"type":"reasoning.text","text":" b","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"=","reasoning_details":[{"type":"reasoning.text","text":"=","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n\n","reasoning_details":[{"type":"reasoning.text","text":"\n\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"I","reasoning_details":[{"type":"reasoning.text","text":"I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.text","text":" have","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" all","reasoning_details":[{"type":"reasoning.text","text":" all","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" required","reasoning_details":[{"type":"reasoning.text","text":" required","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameters","reasoning_details":[{"type":"reasoning.text","text":" parameters","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" so","reasoning_details":[{"type":"reasoning.text","text":" so","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" can","reasoning_details":[{"type":"reasoning.text","text":" can","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" proceed","reasoning_details":[{"type":"reasoning.text","text":" proceed","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" with","reasoning_details":[{"type":"reasoning.text","text":" with","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" calls","reasoning_details":[{"type":"reasoning.text","text":" calls","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"I","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"'ll","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" add","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiply","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" the","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" numbers","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":" you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":".\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_a971a8a3853a47ec84e96bc1","index":0,"type":"function","function":{"name":"add","arguments":"{\"a\": 2, \"b\": 3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_112b82883e224cb3a8ee86ce","index":1,"type":"function","function":{"name":"multiply","arguments":"{\"a\": 2, \"b\": 3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} - - data: {"id":"gen-1758711207-umEm6utyXvuJO86XOhB2","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711207,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":280,"completion_tokens":136,"total_tokens":416,"cost":0.0003392,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0001148,"upstream_inference_completions_cost":0.0002244},"completion_tokens_details":{"reasoning_tokens":75,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.046051292s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1379 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_a971a8a3853a47ec84e96bc1","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_112b82883e224cb3a8ee86ce","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_a971a8a3853a47ec84e96bc1","role":"tool"},{"content":"6","tool_call_id":"call_112b82883e224cb3a8ee86ce","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asked","reasoning_details":[{"type":"reasoning.text","text":" asked","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" me","reasoning_details":[{"type":"reasoning.text","text":" me","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" numbers","reasoning_details":[{"type":"reasoning.text","text":" numbers","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" used","reasoning_details":[{"type":"reasoning.text","text":" used","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.text","text":" functions","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" instructed","reasoning_details":[{"type":"reasoning.text","text":" instructed","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" by","reasoning_details":[{"type":"reasoning.text","text":" by","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" system","reasoning_details":[{"type":"reasoning.text","text":" system","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" prompt","reasoning_details":[{"type":"reasoning.text","text":" prompt","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" The","reasoning_details":[{"type":"reasoning.text","text":" The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"5","reasoning_details":[{"type":"reasoning.text","text":"5","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" (","reasoning_details":[{"type":"reasoning.text","text":" (","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" +","reasoning_details":[{"type":"reasoning.text","text":" +","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" =","reasoning_details":[{"type":"reasoning.text","text":" =","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"5","reasoning_details":[{"type":"reasoning.text","text":"5","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":")","reasoning_details":[{"type":"reasoning.text","text":")","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"6","reasoning_details":[{"type":"reasoning.text","text":"6","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" (","reasoning_details":[{"type":"reasoning.text","text":" (","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" *","reasoning_details":[{"type":"reasoning.text","text":" *","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" =","reasoning_details":[{"type":"reasoning.text","text":" =","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"6","reasoning_details":[{"type":"reasoning.text","text":"6","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":").","reasoning_details":[{"type":"reasoning.text","text":").","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide","reasoning_details":[{"type":"reasoning.text","text":" provide","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" results","reasoning_details":[{"type":"reasoning.text","text":" results","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" results","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" are","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"-","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" Addition","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":":","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" +","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" =","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"5","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"-","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" Multip","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"lication","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":":","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" ×","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" =","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758711210-nczspBIlPEM37zswPSF4","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758711210,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":354,"completion_tokens":103,"total_tokens":457,"cost":0.00031509,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00014514,"upstream_inference_completions_cost":0.00016995},"completion_tokens_details":{"reasoning_tokens":66,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.76317575s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gpt-5.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gpt-5.yaml deleted file mode 100644 index 7c286e4cd23ee021b89f9d57502f0876a05393a2..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_gpt-5.yaml +++ /dev/null @@ -1,373 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 890 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"I","reasoning_details":[{"type":"reasoning.summary","summary":"I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" make","reasoning_details":[{"type":"reasoning.summary","summary":" make","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" sure","reasoning_details":[{"type":"reasoning.summary","summary":" sure","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.summary","summary":" have","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" commentary","reasoning_details":[{"type":"reasoning.summary","summary":" commentary","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.summary","summary":" call","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" After","reasoning_details":[{"type":"reasoning.summary","summary":" After","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.summary","summary":" that","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.summary","summary":" should","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" present","reasoning_details":[{"type":"reasoning.summary","summary":" present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" natural","reasoning_details":[{"type":"reasoning.summary","summary":" natural","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" language","reasoning_details":[{"type":"reasoning.summary","summary":" language","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" response","reasoning_details":[{"type":"reasoning.summary","summary":" response","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" results","reasoning_details":[{"type":"reasoning.summary","summary":" results","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" It","reasoning_details":[{"type":"reasoning.summary","summary":" It","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" seems","reasoning_details":[{"type":"reasoning.summary","summary":" seems","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" like","reasoning_details":[{"type":"reasoning.summary","summary":" like","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".add","reasoning_details":[{"type":"reasoning.summary","summary":".add","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" will","reasoning_details":[{"type":"reasoning.summary","summary":" will","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" return","reasoning_details":[{"type":"reasoning.summary","summary":" return","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" JSON","reasoning_details":[{"type":"reasoning.summary","summary":" JSON","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" value","reasoning_details":[{"type":"reasoning.summary","summary":" value","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.summary","summary":" but","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I'm","reasoning_details":[{"type":"reasoning.summary","summary":" I'm","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" not","reasoning_details":[{"type":"reasoning.summary","summary":" not","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" entirely","reasoning_details":[{"type":"reasoning.summary","summary":" entirely","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" sure","reasoning_details":[{"type":"reasoning.summary","summary":" sure","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" proceed","reasoning_details":[{"type":"reasoning.summary","summary":" proceed","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.summary","summary":" that","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" assumption","reasoning_details":[{"type":"reasoning.summary","summary":" assumption","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Once","reasoning_details":[{"type":"reasoning.summary","summary":" Once","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.summary","summary":" have","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" outputs","reasoning_details":[{"type":"reasoning.summary","summary":" outputs","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" can","reasoning_details":[{"type":"reasoning.summary","summary":" can","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" show","reasoning_details":[{"type":"reasoning.summary","summary":" show","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" results","reasoning_details":[{"type":"reasoning.summary","summary":" results","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Sum","reasoning_details":[{"type":"reasoning.summary","summary":" Sum","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" will","reasoning_details":[{"type":"reasoning.summary","summary":" will","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 5","reasoning_details":[{"type":"reasoning.summary","summary":" 5","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Product","reasoning_details":[{"type":"reasoning.summary","summary":" Product","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" will","reasoning_details":[{"type":"reasoning.summary","summary":" will","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 6","reasoning_details":[{"type":"reasoning.summary","summary":" 6","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" So","reasoning_details":[{"type":"reasoning.summary","summary":" So","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’m","reasoning_details":[{"type":"reasoning.summary","summary":"’m","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" going","reasoning_details":[{"type":"reasoning.summary","summary":" going","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" execute","reasoning_details":[{"type":"reasoning.summary","summary":" execute","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parallel","reasoning_details":[{"type":"reasoning.summary","summary":" parallel","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.summary","summary":" call","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.summary","summary":" both","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.summary","summary":" add","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.summary","summary":" multiply","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" using","reasoning_details":[{"type":"reasoning.summary","summary":" using","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameters","reasoning_details":[{"type":"reasoning.summary","summary":" parameters","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" {","reasoning_details":[{"type":"reasoning.summary","summary":" {","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"a","reasoning_details":[{"type":"reasoning.summary","summary":"a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.summary","summary":"2","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" b","reasoning_details":[{"type":"reasoning.summary","summary":" b","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.summary","summary":"3","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"}.","reasoning_details":[{"type":"reasoning.summary","summary":"}.","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo082cMhBSv4idx6F7RtNtxzS9XZgknZGDtLC5yX_BP4eRmuxRM9t4mdLo78_KilsDYe3cTU4Wnsfqf2480QRocE-gJSmk4HavohUezJ2Fwe53FbowiFW-kv8eucf8srDihUYucDfqRBRmQHLwbB6FHe_aR5HBV4VzzwWrjPYYG8keTck9d_e0GacFcmZeFThj-BNTSpwhw9d8iTB34N5qdePugwaPbMoY3tqfyzhY1HVTQGPXrQR9J2hOfvUK3gdc-KvGpIcpWTBu3jjZydMsRWAoaPeIEYPJk8PmRX1ZWqA0bC_ZN6mSa03ny1SRk_ILZfhlq7V7dtlj3CJLVcakIJjXTERmWMCta13_XsxcSqP7GFG30c45XCdD8ORDJAerF-i1pZnon_fNLKtWxRWkm_j7TNgUU9_Md2KLsSlYrISlsvndcVToBAAEin1yw0vDWnCGhmn0DQEf-xATF2zCw8TaKstcfcxsHgyrFloJTipbe75BcRYzzUyrupKFEx8C7pDnd4jsJwYDVxPp7977YXY723dGkkpxFAJ6-dgSRTai5acsuOTgkADK7CD_YMeCcE1VyNQ3SxiZ7ujylyTpLGUKeTWKeGCQhOXFacGp-k3wP7_uC1c73LB6Jhut-wrWrSQC9JMyKX9Z9Y4QKOoTzg9UMhZdd-9bgfozn3GShmJqfKC156xWF75RRm5xdU8iVPDl4FHxInc1RbvzrP9MVVb-ST-6Q-NkcwpWRAAAXPiX6xXHD-LVvNXQjFm0Oh36oe4G3w6fx4I1S0mJBFP3g69GxI94URMyGSoXcx3rgMSSYGBW196W2dgLsV_EsOUlJMydwWtBXqslqndf-ko4h7VrRxhpjpwYxCRXSz6DENHpsbj2Vf-86Ub9wM9ISfKkDErdQGECGIDiJNKeXB-nIss605O319arFA5zpMzUREDMCL2YGGd8PRQc-Vn12PtIROa3gGrSTvKWMGw3MqN46U4Z6yUW53425L1JOuF7q2EYSGKz8zGpsfEukJrsTDzAG3NjNTTHUIlNKaJ4sSvS5rFgqUebpDBAS1mJftukdiEcv8v9vBbpQrq5LX-kf8FjlnjYg9WPxtluM92pz1a97st5GxIhmRQBX__x0F51xlFgDmgyW0C-3wQhZUjsD4Nx3wqsFZIOV_IdvHcRD4lqv08EQKo2eY9oZTIWqYbiFOb6xieAx76jTOzMgFKi9CV1B6xeGi4a_JEumCzKAqiCQmBHy6wJe1VRtSuvblGT0sXc8t7bmRSPweVWtLsuMA_qA5aLjogiJ8EqybPmR_iPbh-PMyvKb8DxubW0KRpKP3F1UH7aU0KA34bwm5RNxqda9j5loItT63y9iE6mzFf7hiksAzDHoSV1PemZR-MV4miN-umG-tkGMQHtfO2NoNhdIDdy45HLE0GnHPjxXs_vVourUYZjuyKeDpj6B6su0gvsnpowyfNnJcguuQ2RXPmMqs3HrqkJQ0xllO3rL_twbjfh_3uigdenNwFZDgkMbsnwM5_mxA7vEv-Kc_E8rCasQXGyyRJUjh569APQ1Cj8I31FjV4j5JIerf-BUnmGSCcRdaZNpYSI7IcnIUb8avap3KnyN2GguIdzAEJxYyGACanWuVSU20icw2WphgUzIplvF28FkGS03lobECZhyCXdEZtYsFJx78P72bb6V1Qf8ZoG736chosc7FC9ZVS7htbFHlEC60Vs1xSjn-SxTrEfcrQw_CYA8cXNSYm_jspUFPOYjEoBsPP1OOKUJEZkA3Qkq8WIMV9IawdpXtQDpsN9TzrWROPZpMr1fIeHsHaULKv88i566o6pqMA9grohwEX0h_4G178S1Hv5E3C2_gIsNkVEsU4zJDFKwPjMny0MZCIEXOHKM-anJ0lknVauZeH0i1sK4mWbgXr3i-3m0tHImQHmUzq-NFvaf-m9pRteenQ5ulMi4jJliEaxVsYr-2leRhwRevQbvGJWqwUOBReoGPQpYalb2yzRXOGBzWDrz3qptgdmO71NjkZSnmSWBGNfcX6N9nHJtQnVpCPlEd2Hh3uMcOOkONFI2n7K2xqY-dd2r8n9rcuHgUq60BkAiVoPqky17cgn7Yek1cHuWet8YcaEtGLYeLowqhD6fNTBpthOsSsBWHlWoZN89Iboypg8vfDjjJJdtrabJ3yArbERoZTwlJIPu0WSUFM8lek33iefUjxD5MAUxsVF6MrQQK7qTNYYypvmBmlBrltC8VBuZoKqmPNso3HIORWTQ5fr67BOIiT9g7nGj3VCa2jXAq-gsOsad6vwCjacixuNE75If_WKjgyvDfijZRgyzrs8LncZMfLqQ9whNUv4BqIddJvtPH2-i7jhwjRZZ_RHVIcwx2N4dyvnNE6YQ4bhPIMMPDur54N-8HXeLdoiGU12ZBBIrSLNXqjKev9aoLRGQChJHi9AX18t19GD2EUppCeBbu8JdRl6B5CINtVmmLkiyaGdWqwaiT8izulF0Y92nlmZHuJNm_BMH5aSxkqWNIHCvpVQQz2akmtDrVAAQi9p0q07k3_c2KL3klg8hr94Dlb3IDh1BHknExiuGZQvY4otkywpVcl8bOhw1Se98BHoQtR88KYI7_eEedwuLwmvNJc-VxZTJDszoKqiRb32Xy3czsmExJ6wIviUjR7cbjw2spcj_j7oh1GShgrQpDKtplBjEDeD1ovOm16wWNMUgX8D4h72lENdsYFuLzwom1O5ysVhIzf649_9XopqMUs8iPGBEqC8pVOI9XtcRGYqe8i_M4_vjPsoOTv1BbEOzeqdPh6L6gCNhi24LrstXNH0Z9YEFF7UCOimaumwoE08wRQhiK9agw==","id":"rs_68d3cd96b4e88190af8affb4287ae6930dafe190cf2b2e1e","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_K85xH5IbS23s7CUBQe3E6PIY","index":1,"type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"2,"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_VMGMujiczQQgxHhPYFE3nYPe","index":2,"type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"{"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"\"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"2,"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"\"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":2,"type":"function","function":{"arguments":"3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"completed","logprobs":null}]} - - data: {"id":"gen-1758711189-Br9zfINEPERDqxJjv8JK","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711189,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":108,"completion_tokens":375,"total_tokens":483,"cost":0.0019425,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000675,"upstream_inference_completions_cost":0.001875},"completion_tokens_details":{"reasoning_tokens":320,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 624.064666ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1315 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_K85xH5IbS23s7CUBQe3E6PIY","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_VMGMujiczQQgxHhPYFE3nYPe","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_K85xH5IbS23s7CUBQe3E6PIY","role":"tool"},{"content":"6","tool_call_id":"call_VMGMujiczQQgxHhPYFE3nYPe","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"Results"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" Sum"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" +"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":")"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" ="},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" Product"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" ×"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":")"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" ="},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]} - - data: {"id":"gen-1758711197-CKCATnVivEESAopnrKMN","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758711197,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":167,"completion_tokens":29,"total_tokens":196,"cost":0.000249375,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000104375,"upstream_inference_completions_cost":0.000145},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.334635s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_grok-4-fast-free.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_grok-4-fast-free.yaml deleted file mode 100644 index c40e4eaa771bc2d1fb2df585ff1d072f9da3b001..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_grok-4-fast-free.yaml +++ /dev/null @@ -1,543 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 888 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_92065320","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_47416561","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711119-t1DIgNYVTzf8lHvjZwAI","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711119,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":394,"completion_tokens":228,"total_tokens":622,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":364,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":160,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 320.632084ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1249 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_92065320","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_47416561","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_92065320","role":"tool"},{"content":"6","tool_call_id":"call_47416561","role":"tool"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"Adding","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" gives","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"5","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" \n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"Multip","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"lying","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" gives","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758711120-p2Sae6ga5W8lfzPthCXt","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758711120,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":636,"completion_tokens":73,"total_tokens":709,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":588,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":51,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 231.890375ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_grok-code-fast-1.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_grok-code-fast-1.yaml deleted file mode 100644 index 34ca85d2367ffcfa5c4eef561885946b05a03717..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_grok-code-fast-1.yaml +++ /dev/null @@ -1,475 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 888 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asks","reasoning_details":[{"type":"reasoning.text","text":" asks","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"2","reasoning_details":[{"type":"reasoning.text","text":"2","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"3","reasoning_details":[{"type":"reasoning.text","text":"3","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" must","reasoning_details":[{"type":"reasoning.text","text":" must","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" always","reasoning_details":[{"type":"reasoning.text","text":" always","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" at","reasoning_details":[{"type":"reasoning.text","text":" at","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" same","reasoning_details":[{"type":"reasoning.text","text":" same","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" time","reasoning_details":[{"type":"reasoning.text","text":" time","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_24726538","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_72410924","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711101-QhFvSSfhm2N9RCtgLnFA","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711101,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":467,"completion_tokens":198,"total_tokens":665,"cost":0.00030976,"is_byok":false,"prompt_tokens_details":{"cached_tokens":448,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00001276,"upstream_inference_completions_cost":0.000297},"completion_tokens_details":{"reasoning_tokens":130,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 509.562125ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1249 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_24726538","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_72410924","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_24726538","role":"tool"},{"content":"6","tool_call_id":"call_72410924","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tools","reasoning_details":[{"type":"reasoning.text","text":" tools","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.text","text":" add","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"5","reasoning_details":[{"type":"reasoning.text","text":"5","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.text","text":" multiply","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"6","reasoning_details":[{"type":"reasoning.text","text":"6","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" +","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" =","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"5","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" \n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"2","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" *","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"3","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" =","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"6","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758711103-Fgd68sJgbWSWo63J56by","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758711103,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":679,"completion_tokens":69,"total_tokens":748,"cost":0.00013562,"is_byok":false,"prompt_tokens_details":{"cached_tokens":576,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00003212,"upstream_inference_completions_cost":0.0001035},"completion_tokens_details":{"reasoning_tokens":54,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 786.035333ms diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_kimi-k2.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_kimi-k2.yaml deleted file mode 100644 index b19327e0e13055370fea4fa1d46028aefafd391b..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_kimi-k2.yaml +++ /dev/null @@ -1,196 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 890 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"functions.add:0","index":0,"type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":0,"type":"function","function":{"name":null,"arguments":"3"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"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-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"functions.multiply:1","index":1,"type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":"{\"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":" "}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":"2"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":","}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":" \""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":" "}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":"3"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":null,"index":1,"type":"function","function":{"name":null,"arguments":"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} - - data: {"id":"gen-1758711091-yC1TFxyFwWc6YJ7lT4yj","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711091,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":197,"completion_tokens":41,"total_tokens":238,"cost":0.00013718,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00007486,"upstream_inference_completions_cost":0.00006232},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 972.861666ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1275 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: '{"error":{"message":"Provider returned error","code":429,"metadata":{"raw":"moonshotai/kimi-k2-0905 is temporarily rate-limited upstream. Please retry shortly, or add your own key to accumulate your rate limits: https://openrouter.ai/settings/integrations","provider_name":"GMICloud"}},"user_id":"user_2zMGmKqlf4zmAvL9snVImB1Z1ZQ"}' - headers: - Content-Type: - - application/json - status: 429 Too Many Requests - code: 429 - duration: 769.447583ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1275 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":"Adding"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" gives"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiplying"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" gives"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758711094-Wrx8bmXo8SqBIfP5hmUk","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758711094,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":273,"completion_tokens":22,"total_tokens":295,"cost":0.00013718,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00010374,"upstream_inference_completions_cost":0.00003344},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.038042083s diff --git a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_qwen3-235b-a22b-2507.yaml b/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_qwen3-235b-a22b-2507.yaml deleted file mode 100644 index d8b43bc799d6b614142bb4b97d3ed0453c155143..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/multi_tool_streaming_qwen3-235b-a22b-2507.yaml +++ /dev/null @@ -1,133 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 892 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711174-KFWaH8PvHxyv09Q03lYK","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711174,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711174-KFWaH8PvHxyv09Q03lYK","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711174,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_e25d","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711174-KFWaH8PvHxyv09Q03lYK","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711174,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711174-KFWaH8PvHxyv09Q03lYK","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711174,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"call_51c5","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711174-KFWaH8PvHxyv09Q03lYK","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711174,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} - - data: {"id":"gen-1758711174-KFWaH8PvHxyv09Q03lYK","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711174,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":273,"completion_tokens":49,"total_tokens":322,"cost":0.00005397,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002457,"upstream_inference_completions_cost":0.0000294},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 922.565833ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1258 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n","tool_calls":[{"id":"call_e25d","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_51c5","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_e25d","role":"tool"},{"content":"6","tool_call_id":"call_51c5","role":"tool"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":"The"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" sum"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" of"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" is"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" product"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" of"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" is"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758711177-pn0MedNQDIXp0p3yqhls","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758711177,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":343,"completion_tokens":25,"total_tokens":368,"cost":0.00004587,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00003087,"upstream_inference_completions_cost":0.000015},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 790.703167ms diff --git a/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/multi_tool.yaml b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/multi_tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d5cecd98503438a2746231e4d15b735ba964a236 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/multi_tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 855 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n{\"id\":\"gen-1758884951-GO3hw5WL6M8IVJradpNR\",\"provider\":\"Targon\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758884951,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"call_6ce3a9f1b90844948694dd11\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"id\":\"call_2b4bab739bbf4f90a4b39c5c\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}}]}}],\"usage\":{\"prompt_tokens\":267,\"completion_tokens\":50,\"total_tokens\":317,\"cost\":0.00006154,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00003204,\"upstream_inference_completions_cost\":0.0000295},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.477123s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1286 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_6ce3a9f1b90844948694dd11","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_2b4bab739bbf4f90a4b39c5c","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_6ce3a9f1b90844948694dd11","role":"tool"},{"content":"6","tool_call_id":"call_2b4bab739bbf4f90a4b39c5c","role":"tool"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n{\"id\":\"gen-1758884953-JfczI58B5pft34EVqDpe\",\"provider\":\"WandB\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758884953,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The sum of 2 and 3 is 5, and the product of 2 and 3 is 6.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":355,\"completion_tokens\":26,\"total_tokens\":381,\"cost\":0.0000381,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000355,\"upstream_inference_completions_cost\":0.0000026},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 652.308417ms diff --git a/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/multi_tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/multi_tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bd4d3c5bc3e70476b39b224244907a216e3d50e5 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/multi_tool_streaming.yaml @@ -0,0 +1,133 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 892 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884955-31m1LMcZtky2tb0PDQ4s","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884955,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884955-31m1LMcZtky2tb0PDQ4s","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884955,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_3e11","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884955-31m1LMcZtky2tb0PDQ4s","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884955,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884955-31m1LMcZtky2tb0PDQ4s","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884955,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"call_e95d","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884955-31m1LMcZtky2tb0PDQ4s","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884955,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758884955-31m1LMcZtky2tb0PDQ4s","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884955,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":273,"completion_tokens":49,"total_tokens":322,"cost":0.00005397,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002457,"upstream_inference_completions_cost":0.0000294},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 892.076875ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1258 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\n","tool_calls":[{"id":"call_3e11","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_e95d","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_3e11","role":"tool"},{"content":"6","tool_call_id":"call_e95d","role":"tool"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":"The"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" sum"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" of"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" is"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" product"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" of"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" is"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884957-vP0GT3mZMt6zqP4RWgEk","provider":"WandB","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884957,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":351,"completion_tokens":26,"total_tokens":377,"cost":0.0000377,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000351,"upstream_inference_completions_cost":0.0000026},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 298.753083ms diff --git a/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/simple.yaml b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/simple.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5b01ef1dbe4a633f8492d697af0544c26de26e7c --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/simple.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 200 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n{\"id\":\"gen-1758884943-b00KqdyBPMoImmxC3fhs\",\"provider\":\"DeepInfra\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758884943,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":22,\"completion_tokens\":3,\"total_tokens\":25,\"cost\":0.00000378,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00000198,\"upstream_inference_completions_cost\":0.0000018},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 777.175458ms diff --git a/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/simple_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/simple_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8db7a036744b9a55bb9f7b88ddbcfc7fa74abccc --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/simple_streaming.yaml @@ -0,0 +1,46 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 254 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884944-mvxXvlojSq5gpwFfLLcj","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884944,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884944-mvxXvlojSq5gpwFfLLcj","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884944,"choices":[{"index":0,"delta":{"role":"assistant","content":"Ol"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884944-mvxXvlojSq5gpwFfLLcj","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884944,"choices":[{"index":0,"delta":{"role":"assistant","content":"á"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884944-mvxXvlojSq5gpwFfLLcj","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884944,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884944-mvxXvlojSq5gpwFfLLcj","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884944,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758884944-mvxXvlojSq5gpwFfLLcj","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884944,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":22,"completion_tokens":4,"total_tokens":26,"cost":0.00000376,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000022,"upstream_inference_completions_cost":0.00000156},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 670.223833ms diff --git a/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/tool.yaml b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/tool.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6000758c250cd13295d1764fcffd030091975778 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/tool.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 492 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n{\"id\":\"gen-1758884945-5uDqMdZtpqK4kUPIuQIf\",\"provider\":\"WandB\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758884945,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"chatcmpl-tool-fd4d9460276d48b9ab949c0188d8cfae\",\"type\":\"function\",\"index\":0,\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence, Italy\\\"}\"}}]}}],\"usage\":{\"prompt_tokens\":171,\"completion_tokens\":22,\"total_tokens\":193,\"cost\":0.0000193,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000171,\"upstream_inference_completions_cost\":0.0000022},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 401.369ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 779 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"chatcmpl-tool-fd4d9460276d48b9ab949c0188d8cfae","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"chatcmpl-tool-fd4d9460276d48b9ab949c0188d8cfae","role":"tool"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n{\"id\":\"gen-1758884946-bwO12CgPbxWTNCrT2DXz\",\"provider\":\"DeepInfra\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758884946,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current temperature in Florence, Italy is 40°C. That's quite hot! Make sure to stay hydrated and avoid prolonged exposure to the sun if you're there.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":205,\"completion_tokens\":35,\"total_tokens\":240,\"cost\":0.00003945,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00001845,\"upstream_inference_completions_cost\":0.000021},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 778.53375ms diff --git a/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/tool_streaming.yaml b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/tool_streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a911db58c1d1b20e52345f9cbf1f018a04a88b8 --- /dev/null +++ b/providertests/testdata/TestOpenRouterCommon/qwen3-235b-a22b-2507/tool_streaming.yaml @@ -0,0 +1,145 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 546 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884947-qO8jdwDATQJKdeZDxRO0","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884947,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884947-qO8jdwDATQJKdeZDxRO0","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884947,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_8536","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758884947-qO8jdwDATQJKdeZDxRO0","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884947,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758884947-qO8jdwDATQJKdeZDxRO0","provider":"DeepInfra","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884947,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":167,"completion_tokens":21,"total_tokens":188,"cost":0.00002763,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00001503,"upstream_inference_completions_cost":0.0000126},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 719.26375ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 759 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_8536","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_8536","role":"tool"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"The"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" temperature"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" is"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"4"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"0"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" That"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" quite"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" Make"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" sure"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" stay"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" protect"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" yourself"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" from"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" sun"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" if"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"'re"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":" outdoors"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":""} + + data: {"id":"gen-1758884948-DgNy66DNC6nil5wjSvXn","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758884948,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":205,"completion_tokens":35,"total_tokens":240,"cost":0.00005875,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00003075,"upstream_inference_completions_cost":0.000028},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.275518667s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_claude-sonnet-4.yaml b/providertests/testdata/TestOpenRouterCommon/simple_claude-sonnet-4.yaml deleted file mode 100644 index ed82ec6febb6806e2e2886f31f864bffaae47c58..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_claude-sonnet-4.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 200 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709892-6PE3iue0fNU40wFCqPdU\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758709892,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá! \\n\\n(That's \\\"hi\\\" in Portuguese - you can also say \\\"Oi!\\\" for a more casual greeting)\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":16,\"completion_tokens\":33,\"total_tokens\":49,\"cost\":0.000543,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000048,\"upstream_inference_completions_cost\":0.000495},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.367681542s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_deepseek-chat-v3.1-free.yaml b/providertests/testdata/TestOpenRouterCommon/simple_deepseek-chat-v3.1-free.yaml deleted file mode 100644 index b95ef804d81d8d674577a90d7d40dfb684f51c44..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_deepseek-chat-v3.1-free.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 207 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709952-ZNleDml9ZyKJBBmo6Lp2\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758709952,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":13,\"completion_tokens\":4,\"total_tokens\":17,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.025358792s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_gemini-2.0-flash.yaml b/providertests/testdata/TestOpenRouterCommon/simple_gemini-2.0-flash.yaml deleted file mode 100644 index 715d55df7ded1cc65e2ee31ec7e9923e97bd290e..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_gemini-2.0-flash.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 202 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758709943-zXd7Ax22uRAHy5znq3IZ\",\"provider\":\"Google AI Studio\",\"model\":\"google/gemini-2.0-flash-001\",\"object\":\"chat.completion\",\"created\":1758709943,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\\n\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":9,\"completion_tokens\":3,\"total_tokens\":12,\"cost\":0.0000021,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":9e-7,\"upstream_inference_completions_cost\":0.0000012},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 492.340792ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_gemini-2.5-flash.yaml b/providertests/testdata/TestOpenRouterCommon/simple_gemini-2.5-flash.yaml deleted file mode 100644 index c6f39634838fb9c7f47bac1863cfa6a49a6d4817..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_gemini-2.5-flash.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 198 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758709935-kd0WVfvQqUG7x9tO0Rze\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758709935,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":9,\"completion_tokens\":1,\"total_tokens\":10,\"cost\":0.0000052,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000027,\"upstream_inference_completions_cost\":0.0000025},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 766.97325ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_glm-4.5.yaml b/providertests/testdata/TestOpenRouterCommon/simple_glm-4.5.yaml deleted file mode 100644 index 5016cd31639812e677903a3847f7ea8637a1bfa1..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_glm-4.5.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 187 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n{\"id\":\"gen-1758710036-IXcHUMxkICQ5xKrla5sn\",\"provider\":\"Novita\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758710036,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":null}}],\"system_fingerprint\":\"\",\"usage\":{\"prompt_tokens\":21,\"completion_tokens\":4,\"total_tokens\":25,\"cost\":0.0000214,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000126,\"upstream_inference_completions_cost\":0.0000088},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 980.918084ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_gpt-5.yaml b/providertests/testdata/TestOpenRouterCommon/simple_gpt-5.yaml deleted file mode 100644 index b5e5ed8a69155d7a740869f39ba0ecfc203b1c9e..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_gpt-5.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 198 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709984-uDDmgcl9M9axHhrnPO9m\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758709984,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":\"**Providing greetings in Portuguese**\\n\\nThe user asked me to say hi in Portuguese. That's straightforward! I'll go with a simple \\\"Olá,\\\" and maybe add \\\"Oi\\\" as well. It's nice to give a couple of options, but I want to keep it concise. Since the instruction emphasizes avoiding heavy formatting, I’ll stick to just the greetings without extra embellishments. So, I'll just provide those two greetings: \\\"Olá\\\" and \\\"Oi!\\\"\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Providing greetings in Portuguese**\\n\\nThe user asked me to say hi in Portuguese. That's straightforward! I'll go with a simple \\\"Olá,\\\" and maybe add \\\"Oi\\\" as well. It's nice to give a couple of options, but I want to keep it concise. Since the instruction emphasizes avoiding heavy formatting, I’ll stick to just the greetings without extra embellishments. So, I'll just provide those two greetings: \\\"Olá\\\" and \\\"Oi!\\\"\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo08jkLfyI2cfBaeIjfGBYzosAvdF3iAsGYaj-e2VKUap_EDPiV9qu3fmMj6MoeBGTc03G28KtCz8TvT1VTwH1S6K_DNtJ_zlQzMAcdoFTN1LDhKBFdZDDWEOv-2amDBOF8gjshrNby8EfHXgv2kEeviY4fM3vOma-WkWKJlPK9w3kpFs-sQPAa-GVCLDtsBkWUVoz_Cn9ajp_VfoZEwRr8JrfWJ3JyNJTUYr5L3Km08Az-MR78A0myBxP9bfC2q4oh2mweJ1hZK3OlHrVBHCdOQk3kstwBI2rGb32GV75IM1BsTFI37dSYEnezEEoOpT0WcFSb4_wP9QmE8KRdT-Kq4Mdsu-iVN-ZjZILi7Kmvh8O_8UUoUXFtkh1c7IwjnWdhTsV5-T414Aq6Dc7KufEYrJhBCxLlPO-xH33F7uK-2rwDVDLEExka_F428SCh7TRS3iHTkgYKz1_j6VOAtmSBAn5ZsQnrEConxYmo6CBsHyt-jPX7qw84rgApvbBn6VI2aVCx9vumtNO78Kscst5bBpY_3fv71J51p_Cl1GxJ2W3bVeybuhmjs8Z_iswzDWmx7OY4DT0YMQcmMLlcs2RtcpaoXCb7_wYh2nx_Plxhf4E9K6tHfagD9L1DTvMXOBaddgC8nKsEd2VGRHY8gvvVob3youE1puvv5lVu61EJma_Qs_u1bSHxK-Gci5yrdGbA4bHyolx0BryVbm2YvyHsNF9zAxGN0Zrr5I-P2UHAv7S6Bu-tGwSkh3rzplek7VdO51nuv1g74c5riabcYl41PwVvo8T6mG2Ij1oHKHvjjXBJ4Zpj5ZgbDGa0Sp1aoftoE9VSVpv8q-pGZb7AzwME_Kv1UnjRRTTc06EbI3EjCBAgwjfyc2vmFUUy4_SsEgGbzpTmo10n-0ka75bsLGpzlOGQAOA5G-OqQUGi8fs-9sjyq6CEgJL-QR-WE219C5q7n8pI-QRrhdwdvYMuBqYyUSM3QUesqH0fuqpsFN6X-Q0FqFywccIvaLHWMQaKZU2VUclPwctWS1ShpdTAXJJXY9-6rim5fkU1gNgHuGLwLalFGkS5XRgWKkS5U7qKDV3yyQIqg0eoCrHPK9j1qlfl2Di2nGVTWFWVrZQCYFyjPk_CDVe7VvoJmYXlXS9_6znXDi4aqQC5aEF-P0VBN-IZ5EgCBo0y0qCkAp9AcJm75qRR5MUX6l9zCmFMi8OwIYwjsNnC8-aVKavqDhqN_wfD8026w==\",\"id\":\"rs_68d3c8e1d7c08197b873572f5a0188900ed8812610ad5c82\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":19,\"completion_tokens\":72,\"total_tokens\":91,\"cost\":0.000371875,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000011875,\"upstream_inference_completions_cost\":0.00036},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.125235666s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_grok-4-fast-free.yaml b/providertests/testdata/TestOpenRouterCommon/simple_grok-4-fast-free.yaml deleted file mode 100644 index 53273574c5407aae38068af610bd6710d320df5a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_grok-4-fast-free.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 196 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n{\"id\":\"gen-1758709920-vowfN70ILMkGgFoMLCFm\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-4-fast:free\",\"object\":\"chat.completion\",\"created\":1758709920,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":null}}],\"system_fingerprint\":\"fp_9362061f30\",\"usage\":{\"prompt_tokens\":126,\"completion_tokens\":116,\"total_tokens\":242,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":112,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":114,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 307.846917ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_grok-code-fast-1.yaml b/providertests/testdata/TestOpenRouterCommon/simple_grok-code-fast-1.yaml deleted file mode 100644 index 6b0d1d1a897f2301fec21fb4c1111bdd5dd08d5f..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_grok-code-fast-1.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 196 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709870-G7I3WmQqxju35KgmaLRC\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758709870,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Oi! (That's \\\"hi\\\" in Portuguese.)\",\"refusal\":null,\"reasoning\":\"First, the user says: \\\"Say hi in Portuguese.\\\"\\n\\n\\n## Responding to user request \\n- The user asked for a greeting in Portuguese. \\n- \\\"Hi\\\" translates to \\\"oi\\\" in Portuguese, providing a simple and friendly response.\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"First, the user says: \\\"Say hi in Portuguese.\\\"\\n\\n\\n## Responding to user request \\n- The user asked for a greeting in Portuguese. \\n- \\\"Hi\\\" translates to \\\"oi\\\" in Portuguese, providing a simple and friendly response.\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":213,\"completion_tokens\":209,\"total_tokens\":422,\"cost\":0.00032154,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":192,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00000804,\"upstream_inference_completions_cost\":0.0003135},\"completion_tokens_details\":{\"reasoning_tokens\":199,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 717.563542ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_kimi-k2.yaml b/providertests/testdata/TestOpenRouterCommon/simple_kimi-k2.yaml deleted file mode 100644 index 6eb60b12fa0422efede2c46476c542e61a617a24..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_kimi-k2.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 198 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n{\"id\":\"gen-1758709843-fI5rQS7K0SjkdgR1cmjQ\",\"provider\":\"Chutes\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758709843,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":21,\"completion_tokens\":4,\"total_tokens\":25,\"cost\":0.00001406,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00000798,\"upstream_inference_completions_cost\":0.00000608},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.313627291s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_qwen3-235b-a22b-2507.yaml b/providertests/testdata/TestOpenRouterCommon/simple_qwen3-235b-a22b-2507.yaml deleted file mode 100644 index 754975794f52394dc519a7ec7fe6ac6238289565..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_qwen3-235b-a22b-2507.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 200 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n{\"id\":\"gen-1758710799-fUjMyPMVMT7ar1YYPqE3\",\"provider\":\"DeepInfra\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758710800,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Oi! \U0001F60A\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":22,\"completion_tokens\":4,\"total_tokens\":26,\"cost\":0.00000438,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00000198,\"upstream_inference_completions_cost\":0.0000024},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.078024334s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_claude-sonnet-4.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_claude-sonnet-4.yaml deleted file mode 100644 index 1b75b4a03d1586e2f68b53543f93a4073e5437d9..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_claude-sonnet-4.yaml +++ /dev/null @@ -1,64 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 254 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"Ol","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"á! ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n\n(That","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s \"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"hello\" in Portuguese. If you want a","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":" more casual","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":" \"hi,\"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":" you could also","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":" say \"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"Oi!\")","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758709895-PDp18f4GMTDzqXjD44HF","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709895,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":16,"completion_tokens":36,"total_tokens":52,"cost":0.000588,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000048,"upstream_inference_completions_cost":0.00054},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 2.008673791s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_deepseek-chat-v3.1-free.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_deepseek-chat-v3.1-free.yaml deleted file mode 100644 index 4c7627372532fdf2ae78aa4f970bc9e29c369a3a..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_deepseek-chat-v3.1-free.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 261 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709953-bw0Rgn4YpPzMDfDKDhwt","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709954,"choices":[{"index":0,"delta":{"role":"assistant","content":"Ol","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709953-bw0Rgn4YpPzMDfDKDhwt","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709954,"choices":[{"index":0,"delta":{"role":"assistant","content":"á!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709953-bw0Rgn4YpPzMDfDKDhwt","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709954,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758709953-bw0Rgn4YpPzMDfDKDhwt","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709954,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":13,"completion_tokens":4,"total_tokens":17,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 498.817125ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_gemini-2.0-flash.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_gemini-2.0-flash.yaml deleted file mode 100644 index b75145ff361a873338cc50fadaaafc6a6572a873..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_gemini-2.0-flash.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 256 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709943-guuvMhpAg40kORcXkBg0","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758709943,"choices":[{"index":0,"delta":{"role":"assistant","content":"Olá"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709943-guuvMhpAg40kORcXkBg0","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758709943,"choices":[{"index":0,"delta":{"role":"assistant","content":"!\n"},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758709943-guuvMhpAg40kORcXkBg0","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758709943,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9,"completion_tokens":3,"total_tokens":12,"cost":0.0000021,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":9e-7,"upstream_inference_completions_cost":0.0000012},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 660.468583ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_gemini-2.5-flash.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_gemini-2.5-flash.yaml deleted file mode 100644 index 10dc0bd68e89239f4cd375ee915b5e63e1bbbd83..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_gemini-2.5-flash.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 252 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709936-CU3C80RgLtGlwkaBFHis","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709936,"choices":[{"index":0,"delta":{"role":"assistant","content":"Olá","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709936-CU3C80RgLtGlwkaBFHis","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709936,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709936-CU3C80RgLtGlwkaBFHis","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709936,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758709936-CU3C80RgLtGlwkaBFHis","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709936,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":9,"completion_tokens":2,"total_tokens":11,"cost":0.0000077,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000027,"upstream_inference_completions_cost":0.000005},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 817.282792ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_glm-4.5.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_glm-4.5.yaml deleted file mode 100644 index 440c68f15b395388f819f34746915449fd766677..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_glm-4.5.yaml +++ /dev/null @@ -1,296 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 241 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" wants","reasoning_details":[{"type":"reasoning.text","text":" wants","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" me","reasoning_details":[{"type":"reasoning.text","text":" me","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" say","reasoning_details":[{"type":"reasoning.text","text":" say","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"hi","reasoning_details":[{"type":"reasoning.text","text":"hi","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Portuguese","reasoning_details":[{"type":"reasoning.text","text":" Portuguese","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" In","reasoning_details":[{"type":"reasoning.text","text":" In","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Portuguese","reasoning_details":[{"type":"reasoning.text","text":" Portuguese","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"hi","reasoning_details":[{"type":"reasoning.text","text":"hi","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" or","reasoning_details":[{"type":"reasoning.text","text":" or","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"hello","reasoning_details":[{"type":"reasoning.text","text":"hello","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" commonly","reasoning_details":[{"type":"reasoning.text","text":" commonly","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" translated","reasoning_details":[{"type":"reasoning.text","text":" translated","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Oi","reasoning_details":[{"type":"reasoning.text","text":"Oi","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" or","reasoning_details":[{"type":"reasoning.text","text":" or","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Ol","reasoning_details":[{"type":"reasoning.text","text":"Ol","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"á","reasoning_details":[{"type":"reasoning.text","text":"á","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\".","reasoning_details":[{"type":"reasoning.text","text":"\".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Both","reasoning_details":[{"type":"reasoning.text","text":" Both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" are","reasoning_details":[{"type":"reasoning.text","text":" are","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" informal","reasoning_details":[{"type":"reasoning.text","text":" informal","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" greetings","reasoning_details":[{"type":"reasoning.text","text":" greetings","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" used","reasoning_details":[{"type":"reasoning.text","text":" used","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Portuguese","reasoning_details":[{"type":"reasoning.text","text":" Portuguese","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"-speaking","reasoning_details":[{"type":"reasoning.text","text":"-speaking","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" countries","reasoning_details":[{"type":"reasoning.text","text":" countries","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" like","reasoning_details":[{"type":"reasoning.text","text":" like","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Brazil","reasoning_details":[{"type":"reasoning.text","text":" Brazil","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Portugal","reasoning_details":[{"type":"reasoning.text","text":" Portugal","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Angola","reasoning_details":[{"type":"reasoning.text","text":" Angola","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Moz","reasoning_details":[{"type":"reasoning.text","text":" Moz","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ambique","reasoning_details":[{"type":"reasoning.text","text":"ambique","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" etc","reasoning_details":[{"type":"reasoning.text","text":" etc","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n\n","reasoning_details":[{"type":"reasoning.text","text":".\n\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Oi","reasoning_details":[{"type":"reasoning.text","text":"Oi","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" more","reasoning_details":[{"type":"reasoning.text","text":" more","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" casual","reasoning_details":[{"type":"reasoning.text","text":" casual","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" commonly","reasoning_details":[{"type":"reasoning.text","text":" commonly","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" used","reasoning_details":[{"type":"reasoning.text","text":" used","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Brazil","reasoning_details":[{"type":"reasoning.text","text":" Brazil","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" while","reasoning_details":[{"type":"reasoning.text","text":" while","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Ol","reasoning_details":[{"type":"reasoning.text","text":"Ol","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"á","reasoning_details":[{"type":"reasoning.text","text":"á","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" slightly","reasoning_details":[{"type":"reasoning.text","text":" slightly","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" more","reasoning_details":[{"type":"reasoning.text","text":" more","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" formal","reasoning_details":[{"type":"reasoning.text","text":" formal","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.text","text":" but","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" still","reasoning_details":[{"type":"reasoning.text","text":" still","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" used","reasoning_details":[{"type":"reasoning.text","text":" used","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" everyday","reasoning_details":[{"type":"reasoning.text","text":" everyday","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" situations","reasoning_details":[{"type":"reasoning.text","text":" situations","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"'ll","reasoning_details":[{"type":"reasoning.text","text":"'ll","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide","reasoning_details":[{"type":"reasoning.text","text":" provide","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.text","text":" both","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" translations","reasoning_details":[{"type":"reasoning.text","text":" translations","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" give","reasoning_details":[{"type":"reasoning.text","text":" give","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" complete","reasoning_details":[{"type":"reasoning.text","text":" complete","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" answer","reasoning_details":[{"type":"reasoning.text","text":" answer","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"Hi","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" Portuguese","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" \"","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"Oi","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"\"","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" or","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" \"","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"Ol","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"á","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"\".","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" Both","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" are","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" common","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" greetings","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" with","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" \"","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"Oi","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"\"","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" being","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" more","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" casual","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" \"","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"Ol","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"á","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"\"","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" slightly","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" more","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":" formal","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758710037-SvVFh9RGkHtsTFejkmgg","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710037,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":18,"completion_tokens":131,"total_tokens":149,"cost":0.000299,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000108,"upstream_inference_completions_cost":0.0002882},"completion_tokens_details":{"reasoning_tokens":109,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.7910005s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_gpt-5.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_gpt-5.yaml deleted file mode 100644 index b57cc156769a5b96b38260623d84fbedb64c3e57..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_gpt-5.yaml +++ /dev/null @@ -1,46 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 252 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709988-nVhkZGAgcDLlvtCygw4h","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758709988,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709988-nVhkZGAgcDLlvtCygw4h","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758709988,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo08jndDbqrrN0GRqZ73vDkhlAxmzQuTxZJ6BxX7jdQqDFykBwBvm3o3iLDdf1c0Qe4kVM_Upe6e1ZtyJNnWkpSaQDQt7rrwpFiQyazwbe9qF3JVrj94uAsdPb1OLJxkGuYoVKPBleeIdNN3VCJpGKxdWo5B0kdg_CiR7P_phvL7davft3-8LHgZo4MFDLllMQythnGqq8iBU4VVW7dBjPUyyoVUmJHgD_cGV5maRX2XRb9MzaitUl-CbCCp6ChOBYCZQLc8sVc7ovOje56jQvfRugKpcsAMdXvYW1K3mf1wSUIud3rFFwZcpdZzgMyJf0oGmk6oci1gWV6m7ssxi-CIvElMfRmOpMna2VrQG-JhuZD2bt3pH2MNj-Vvj-1il7pz2KnYO10_B2ss4_iMp-d31HPR2wVLrJa8D__sstuku9EQwVxNCKS_u7xwf8oIODlQrO3cQ873nNILLza4UvqwBMnUGEhbOajhep-hBLTRtprfSIY3EX3d_Xo__9Aww7lZ_OhWZWWhyC_C4nFQ8_enIJumdMDt-gBzijm7uC4naDeHgUngmiKGHEGC6Fz18jLvh00AhKwrAfurqoXq9lVtaOQiYqyKGD7fYXNQ0exJbIaThj1aWiYXVtYCKp9HdOVwJYg5P7edLahkRWK4A679B-CwvXQCeS172aR-9H3HbDA_k3-Rkt-kHlnmNmU1pFvyP1Pdz5Jn31arHIAfhu1c3x1_Hd9tqRxB_srBt72WZWKay0aDjlZeM1001fZx8ejfdu7iYZWHr0h1nY4uGOUMH3yom-pAQm_b_8LHzW6rHRyNorFq3BSgcYKL25_qeMj8lB_xXEjWoXPh91JFLO86d1ts9n62TdW-46TJyJc2ABS68VOQmPNIT6mMp2HLPUQG76X7lo0vElPZeK2yZfJ6zB5rnp7q1vZgVEpJmc70hoCLgUrqkHGZ-1DTrCQg5NWw-boZeCLQtw2ENzRyhYMMsXLfux4_quWLYmbNDK7ynHHwt7okd_KRvO2t_KoQyMHNcHCkznt7eC2VFkK5Zvi1VH1fNb3CYf7AFgqXTZOLp12Ewp6rcQdxzQMjunBTHH3ao5un2i-k7Wgyfdsc7yz7N_9-qUqWwx2VkEZ2rYJUCoNi6QhBZEYUCf8w4GG_RJhZ0Xp4tRnrHeXsAbTRY9_ZACwvONuWIImZXz1W0QfrwSQocQiMyftLLVUGlkyQuI33RQDZRQbHa2A4OULbLLNK1BDciAGqI-Yk0NgHhCIXuYZPZs2hfezuInzIH5DkIcKoL8znLlUztEIPyJh6KZV8y8zB-amlOnR0fAxIoYsoWr01VMSOE4A9y2Uvg5CqeYuMMnis-FA_jlJIREhiDsH9XoBo3V-G6L1z5aKMMJhQ1hgvflR0YAx88Eu2e18nmZ3uvi9PWom3li0xJCwb-lu94LMzfyYRI51zaJVibR-hae34wLYBWXnp1HF61qoNsZqbOuBCeYn7pXRHBdTsDG7AmTGi0QynPnbdymisALc8gY4ZhxLZlVH2Bd5p0pggNFWqhfqRFEHZ7aeQaMdJF7daaYFEl8IvocWX6uW5hcOzMIkcE=","id":"rs_68d3c8e5f6188196b19bf9977a4dc562062c29828b2ad4fa","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709988-nVhkZGAgcDLlvtCygw4h","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758709988,"choices":[{"index":0,"delta":{"role":"assistant","content":"Olá"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709988-nVhkZGAgcDLlvtCygw4h","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758709988,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709988-nVhkZGAgcDLlvtCygw4h","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758709988,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]} - - data: {"id":"gen-1758709988-nVhkZGAgcDLlvtCygw4h","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758709988,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":19,"completion_tokens":136,"total_tokens":155,"cost":0.000691875,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000011875,"upstream_inference_completions_cost":0.00068},"completion_tokens_details":{"reasoning_tokens":128,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 881.33025ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_grok-4-fast-free.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_grok-4-fast-free.yaml deleted file mode 100644 index 5d932c0e604de9926bbe8da9455a54c4c3af1e50..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_grok-4-fast-free.yaml +++ /dev/null @@ -1,290 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 250 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"Olá","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":" (","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"That's","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":" \"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"hi","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"\"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":" Portuguese","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":".)","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709922-mNavoEwHfO8o2eSafBwj","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709922,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":126,"completion_tokens":126,"total_tokens":252,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":125,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":116,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 507.960875ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_grok-code-fast-1.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_grok-code-fast-1.yaml deleted file mode 100644 index 0ab2a1231e96f34c0160d14246f00ec0ea6a63bb..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_grok-code-fast-1.yaml +++ /dev/null @@ -1,444 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 250 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"First","reasoning_details":[{"type":"reasoning.text","text":"First","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asked","reasoning_details":[{"type":"reasoning.text","text":" asked","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Say","reasoning_details":[{"type":"reasoning.text","text":"Say","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" hi","reasoning_details":[{"type":"reasoning.text","text":" hi","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Portuguese","reasoning_details":[{"type":"reasoning.text","text":" Portuguese","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\".","reasoning_details":[{"type":"reasoning.text","text":"\".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" This","reasoning_details":[{"type":"reasoning.text","text":" This","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" simple","reasoning_details":[{"type":"reasoning.text","text":" simple","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" casual","reasoning_details":[{"type":"reasoning.text","text":" casual","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" request","reasoning_details":[{"type":"reasoning.text","text":" request","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" As","reasoning_details":[{"type":"reasoning.text","text":" As","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Gro","reasoning_details":[{"type":"reasoning.text","text":" Gro","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"k","reasoning_details":[{"type":"reasoning.text","text":"k","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I'm","reasoning_details":[{"type":"reasoning.text","text":" I'm","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" supposed","reasoning_details":[{"type":"reasoning.text","text":" supposed","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.text","text":" be","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" helpful","reasoning_details":[{"type":"reasoning.text","text":" helpful","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" maximally","reasoning_details":[{"type":"reasoning.text","text":" maximally","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" informative","reasoning_details":[{"type":"reasoning.text","text":" informative","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.text","text":" but","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" also","reasoning_details":[{"type":"reasoning.text","text":" also","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" follow","reasoning_details":[{"type":"reasoning.text","text":" follow","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" guidelines","reasoning_details":[{"type":"reasoning.text","text":" guidelines","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.text","text":":","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" respond","reasoning_details":[{"type":"reasoning.text","text":" respond","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" truthfully","reasoning_details":[{"type":"reasoning.text","text":" truthfully","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.text","text":" be","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" economic","reasoning_details":[{"type":"reasoning.text","text":" economic","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" no","reasoning_details":[{"type":"reasoning.text","text":" no","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" y","reasoning_details":[{"type":"reasoning.text","text":" y","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"apping","reasoning_details":[{"type":"reasoning.text","text":"apping","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n\n## Interpreting user request \n- The user asked, \"Say hi in Portuguese,\" a casual and straightforward inquiry.","reasoning_details":[{"type":"reasoning.text","text":"\n\n## Interpreting user request \n- The user asked, \"Say hi in Portuguese,\" a casual and straightforward inquiry.","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"Oi","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709873-d9JQxfHZPyg0xGWdiiqi","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709873,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":213,"completion_tokens":203,"total_tokens":416,"cost":0.00031254,"is_byok":false,"prompt_tokens_details":{"cached_tokens":192,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00000804,"upstream_inference_completions_cost":0.0003045},"completion_tokens_details":{"reasoning_tokens":201,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 315.323541ms diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_kimi-k2.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_kimi-k2.yaml deleted file mode 100644 index c91e62d77add0614bc6dc1eeefd53621b4f49c42..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_kimi-k2.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 252 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709845-YTvBVQ31R68jhUh2sxzT","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709845,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709845-YTvBVQ31R68jhUh2sxzT","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709845,"choices":[{"index":0,"delta":{"role":"assistant","content":"Oi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709845-YTvBVQ31R68jhUh2sxzT","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709845,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709845-YTvBVQ31R68jhUh2sxzT","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709845,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709845-YTvBVQ31R68jhUh2sxzT","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709845,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":20,"completion_tokens":3,"total_tokens":23,"cost":0.0000195,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000012,"upstream_inference_completions_cost":0.0000075},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.431936s diff --git a/providertests/testdata/TestOpenRouterCommon/simple_streaming_qwen3-235b-a22b-2507.yaml b/providertests/testdata/TestOpenRouterCommon/simple_streaming_qwen3-235b-a22b-2507.yaml deleted file mode 100644 index 4c242c19fcc44764cf6b8f70df78f0fe33c550c2..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/simple_streaming_qwen3-235b-a22b-2507.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 254 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758710800-tj2tiEOMHJmAhA8LfcTZ","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710800,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710800-tj2tiEOMHJmAhA8LfcTZ","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710800,"choices":[{"index":0,"delta":{"role":"assistant","content":"Oi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710800-tj2tiEOMHJmAhA8LfcTZ","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710800,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710800-tj2tiEOMHJmAhA8LfcTZ","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710800,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758710800-tj2tiEOMHJmAhA8LfcTZ","provider":"Chutes","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710800,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":22,"completion_tokens":3,"total_tokens":25,"cost":0.00000337,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000022,"upstream_inference_completions_cost":0.00000117},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.111534417s diff --git a/providertests/testdata/TestOpenRouterCommon/thinking-glm-4.5.yaml b/providertests/testdata/TestOpenRouterCommon/thinking-glm-4.5.yaml deleted file mode 100644 index e0f83f863cdb00ee965837adc865d98f56b566fe..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/thinking-glm-4.5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 494 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"z-ai/glm-4.5","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758710084-rKyTKqwSdfgnfFQQurSG\",\"provider\":\"Z.AI\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758710084,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\n\\nI'll check the weather in Florence, Italy for you.\\n\",\"refusal\":null,\"reasoning\":\"The user is asking for the weather in Florence, Italy. I have access to a weather function that can get weather information for a location. The function requires a \\\"location\\\" parameter, and the user has specified \\\"Florence, Italy\\\" as the location. I should use this exact location string when calling the function.\",\"tool_calls\":[{\"id\":\"call_28e19b3460e24e5680a77050\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence, Italy\\\"}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user is asking for the weather in Florence, Italy. I have access to a weather function that can get weather information for a location. The function requires a \\\"location\\\" parameter, and the user has specified \\\"Florence, Italy\\\" as the location. I should use this exact location string when calling the function.\",\"format\":\"unknown\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":179,\"completion_tokens\":96,\"total_tokens\":275,\"cost\":0.00029753,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":43,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00008633,\"upstream_inference_completions_cost\":0.0002112},\"completion_tokens_details\":{\"reasoning_tokens\":79,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.485824709s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 816 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"content":"\n\nI''ll check the weather in Florence, Italy for you.\n","tool_calls":[{"id":"call_28e19b3460e24e5680a77050","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_28e19b3460e24e5680a77050","role":"tool"}],"model":"z-ai/glm-4.5","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758710088-zK8TJKAI72pV9hTXs71p\",\"provider\":\"Z.AI\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758710088,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\n\\nThe weather in Florence, Italy is currently 40°C (104°F). That's quite hot - it's a very warm day there! Make sure to stay hydrated and seek shade if you're outdoors.\",\"refusal\":null,\"reasoning\":\"The weather function returned \\\"40 C\\\" for Florence, Italy. This appears to be a temperature reading of 40 degrees Celsius, which is quite hot. I should provide this information to the user in a clear and helpful way.\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The weather function returned \\\"40 C\\\" for Florence, Italy. This appears to be a temperature reading of 40 degrees Celsius, which is quite hot. I should provide this information to the user in a clear and helpful way.\",\"format\":\"unknown\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":219,\"completion_tokens\":92,\"total_tokens\":311,\"cost\":0.00031273,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":43,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00011033,\"upstream_inference_completions_cost\":0.0002024},\"completion_tokens_details\":{\"reasoning_tokens\":54,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 618.183292ms diff --git a/providertests/testdata/TestOpenRouterCommon/thinking-gpt-5.yaml b/providertests/testdata/TestOpenRouterCommon/thinking-gpt-5.yaml deleted file mode 100644 index 82780cb91427856719f5324c4fca6f94e993edb4..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/thinking-gpt-5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 494 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"openai/gpt-5","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758710067-0XaYb8CAKeAGdjBnksDD\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758710067,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"**Fetching weather data**\\n\\nI need to get the weather information for Florence, Italy, as the user requested. I'll use the functions.weather tool and set the location to \\\"Florence, Italy.\\\" I see that there's a multi_tool_use.parallel option, but since I only need one tool here, I'll stick with functions.weather. Once I call it through the commentary channel, I'll retrieve the output. I just hope the data comes back correctly so I can present the weather accurately!\",\"tool_calls\":[{\"id\":\"call_hPeOSCUiY61l9U2MD4Nx8MW5\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Fetching weather data**\\n\\nI need to get the weather information for Florence, Italy, as the user requested. I'll use the functions.weather tool and set the location to \\\"Florence, Italy.\\\" I see that there's a multi_tool_use.parallel option, but since I only need one tool here, I'll stick with functions.weather. Once I call it through the commentary channel, I'll retrieve the output. I just hope the data comes back correctly so I can present the weather accurately!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo08k3O0e00zGtYNZAXav2t2ESbQlgnqjUcmuvXMNiGdkK2w_9Jc9Q9jDaoF343dKdkUm9KMK4BVyJMD-s1LDPXZj1O_1H2DTEJBOhdTlbSkWliV_OlifyVZ8DfET3vxZvNxO-Q_cUNpvn7nsjwjDRJluVFEftsQQy2SfOdPS8qcDBsIMrTpHLSrcL1T39R22YQWhFnCKkF9Z2SsKg6jCqsY4LKSnVIwZ8Gt2kknsnu2_SPfXs4HQlEoU-FTiwaOB1OEULrjSNNoFjZQkQM2k5P5VURUujhFvCeVatdcwIK8TJv4gvSHpGj-SMOYvp10UtEQziiVEnnYCuEJcWMD_krYzHlxgh6n8LlpSAvh3TEEc0iR7xfyu5IPFCNfzC8qE725N9o-i5DrgeUIMxL8_d2Ws5JUTH4_zFsv5p9PRzlN6Hvb0dWPWaJRKpbgs4USPPdLfSkjLA3qS2Heq6wuai7Ad_yhjFFaaFSJW94XHMIc7WWEEPtYx_ZGjzoaa17SfLBUc0oLWIb50TEJPzxMOiAqlIIQYLO9QO6vrB9oUHMZf6jviTYb_BizNt3GSS69Fbj2G94cLuDTVVaRpdFTaHrjvpCvpQch2x4Cg_QG1advr98R-gwY3S5JG8MFgxVD0KqBmq5QPsaJf1soYgRp6PUdAGSooBKutbuAxBIdmE4obanARYtvnCIjrGnM3wCuRTz2Uz88WXSBRkWDDqeqqhw8S_8-1QAbOFy7wU2t-ZZVIiz7Exy8i2FP9aG_9BzJXEWKqMl7uZb6PoJUuzv5pPSFf7ZLxN8mQJPSBGZXrhCs-E5OBIOBZZBRKGCFj5HxPqNuCq4HrhUjWmrdskiKjPktc8vgZOonyw8uMHNERxCxpCQoOYq70maEXRBAMKKnOw3LVediLpcAQWuSaeIRusd_SDYlh8RRgO1Y8mIrymbIpmX8euO_zUGVq_QO_1bCPZbCAiv_8ZLPd_hszETso549oSBETxST2VJP8-7bX4AFY03KJ1lqKM3ct4iyxGsauBPyLtrY92440gAh9bFgJuVdHLcyIBmF9LqeJSMuOne5j3c5D3jHVDz4OubPDJZyib2qgIeOoCvORdIq8qEIIpZiPMs_Y1XNUHIi9jbkLf5KYpiRA2YJjYpE7s6iaLeXt1Gqt7eZ-er6_KBc_xi3r0mGNn0fq2-WLn2CJamDfqWLRklyg3uC2LqUMvr-eFEVp98CFNkFo-MURXQzeP6AVaLU0c8Cz16hb_ZYUOXtheQnyOVxOCmxWqVjXdokcNR0_0SFaa7vEw4n-OpvcyZn2p_062Hj2On44-DANVWn3Fhh9TzlHay1zjkTLu3a-GUTqwsG4aLkE48S_Un8D3VQS78YwvSWMDO40I2oMWquUjQxs6nOKX2OPUv40CK4orzhvMhovb38bEGaF-qn4QsmMyRkNWnaNpwulEZT2sZqoY3PVEH17fnYay4fix_-wPFbETa-jxmKG3ia4gYqDZejIinHf6kbtnMy3JP6zvSLEEqsxlQTI6u5voxA-VvNbwygeXwq_dbj4cGfxQrNT3ro3eu4ubjFejFGPQHZPcenFo6sjvRMrjwV0N4T3jYOh0b_ehXVCZk0WsZ3sGzgab57jyxQ77xq1k5W7NJEzVeqEPlnCM9cvyCILzao152yF4vZhmnzgI\",\"id\":\"rs_68d3c93459b881938af0365b660395b90b0a8539b112155d\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":63,\"completion_tokens\":86,\"total_tokens\":149,\"cost\":0.000469375,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000039375,\"upstream_inference_completions_cost\":0.00043},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 756.40825ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 746 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_hPeOSCUiY61l9U2MD4Nx8MW5","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_hPeOSCUiY61l9U2MD4Nx8MW5","role":"tool"}],"model":"openai/gpt-5","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"reasoning":{"effort":"medium"}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758710071-YRdc9q1f5SRugr0m3cGe\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758710071,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"It’s currently about 40°C (104°F) in Florence, Italy. Want details like forecast, humidity, or wind?\",\"refusal\":null,\"reasoning\":\"**Relaying weather information**\\n\\nI called the weather tool, and it returned \\\"40 C.\\\" That seems unusually high! Since my job is to relay the weather, I should only share the temperature. The user asked for the weather in Florence, Italy, so I can simply say, \\\"It's currently about 40°C in Florence, Italy.\\\" I might want to check in and ask if the user wants more details, but they didn't explicitly ask for them. I'll keep the formatting light.**Offering weather details**\\n\\nIf the user wants more details like the forecast, precipitation, wind, or an hourly breakdown, I'm happy to provide that! However, I need to be cautious about real-time disclaimers since the tool is our ground truth. It returned just \\\"40 C\\\" without a timestamp, so I'll assume it's current. It could be helpful to include a Fahrenheit conversion, though it might add unnecessary verbosity. I could say, \\\"It's around 40°C (104°F). If you'd like the forecast or humidity/wind, just let me know!\\\"\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Relaying weather information**\\n\\nI called the weather tool, and it returned \\\"40 C.\\\" That seems unusually high! Since my job is to relay the weather, I should only share the temperature. The user asked for the weather in Florence, Italy, so I can simply say, \\\"It's currently about 40°C in Florence, Italy.\\\" I might want to check in and ask if the user wants more details, but they didn't explicitly ask for them. I'll keep the formatting light.**Offering weather details**\\n\\nIf the user wants more details like the forecast, precipitation, wind, or an hourly breakdown, I'm happy to provide that! However, I need to be cautious about real-time disclaimers since the tool is our ground truth. It returned just \\\"40 C\\\" without a timestamp, so I'll assume it's current. It could be helpful to include a Fahrenheit conversion, though it might add unnecessary verbosity. I could say, \\\"It's around 40°C (104°F). If you'd like the forecast or humidity/wind, just let me know!\\\"\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo08lDDT_0SD4rB6oixEWH_r6zDHE_RlvZZCzAuvgmCBqVW-l5bxHiHRVlD9hBPNNPAGGQWlj_NXMLv2RNOlBo_pz1QmYVozDLLcw1CTSQzhHclG2rLwN3d7HzcO_CXRtArTL07jXUoybgpGmrpqQ0C552Dv8lgrSi3z4qdOXGg7gCA8ihXz7HusVh-7cfWTIJrysOaBHkAv8jDOvWhECTFZPKl8Y3tj2VGcqqqiE7ePLCiJfFZ2Ykm1P8z8vN--owy-LHwTyFaTeokkVqhU3j1s2c3UqFBjralVpr0tOyXs06UlPvJEjdaXZBV8LF7_CgZr9md1on2z1aO9cgYSJV3jLbwCIet8Ij_iLweu7JEFpMC_-Vp5y8cXVEyQsEShE9gj-ypD0SNIfr7L2pmbUeY3PMej83sm5Indp3cbRir07ENkhIkOz7J2oN6uo3EWKcc_xXb-qJTAIixe5rDcbyh8ic1hetmWTqKWzOXrTz0xBalNaIH4-QzqdVR0RiG3gVa9MNDTRhGdvb5P5kmL96-o_ldpDnrDvfjVu7ZtmlRw5KkjtuJw0Fl3G4yNVQJi71wdil9I-XKFnJrEWpaG3MT8BiS9tmUDSstWhDGEhIWyP8NuCnHFBKS-NuzUa3ZQacGXhfMEmWdRYuVllwFuOxPxqjOwFfbc17RhX48n9d8qEwyUMIwUdJumXUOEHrB8fTdb3np9yw-A6Df4M9S3hprqTPB0-HGVtcAbWemJgIezenKzV7xtxRm-nD_5Ofz4KLSisHXV7gsJCed3FMpgUdd2OkzsLALaWDRZKvsk1jOh2soLaBjKWt0CNJ0gpHo_j7sLyvgqpIiWNiC_aR2In1DC3rFuZAkpOpqQ6xuh2WWEDWsZL2NR4eVTASZqQLc81lOyjQbrcbZqv--UZTioWytssjLvS7LGFgaXvPwflRnyx1XxtN5yYy1skU64LwZENwvmqxRrTUsG7Mrj3d6n81CSVMWdiREXm4TgudfC_wjJeEt3Iq8HO9qplAvk0hRZVelsYjr72IRbdXJJJuRfGt6Vs8LsxMu0xs9RqF9O0kLpuVZdnixR2fzTSeeHO0Y1-Sz2Cx72ti5D86IyU2XuHtUVzKqL8Wr3lMk-ta_17sMwGtP5iU0OIRK_m7My-R372b-qQtk9ingBGzlwNfBiVsOWqv5w2IRQG_VTx4rwseqbtNU-GZFTXAs9U6J03m9YuXHs-7W8whITzSZ1T8oiLLQcQ9ow9ve0SPcZLrgpoBK6JmiRQ2_fI1mD_boWKIKpX7L4eJKrfvDAStM9Irfgixac12Qcc7gfdp76mCAP4YSYoZJ3nNbxT2dogrGxsLVGRAW_qFZOcUAZT5eFS3q1YBJMXfBpTJb38SGMmtOsdD9Sa-O-9D9fC1fS2ijc1ip_MxWM5pctvEtgUOUPzJW9R_6ewpurLsrmq7dYTYzKSUknj5N1gCg0g0C6Gl6QByMXpKBEGu4M9VCRLpy4ybCb8Qz-WZIRdU0lQBxwl1lbzoSytT5T51IPoJrDYCMsiJgKZGXi0DHFj2bTJXfGDb4ER_U8jGv3gfXuxkhFQEECzGsSQrTyLH2i-j87ETrm9XLH0bs12u_EVq-o8LLdq3TWawKdpaol43civ1EB5eDqjBHdgl6IG3e5xPUEhb8FyTE7sgfbf8FClQjBmoItdZ8DYne1hWM10Ol1hivAaWjz5LZSPs2tA2j2dlwGnC1uI07Bl0CcE-wUNfR8Scr8OJeJgyBDJ0Dt0wZwhU0j7RpKTO8D9YN3OqdXSBqAeW4A3mRV1vSlp48IhcS4Ur4Vyj9x6w6qKiAEL2fjFCe8XUE3fJGpcLDzMMigFLEyUbVBXs9YD_9ZXXhrS1dFRuLEjtYd95sftDFx5r09Nhk5iyH7jTQrYqytdOzHkS9cGLVbBFCeNlQMAqGRG6OI4FQy13NDSqhvxeSRp1wo_TtrdcNHqx8tSCrtpr3owUsLbO2uj8vCRAOL2nAxI9qDEtA-0_jdMJQnr0NBtSsAcHUZHNkwuSGH7-VV14k4hdiJyl1Yt86Iu3WQAcQzSbs-oOYfhGQmHINKUbY-auDZvH_dLVF3unFF6PSZnWQs2gfHp2KQ64F2sm9ve-5N7vlBue3IzaZOJkbprtC9WPDn9M0kqSBL__wvGZB3-86b0NwiGoUBP0v3fMx8U6JpFSj_dtKndvhbKf8oEeCDYtw1e5qaTWB3osgS6UtL7aJoBTynH-y6WSWWwhGYaR2Q7KC6n0amaxLPhZipPDHLA8pPCTKK4wgRBxqZe8UMmmHUub31VqHE_Xf5MnvRq0zSBq4fOlb79FkAqVfgWfj8lUgCi5WMl8yR-jhUqhmCApA7V3rkblrK1gDZOuFLEsGvgTDKMP8JoAKPhn-9iNcMtSlPuLWVferyXI4_PevsXqpHSh46OTneOf8qJ77FdR7Ieq87w26y1xlBJJtTaCgBrr7p0dnawL9GIPfDqXPWEzM4fDQtHBxi8fEzhdC3qJIcW4POkTekGvQucejb_NR8Px3mFDlrMO_9osbUBhv_NH7ajOfmgXfwdc0QakG-oyC7uNU_8Fa3hj0vwpV-PhJyq_a6lMVNonEVOi9VbUX0M=\",\"id\":\"rs_68d3c9390afc81908a6040e78c8d0276\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":92,\"completion_tokens\":288,\"total_tokens\":380,\"cost\":0.0014975,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000575,\"upstream_inference_completions_cost\":0.00144},\"completion_tokens_details\":{\"reasoning_tokens\":256,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 755.368166ms diff --git a/providertests/testdata/TestOpenRouterCommon/thinking-streaming-glm-4.5.yaml b/providertests/testdata/TestOpenRouterCommon/thinking-streaming-glm-4.5.yaml deleted file mode 100644 index d9fafd1f1b0ceea3298fec9b333ee80f64049f36..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/thinking-streaming-glm-4.5.yaml +++ /dev/null @@ -1,341 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 548 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"z-ai/glm-4.5","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asking","reasoning_details":[{"type":"reasoning.text","text":" asking","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.text","text":" information","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.text","text":" have","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" access","reasoning_details":[{"type":"reasoning.text","text":" access","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.text","text":" that","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" requires","reasoning_details":[{"type":"reasoning.text","text":" requires","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameter","reasoning_details":[{"type":"reasoning.text","text":" parameter","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" The","reasoning_details":[{"type":"reasoning.text","text":" The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" has","reasoning_details":[{"type":"reasoning.text","text":" has","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provided","reasoning_details":[{"type":"reasoning.text","text":" provided","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Flo","reasoning_details":[{"type":"reasoning.text","text":"Flo","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"rence","reasoning_details":[{"type":"reasoning.text","text":"rence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" so","reasoning_details":[{"type":"reasoning.text","text":" so","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.text","text":" have","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" all","reasoning_details":[{"type":"reasoning.text","text":" all","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" required","reasoning_details":[{"type":"reasoning.text","text":" required","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.text","text":" information","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" make","reasoning_details":[{"type":"reasoning.text","text":" make","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.text","text":" call","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"I","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"'ll","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" get","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" the","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" information","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":" you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":".\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_571b606857d748ca9ee1f8a7","type":"function","function":{"name":"weather","arguments":"{\"location\": \"Florence, Italy\"}"}}]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758795129-AhwfWNGq5iwT9w6anFKu","provider":"Novita","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795129,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":179,"completion_tokens":85,"total_tokens":264,"cost":0.0002944,"is_byok":false,"prompt_tokens_details":{"cached_tokens":43,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0001074,"upstream_inference_completions_cost":0.000187},"completion_tokens_details":{"reasoning_tokens":65,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.87795s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 881 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"content":"\n\nI''ll get the weather information for Florence, Italy for you.\n","tool_calls":[{"id":"call_571b606857d748ca9ee1f8a7","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_571b606857d748ca9ee1f8a7","role":"tool"}],"model":"z-ai/glm-4.5","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.text","text":"40","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" C","reasoning_details":[{"type":"reasoning.text","text":" C","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" This","reasoning_details":[{"type":"reasoning.text","text":" This","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" seems","reasoning_details":[{"type":"reasoning.text","text":" seems","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.text","text":" be","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" very","reasoning_details":[{"type":"reasoning.text","text":" very","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" simple","reasoning_details":[{"type":"reasoning.text","text":" simple","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" response","reasoning_details":[{"type":"reasoning.text","text":" response","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" -","reasoning_details":[{"type":"reasoning.text","text":" -","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" just","reasoning_details":[{"type":"reasoning.text","text":" just","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature","reasoning_details":[{"type":"reasoning.text","text":" temperature","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Celsius","reasoning_details":[{"type":"reasoning.text","text":" Celsius","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide","reasoning_details":[{"type":"reasoning.text","text":" provide","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.text","text":" this","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.text","text":" information","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clear","reasoning_details":[{"type":"reasoning.text","text":" clear","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" helpful","reasoning_details":[{"type":"reasoning.text","text":" helpful","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" way","reasoning_details":[{"type":"reasoning.text","text":" way","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"40","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" (","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"104","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":").","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" That","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" quite","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758795133-dadcB2owsTX1xsmG4aR8","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758795133,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":219,"completion_tokens":68,"total_tokens":287,"cost":0.00020199,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00008979,"upstream_inference_completions_cost":0.0001122},"completion_tokens_details":{"reasoning_tokens":53,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.018128666s diff --git a/providertests/testdata/TestOpenRouterCommon/thinking-streaming-gpt-5.yaml b/providertests/testdata/TestOpenRouterCommon/thinking-streaming-gpt-5.yaml deleted file mode 100644 index b19160f6cad4fc91a2c2117a06daf1316745b86b..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/thinking-streaming-gpt-5.yaml +++ /dev/null @@ -1,517 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 548 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"openai/gpt-5","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo1RVveTc3VBRZfL_XuOdvAUJQhflTpYPAJOsyTfsM1zgokgDwhLJJr6R0WTqbj-smy8DLOqDtio0qxjWCJaL-UlBgS7vehLvLWsTRpFJMPWcycmgMNvz6oA2jQvegMopB167Atb5CyMb9upKo-53ROqJKmvt_iQaGRUso6luaGLTfNrIPZT1xBROj0fsXIvw1LBOuPcN7atA50-JlKvtnmRGQh_fDCVUCo9odB6d6MJO2qDgLGB0LQxdZB-TFVWmpasxhOtQXbRf-vzsplFxgTitoAXS6eBBqLpu-WDI-iVEXwBYlGLyhM6P5gl8-9JhQtqEs8Ais07WXVc9KfNEhWSzXEkHpQyZSQs3MWXsl7KI5aAVkuywtNrAX08fnqs0HDry0SEHhBWE9j7_WcKsHutyQqHLieQyspKxgC4YVEVdBcBZjV93lLMK-iRS48W2PeGNSu2WvHysu_M01Klsvo9woRGY_SglqBdpjAc3hPtOcFBAI7bwXL1aKd0QOVVa0yro-sYKcwOC6tpnABqXr8g6K_QB0Z0UwmLFikB7OoOPnZgYSdhEDQxNBKWdaCIBfYGu3hFbn70PdLcrxiCmlUCqPMlYKz-TZkc-7JK9SOjw1ljaa6K3BdAY6WL4K5NXCBHRviwDa0op5QPm-Xa4jiralE8U3qs8EU9fzhGprdl5Gj-c463RwTmdFSAUmB143XGPE8sXq5lIhFCpuHObP8eEBUPW4bbbVRXCbZdvProaJujAg9e8S7Go6xqmMY1e8ImxihorthfH8kLXsDT-iswnU1u0aNynCibUmXxoTMHnnsDLs0siZOAbHUcM7C897r1yB5hIdw6QoWATUwqe1iSTuloyBBw4qxgMQCDJLoKLXF1HFlLVqUFxk7R38kfEEIvuOw6KWKSj6mrg5SOnESINx44BCrO9Ivz2xTSsNnMzaifEipQ6fepDjojM7WQYEKmtinSH0tpNNUpT4s2TpQKHx5K9IyIJl1tMX5eh5kdrGyEeYZ8s_pCCU57cF6j-zHcEzQSvQlZbdta5XfyJifNze6VW0J6F3tU9GkX8T2Ga6Rd9kLlyCZIr_TQkAgsNqe-OBfzPNXdqdguQMCkj2-gIqXXbXOxDD_s0IidbvmbFt26zl_5GqN5TDomx6Kkam0rDQBPbohlSYo1LdQVdCtRPeHtxj4ayeRIUEZ9ylI9XB4f9BK-NI1tl7EZwFCS3VL80ss_tfK8s3Nvvv1Og3a0_X3qTZj65NMQ49TFn-NvHtebbVYWsI1cqsNMfPWLJLcZeldi-dwBwBgmnSLT4hlI0I0SmpMKgHoakTV0Fn-vbAy0QuAdY3Fr8XYWCw6vzaQ7HFFpmHDaeu7StdeCACKRWsUH17Vx7gjpomQuus-qMA3qw48ML7MdxbFwgS_248Ga7_F6Gez13iuo82QpRaIckNC3qC3aFIIctEGrIYzHEGD8aHMY3lPoIQLQ-PGPopUUSfV_rNCCOJRjR5ZsjSVEQ-saB3ChOsQLROMzuSTXZlkYoCSTQS3PW06WMjQmMglXFGU5i1SsOglSUjCPsQhfkc5ZqQVylkFcTcNyX4QEW3o-1rL8naoSeXRKSDzQdEK_WazvNlC9IaiWtzPnRdJ7Uh1JsRjwL_F3YMyTqzFThlKOkyQQBTOTzo-d3KlOH-STyA","id":"rs_68d5156dd18081959a9908b185bd6f8706684f585f59b4d5","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_n0vbgqTlwbwVJ0Mo3w9JPGjM","index":1,"type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"location"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"Flor"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"ence"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":","}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":" Italy"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"completed","logprobs":null}]} - - data: {"id":"gen-1758795116-MJM5cjSIgMSwRROAhaf1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795116,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":66,"completion_tokens":150,"total_tokens":216,"cost":0.0015825,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000825,"upstream_inference_completions_cost":0.0015},"completion_tokens_details":{"reasoning_tokens":128,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 928.502333ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 800 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_n0vbgqTlwbwVJ0Mo3w9JPGjM","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_n0vbgqTlwbwVJ0Mo3w9JPGjM","role":"tool"}],"model":"openai/gpt-5","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Present","reasoning_details":[{"type":"reasoning.summary","summary":"**Present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ing","reasoning_details":[{"type":"reasoning.summary","summary":"ing","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI've","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI've","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" already","reasoning_details":[{"type":"reasoning.summary","summary":" already","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" called","reasoning_details":[{"type":"reasoning.summary","summary":" called","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.summary","summary":" returned","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.summary","summary":"40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" C","reasoning_details":[{"type":"reasoning.summary","summary":" C","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",\"","reasoning_details":[{"type":"reasoning.summary","summary":",\"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which","reasoning_details":[{"type":"reasoning.summary","summary":" which","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" understand","reasoning_details":[{"type":"reasoning.summary","summary":" understand","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" current","reasoning_details":[{"type":"reasoning.summary","summary":" current","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature","reasoning_details":[{"type":"reasoning.summary","summary":" temperature","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.summary","summary":" Florence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.summary","summary":" Italy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Since","reasoning_details":[{"type":"reasoning.summary","summary":" Since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" looking","reasoning_details":[{"type":"reasoning.summary","summary":" looking","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" current","reasoning_details":[{"type":"reasoning.summary","summary":" current","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" conditions","reasoning_details":[{"type":"reasoning.summary","summary":" conditions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.summary","summary":" should","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" present","reasoning_details":[{"type":"reasoning.summary","summary":" present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.summary","summary":" this","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" directly","reasoning_details":[{"type":"reasoning.summary","summary":" directly","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Including","reasoning_details":[{"type":"reasoning.summary","summary":" Including","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Fahrenheit","reasoning_details":[{"type":"reasoning.summary","summary":" Fahrenheit","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" equivalent","reasoning_details":[{"type":"reasoning.summary","summary":" equivalent","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" of","reasoning_details":[{"type":"reasoning.summary","summary":" of","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 104","reasoning_details":[{"type":"reasoning.summary","summary":" 104","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°F","reasoning_details":[{"type":"reasoning.summary","summary":"°F","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" might","reasoning_details":[{"type":"reasoning.summary","summary":" might","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" useful","reasoning_details":[{"type":"reasoning.summary","summary":" useful","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.summary","summary":" but","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" want","reasoning_details":[{"type":"reasoning.summary","summary":" want","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" keep","reasoning_details":[{"type":"reasoning.summary","summary":" keep","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" brief","reasoning_details":[{"type":"reasoning.summary","summary":" brief","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" can","reasoning_details":[{"type":"reasoning.summary","summary":" can","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" say","reasoning_details":[{"type":"reasoning.summary","summary":" say","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Currently","reasoning_details":[{"type":"reasoning.summary","summary":"Currently","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" around","reasoning_details":[{"type":"reasoning.summary","summary":" around","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 40","reasoning_details":[{"type":"reasoning.summary","summary":" 40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°C","reasoning_details":[{"type":"reasoning.summary","summary":"°C","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" (","reasoning_details":[{"type":"reasoning.summary","summary":" (","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"104","reasoning_details":[{"type":"reasoning.summary","summary":"104","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°F","reasoning_details":[{"type":"reasoning.summary","summary":"°F","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":")","reasoning_details":[{"type":"reasoning.summary","summary":")","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.summary","summary":" Florence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\"","reasoning_details":[{"type":"reasoning.summary","summary":".\"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" could","reasoning_details":[{"type":"reasoning.summary","summary":" could","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" also","reasoning_details":[{"type":"reasoning.summary","summary":" also","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ask","reasoning_details":[{"type":"reasoning.summary","summary":" ask","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" if","reasoning_details":[{"type":"reasoning.summary","summary":" if","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" they","reasoning_details":[{"type":"reasoning.summary","summary":" they","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" want","reasoning_details":[{"type":"reasoning.summary","summary":" want","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" forecast","reasoning_details":[{"type":"reasoning.summary","summary":" forecast","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" or","reasoning_details":[{"type":"reasoning.summary","summary":" or","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" packing","reasoning_details":[{"type":"reasoning.summary","summary":" packing","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" advice","reasoning_details":[{"type":"reasoning.summary","summary":" advice","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" remind","reasoning_details":[{"type":"reasoning.summary","summary":" remind","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" them","reasoning_details":[{"type":"reasoning.summary","summary":" them","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" stay","reasoning_details":[{"type":"reasoning.summary","summary":" stay","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" hydrated","reasoning_details":[{"type":"reasoning.summary","summary":" hydrated","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"!","reasoning_details":[{"type":"reasoning.summary","summary":"!","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Checking","reasoning_details":[{"type":"reasoning.summary","summary":"**Checking","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" accuracy","reasoning_details":[{"type":"reasoning.summary","summary":" accuracy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" verify","reasoning_details":[{"type":"reasoning.summary","summary":" verify","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which","reasoning_details":[{"type":"reasoning.summary","summary":" which","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" seems","reasoning_details":[{"type":"reasoning.summary","summary":" seems","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" retrieving","reasoning_details":[{"type":"reasoning.summary","summary":" retrieving","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" current","reasoning_details":[{"type":"reasoning.summary","summary":" current","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature","reasoning_details":[{"type":"reasoning.summary","summary":" temperature","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.summary","summary":" as","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 40","reasoning_details":[{"type":"reasoning.summary","summary":" 40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°C","reasoning_details":[{"type":"reasoning.summary","summary":"°C","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" That","reasoning_details":[{"type":"reasoning.summary","summary":" That","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" could","reasoning_details":[{"type":"reasoning.summary","summary":" could","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" seem","reasoning_details":[{"type":"reasoning.summary","summary":" seem","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" unrealistic","reasoning_details":[{"type":"reasoning.summary","summary":" unrealistic","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.summary","summary":" but","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.summary","summary":" should","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" take","reasoning_details":[{"type":"reasoning.summary","summary":" take","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" at","reasoning_details":[{"type":"reasoning.summary","summary":" at","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" face","reasoning_details":[{"type":"reasoning.summary","summary":" face","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" value","reasoning_details":[{"type":"reasoning.summary","summary":" value","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" now","reasoning_details":[{"type":"reasoning.summary","summary":" now","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" want","reasoning_details":[{"type":"reasoning.summary","summary":" want","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" keep","reasoning_details":[{"type":"reasoning.summary","summary":" keep","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" response","reasoning_details":[{"type":"reasoning.summary","summary":" response","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" straightforward","reasoning_details":[{"type":"reasoning.summary","summary":" straightforward","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" avoid","reasoning_details":[{"type":"reasoning.summary","summary":" avoid","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" heavy","reasoning_details":[{"type":"reasoning.summary","summary":" heavy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" formatting","reasoning_details":[{"type":"reasoning.summary","summary":" formatting","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" My","reasoning_details":[{"type":"reasoning.summary","summary":" My","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" main","reasoning_details":[{"type":"reasoning.summary","summary":" main","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" focus","reasoning_details":[{"type":"reasoning.summary","summary":" focus","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" on","reasoning_details":[{"type":"reasoning.summary","summary":" on","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" delivering","reasoning_details":[{"type":"reasoning.summary","summary":" delivering","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clear","reasoning_details":[{"type":"reasoning.summary","summary":" clear","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" answer","reasoning_details":[{"type":"reasoning.summary","summary":" answer","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" without","reasoning_details":[{"type":"reasoning.summary","summary":" without","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" unnecessary","reasoning_details":[{"type":"reasoning.summary","summary":" unnecessary","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" complications","reasoning_details":[{"type":"reasoning.summary","summary":" complications","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" So","reasoning_details":[{"type":"reasoning.summary","summary":" So","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" present","reasoning_details":[{"type":"reasoning.summary","summary":" present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" simply","reasoning_details":[{"type":"reasoning.summary","summary":" simply","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" conc","reasoning_details":[{"type":"reasoning.summary","summary":" conc","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"is","reasoning_details":[{"type":"reasoning.summary","summary":"is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ely","reasoning_details":[{"type":"reasoning.summary","summary":"ely","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" when","reasoning_details":[{"type":"reasoning.summary","summary":" when","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" respond","reasoning_details":[{"type":"reasoning.summary","summary":" respond","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"!","reasoning_details":[{"type":"reasoning.summary","summary":"!","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo1RV5ilpjFL7oWWYmo9t5gveEBAW2KkQcY_7fXhxgmP4NooV9Qoi6Uan98mTtYDwvQee9MAS1ltxyL9ymWH8m83Dr0MiASCM-muBzUR_I15WjxRu0juYGPLMSOecKkIasHa-o-QbW-pnbWomVLuW9LSMYlh3qiSux3Ri6pzIh0ErHjb6gY8p9vNwNw8N_hTVm0DwPIXpMDSmFmw4W4A_y5h2pCN_0YPwoqyrwaGjWnIm1mHl1K5uue5flHkQ_iPJfLcLJffktEI-5GyoRAKJ_T5jrszKxGlz2sHQXvozV8reDHENruhyMmf-Q3Vba02U_EjvKaGXbaOQgCCNYRNfNqnzjDHTGmEPONL9SJvzEU9QoLHCYoT4458nlDQcx-K9IkIx2s2Vjeku664Y8CTjmOErYdZxiAvyeTMWx9ugpR5_tPJbNIS21ePxS1rZFyem2JQxoe8Lef8sDxHE53UVXA6LeinIZcIeA1AFQYHF1QGl3Ig1lLpb-llq0VIhtTUgMy7pzLiKQwI0i1pAbArzmDRt5NngD1545jjI-VsLdDNICqiYhhsAL81jqV7SHOYu1iJWgfpIY3KF0-io0a2EFFUtiZH8zR85r6YMwwp7UOz5-QVYtQxwa06sJZdWL7Sg3QtEUb4Q2YuuYi_CP1LL5g468PIkS5lK-GZA0QizgEdoZW62yRmP-qKmTB5loFTZNRdZqlFW8pF__fdfaWA7Q85HZtiMFFq3vcRrfSBpDzv1Aaq5QhY-qNvIAGyKTezUTFXDpMMKBqspUJO8LP1tqDTq2KVre9Li-EAQPHFko6wQapGNLmhq4RgxUiBIXEjkRgha4_SVEdQx41z-LHFnI3QWyP8iLLqsg2GcF8I1IW4imElhiP5fjTSXwyXs89CQtnyE9BhtYcg9XWnZKblHbu3_PhJZB9itMgBQfGps4HI1RshIQdnID5IciNEqGzQI9zIMmFXhmKWdDJMIHjKFJoYB0R6fzfop8LtJwYb-oORcgwqK1HB_2cjfJxugTBQefEJf7WDduGdZqRrZ4zQmLaEJKffm3CjIIobsidd3YrYT6PbwhFrpIkNR5U7zLW6mziDAZ-LbY93NpEQMjSxJh8cQJViUE-2EREoajwtFwlxY9Zk-l8E7uS7TMBpgo13OoRxVTk0CT5jZMzVE60mGlPeeaHIg8JKiEMvM4KD5VfJH2-hojybqV8aw45JfYERVWqmIJERk78zpVum9TtcG5HnBJEgdfq-eofY_IrlwsZVRmnHndqiMwQ1mEl9S0TgdKR7WDHT14dg4NOWT3Bgs4K2m2kV33kqtwNLzcCeXPpMATZ6ck6zLPv91XTKrOwQ7c1GyFGd5PrWptzygxVbngNxSoZnCXBcaG5W5Mnqkplc8uVsNYa_SQNMay-KF-3rWO4x5ZEKBlvjIMFIHSQK1uqV_tX9qngW1UPrGks--tKCv2JXPxI5EK6wLtVQvJX4PPT-E6Wb1Gky_XmQ4JwUC0iafN5u7KgYxYAflV6HOmNtmkN44wt3zQ33VZyrNI8vhEp1E06bSCsH5zZCIFFVqZKEz2FRVFeT3dAxSiJJs2cBR_cdNOJ7UFlQzF0Sa4M_MMYVMltH9HQtv4zr14aqTEfH-zQPqvIVOCxzzJCTO6Vz54jIktI2rvP_iRIRrWhyqaZYwSPBVkY-VUEc-i7gsHhj8W9rtpd7pdeEp7ro1LqpHrbfF1jT-HGlj5tfNU0a09zu7O2ZTw1Uf7b6kpFGyUvHebgXUOgIxvU6v8vBIq0WaYq3hSmxoJvXKBtBpcvmMfGEq6KzkioBbQzIPXm3OA7iTOMPX3-Ywd5xnh9wOfzNxLlwUhg8sBM3Uoibz3wBkH9F8cgXI1YQJHNkkMUvjqxJKI9oAo4PQBQjD1h7kb0yBJyQo-iBXf-3Ijv0KNdm8w0Z0iSEzMGPCsQwvyrZDmNG39E2_lvJYXrA5ktRbQpqkG8pVq3U0dUKZtOJV9BPfVRYKjOQceSwdBNS2jQACecfXNFs3Rwzz0wzBuMHkPEM-xw5CcXgpabPBGZFLWVUtvyZnB077lgSTT8JrX-i04eW8ivu6bSK3xumgaA8WNWU7vcY6pv_M4hc8qzlilqudVEch5WqUcUOawyLQoQPJUlu6N989fduimwDzssl5LLRV3KfWcdRZVnTvFv4XFTz9vQ0UuUveGhXAYBL13y3qYmChaLG6-3_l71Z3qFOfH6VBhFP6FPXVBccB5aRO9rXy3MoMgdus3YQGCcup0yg4RMBV6HZOQhKFAaQF222tL_-LzawcswmY953YwhN5eJAuIwPz8JmoB24HtCjmTr2nwsKTKfA==","id":"rs_68d5157142d881908ac12df0e211d023","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"It"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"’s"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" currently"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" about"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"40"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"104"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":")"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" Would"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" like"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" a"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" forecast"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" for"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" next"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" few"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":" days"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":"?"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]} - - data: {"id":"gen-1758795120-CIGwJsN6s5vP6IsKEIzr","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758795120,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":95,"completion_tokens":225,"total_tokens":320,"cost":0.00236875,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00011875,"upstream_inference_completions_cost":0.00225},"completion_tokens_details":{"reasoning_tokens":192,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 945.818541ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_claude-sonnet-4.yaml b/providertests/testdata/TestOpenRouterCommon/tool_claude-sonnet-4.yaml deleted file mode 100644 index 2c67e0efbb857e4cb28e08bd7580c08fd38894ae..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_claude-sonnet-4.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 492 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709898-muCUC6YBOkQsYgZQ3XQy\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758709898,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll get the weather information for Florence, Italy for you.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"toolu_vrtx_01DzUZihmDKdu91Wy7AwaZPg\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence,Italy\\\"}\"}}]}}],\"usage\":{\"prompt_tokens\":394,\"completion_tokens\":67,\"total_tokens\":461,\"cost\":0.002187,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.001182,\"upstream_inference_completions_cost\":0.001005},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.978359166s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 830 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll get the weather information for Florence, Italy for you.","tool_calls":[{"id":"toolu_vrtx_01DzUZihmDKdu91Wy7AwaZPg","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"toolu_vrtx_01DzUZihmDKdu91Wy7AwaZPg","role":"tool"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709901-0FiMQa3AafYPMaVqo6e2\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758709901,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current weather in Florence, Italy is 40°C (104°F). That's quite hot! It would be a good idea to stay hydrated and seek shade or air conditioning if you're planning to be outdoors.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":476,\"completion_tokens\":50,\"total_tokens\":526,\"cost\":0.002178,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.001428,\"upstream_inference_completions_cost\":0.00075},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 2.289575042s diff --git a/providertests/testdata/TestOpenRouterCommon/tool_deepseek-chat-v3.1-free.yaml b/providertests/testdata/TestOpenRouterCommon/tool_deepseek-chat-v3.1-free.yaml deleted file mode 100644 index 4636c246c599fc0735664406c3072baa0d1b8c81..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_deepseek-chat-v3.1-free.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 499 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709955-kgF0ecZXChMvtods7Isr\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758709955,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll check the weather in Florence, Italy for you.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"call_f90e\",\"function\":{\"arguments\":\"{\\\"location\\\": \\\"Florence\\\"}\",\"name\":\"weather\"},\"type\":\"function\"}]}}],\"usage\":{\"prompt_tokens\":160,\"completion_tokens\":27,\"total_tokens\":187,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 933.800375ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 768 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"call_f90e","function":{"arguments":"{\"location\": \"Florence\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_f90e","role":"tool"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709958-T4GNXhNHpYetsYNY7qM8\",\"provider\":\"DeepInfra\",\"model\":\"deepseek/deepseek-chat-v3.1:free\",\"object\":\"chat.completion\",\"created\":1758709958,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current weather in Florence, Italy is 40°C. That's quite hot! It appears to be a very warm day there. You might want to stay hydrated and seek shade if you're in the area.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":192,\"completion_tokens\":45,\"total_tokens\":237,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 850.046791ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_gemini-2.0-flash.yaml b/providertests/testdata/TestOpenRouterCommon/tool_gemini-2.0-flash.yaml deleted file mode 100644 index 22294424a2fd1e4942d5a7f19a95f6db758054c9..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_gemini-2.0-flash.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 494 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758709944-OG8cRsACpdpBhHyzEShd\",\"provider\":\"Google AI Studio\",\"model\":\"google/gemini-2.0-flash-001\",\"object\":\"chat.completion\",\"created\":1758709944,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"tool_0_weather_qYtUDrrOMZFjCd9442rx\",\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence,Italy\\\"}\"}}]}}],\"usage\":{\"prompt_tokens\":28,\"completion_tokens\":5,\"total_tokens\":33,\"cost\":0.0000048,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000028,\"upstream_inference_completions_cost\":0.000002},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 720.3555ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 757 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"tool_0_weather_qYtUDrrOMZFjCd9442rx","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"tool_0_weather_qYtUDrrOMZFjCd9442rx","role":"tool"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758709945-yBPPVw9m9Mi7Rx0xU6Wc\",\"provider\":\"Google AI Studio\",\"model\":\"google/gemini-2.0-flash-001\",\"object\":\"chat.completion\",\"created\":1758709945,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"It is 40 C in Florence, Italy.\\n\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":56,\"completion_tokens\":12,\"total_tokens\":68,\"cost\":0.0000104,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000056,\"upstream_inference_completions_cost\":0.0000048},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 397.92925ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_gemini-2.5-flash.yaml b/providertests/testdata/TestOpenRouterCommon/tool_gemini-2.5-flash.yaml deleted file mode 100644 index 2807e0e5efc4fbfc562dc3c15756ecb773bb481c..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_gemini-2.5-flash.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 490 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758709937-UZu6RUh43VLohHCfyHr1\",\"provider\":\"Google\",\"model\":\"google/gemini-2.5-flash\",\"object\":\"chat.completion\",\"created\":1758709937,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"STOP\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"tool_0_weather_Fzw6GjsbfJRg6Y1DVFiH\",\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence,Italy\\\"}\"}}]}}],\"usage\":{\"prompt_tokens\":28,\"completion_tokens\":5,\"total_tokens\":33,\"cost\":0.0000209,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000084,\"upstream_inference_completions_cost\":0.0000125},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 918.358875ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 753 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"tool_0_weather_Fzw6GjsbfJRg6Y1DVFiH","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"tool_0_weather_Fzw6GjsbfJRg6Y1DVFiH","role":"tool"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: '{"id":"gen-1758709938-Rbi8lpF5TrLKOO4wrOcC","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion","created":1758709938,"choices":[{"logprobs":null,"finish_reason":"stop","native_finish_reason":"STOP","index":0,"message":{"role":"assistant","content":"The weather in Florence, Italy is 40 C.","refusal":null,"reasoning":null}}],"usage":{"prompt_tokens":57,"completion_tokens":12,"total_tokens":69,"cost":0.0000471,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000171,"upstream_inference_completions_cost":0.00003},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}' - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 448.051334ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_glm-4.5.yaml b/providertests/testdata/TestOpenRouterCommon/tool_glm-4.5.yaml deleted file mode 100644 index 58083817c4d94b8dc6dfdbc6562548646ef389b7..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_glm-4.5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 479 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758710041-3m14QeaDftR1INdZc8i0\",\"provider\":\"SiliconFlow\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758710041,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\nI'll get the weather information for Florence, Italy for you.\\n\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"01997b499643e3c17b65e7ff8c7594ef\",\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence,Italy\\\"}\"}}]}}],\"system_fingerprint\":\"\",\"usage\":{\"prompt_tokens\":191,\"completion_tokens\":29,\"total_tokens\":220,\"cost\":0.0001535,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000955,\"upstream_inference_completions_cost\":0.000058},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.901487375s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 815 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\nI''ll get the weather information for Florence, Italy for you.\n","tool_calls":[{"id":"01997b499643e3c17b65e7ff8c7594ef","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"01997b499643e3c17b65e7ff8c7594ef","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758710044-7EkwjGCPSkgieHqoT9Jj\",\"provider\":\"AtlasCloud\",\"model\":\"z-ai/glm-4.5\",\"object\":\"chat.completion\",\"created\":1758710044,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\\n\\nThe current weather in Florence, Italy is 40°C (104°F). That's quite hot!\",\"refusal\":null,\"reasoning\":\"The weather function returned \\\"40 C\\\" for Florence, Italy. This indicates that the current temperature in Florence is 40 degrees Celsius. I should provide this information to the user in a clear and helpful way.\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The weather function returned \\\"40 C\\\" for Florence, Italy. This indicates that the current temperature in Florence is 40 degrees Celsius. I should provide this information to the user in a clear and helpful way.\",\"format\":\"unknown\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":228,\"completion_tokens\":67,\"total_tokens\":295,\"cost\":0.0002842,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0001368,\"upstream_inference_completions_cost\":0.0001474},\"completion_tokens_details\":{\"reasoning_tokens\":53,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.204569125s diff --git a/providertests/testdata/TestOpenRouterCommon/tool_gpt-5.yaml b/providertests/testdata/TestOpenRouterCommon/tool_gpt-5.yaml deleted file mode 100644 index d5d3da4832be90ed6d9e1b4406cd717873d39221..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_gpt-5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 490 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709991-guGOfnMFdatrP8vo6qIl\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758709991,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"**Fetching weather info**\\n\\nI need to provide the current weather info. I have a tool that takes a location string, so I’ll use it for Florence, Italy. Since the user didn’t specify a date or time, I’ll assume they want the current weather. There's no need for multi-tool use here since I only need one tool. I’ll just call the weather function, and once I get a result, I’ll present it to the user. Let's go ahead and call the function!\",\"tool_calls\":[{\"id\":\"call_6sdDb5nHKbbMDdHN5xmcm7ri\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Fetching weather info**\\n\\nI need to provide the current weather info. I have a tool that takes a location string, so I’ll use it for Florence, Italy. Since the user didn’t specify a date or time, I’ll assume they want the current weather. There's no need for multi-tool use here since I only need one tool. I’ll just call the weather function, and once I get a result, I’ll present it to the user. Let's go ahead and call the function!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo08jsofIlVMHndIFSMEln17C_FIqCrfkOSzH4LyFoIBXI_O-BOYybV9W7ARpPo16RLOA2iM619vADOvKeTnsG71voyvCDKMLrgvJyKyQnKMYGfNBR515QSQO-na83jKHDykKmnbakCoffFX8SeyCah7fhpfh39UOSNo7BwjroBFRfUhdbRwVjtxwzWemRNdzDH7i_yosCEV6v8pNoYzonvBb_9s0nWJWu1YHcaed3Jz3rf24PG1jFLqOloVilJHVV6q8lJmuAxpq_V8rk_zu1GpE_tbMCvMHI_GjLuaLaMHM1s737LrcOUcgH_nGgQ9OvPIaZY4cwdNc-7nFuedxJH7oPF085tGZHKimu_bNMlw4arfnqkXwcIlvD4nEBnexRo4XYG0SqoRA8ZCZGNpWltuhjb3RIBspPL9ZCfRTJW1hVbbLKuRY8hgDG0zZx1RXsPNz2u17ppyz1Ro68vV1DvfOsUTA0K3Do80UVyvF-aV5MSfZVs92rJ4cEjm2IEoRA7muyw0LWilLGN8JVMGnPPxuDerrZwzzSa8NGtRhfdeIojFd7Ku-Phwqn3WT8M-gmUiivckQJftblb_Msyf3iiiN4_xs2mlE8Wui0kFupB-_BW0Q1nSPHOtY4pkLIhvovfGPmNzoU3dvqBeXgs0BsT_1JxXlTiMuo-y2BzpnrfWrbda0D-0gYzFws7gaGegze12cL1-l0HsGSzmQkUVeTEp3jTL9fyZX9HPs4Eh7JInYh6C7pLfqgqAWwQfUzjlG9LGNyrOpAjsoedViG7XYiQ_LPbqzjVm87vH5voku_RLd4f-dpQfbF1olIhNsJ7-K62mF8W9XYY0NGA4kGuCMd3iX2zSJK_JvcqpEpqlsCwdC38i1CakT1WelQuopeoNFq0tRGoz6oywuq4VPR9nmRtYofQ0UGTB4D9oEEIEbA48Jp1CDH3mls2gpRIeWt-yeIbS9qyDYcya-gkthYZQF_w-bjCRVsXp9sca3ZDLfdFWPwwgnfMdRJa3IxhOK9lysh87k-NzL-PZygZsA082cMJxzJSxf1gbv_QeezABa08Rs1r-NP6z6cCNuIW7lpIRSSUA4mQvlVyAAc6XfKstvpLFDpLzc-ece74nsKEYG-8SHwQFenbs_98AiXexZNqRIvum3kQIXmXKoeeaGWFRheAxS0AVKdLSOHOHHt9-p6o5za4Wpt8oJbdZ209qgA-1OP2qJ4kGv9c8166EssSbwkcTZzVHPoEhdHhe6FdwN60RCm7poK4JRL4QpsyuwHUyQYuYwaiASDwreCPKyYU1l7J1qnKjMuyvvDfOSs5OtuFWc8OEslQH7GF7dX3WPAOtx2zwXtzjjR8akSLzzGVIKQBKPm5OQKezG870ZqrjjKl1YgD4cDD2GGJZ29oCLz5RVtFpAzrTUDJBdvgqH18jrVJgy3ig==\",\"id\":\"rs_68d3c8e8b1dc8193b77038de6ac0eeef008930d7f4c0b58a\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":63,\"completion_tokens\":86,\"total_tokens\":149,\"cost\":0.00093875,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00007875,\"upstream_inference_completions_cost\":0.00086},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 720.861ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 742 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_6sdDb5nHKbbMDdHN5xmcm7ri","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_6sdDb5nHKbbMDdHN5xmcm7ri","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709996-xuyPl3glOSzMjEdyB2aR\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758709996,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"It’s currently about 40°C (104°F) in Florence, Italy. Would you like a forecast or tips for staying cool?\",\"refusal\":null,\"reasoning\":\"**Reporting Florence weather**\\n\\nThe tool returned \\\"40°C\\\" for Florence, Italy. Since we want to present this clearly, I’ll say, \\\"It’s currently around 40°C in Florence.\\\" Adding suggestions like staying hydrated or seeking shade is reasonable. The temperature is hot for September, but since it is what the tool says, I trust it. I could also convert that to Fahrenheit: that's about 104°F. Overall, I aim for a concise and clear response without heavy formatting.**Providing weather details**\\n\\nI should consider if the user wants a forecast since my response is minimal. Even though the multi_tool_use wrapper exists, it isn't necessary for this case. I'll present the weather as \\\"It's currently about 40°C (104°F) in Florence, Italy.\\\" It might be nice to ask if they'd like more details like forecast, humidity, or wind. However, since I don't have that data, I can't offer it. I’ll keep my response straightforward without any special formatting.\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Reporting Florence weather**\\n\\nThe tool returned \\\"40°C\\\" for Florence, Italy. Since we want to present this clearly, I’ll say, \\\"It’s currently around 40°C in Florence.\\\" Adding suggestions like staying hydrated or seeking shade is reasonable. The temperature is hot for September, but since it is what the tool says, I trust it. I could also convert that to Fahrenheit: that's about 104°F. Overall, I aim for a concise and clear response without heavy formatting.**Providing weather details**\\n\\nI should consider if the user wants a forecast since my response is minimal. Even though the multi_tool_use wrapper exists, it isn't necessary for this case. I'll present the weather as \\\"It's currently about 40°C (104°F) in Florence, Italy.\\\" It might be nice to ask if they'd like more details like forecast, humidity, or wind. However, since I don't have that data, I can't offer it. I’ll keep my response straightforward without any special formatting.\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo08jzPxLRljLv8Tguk1ShMKO7iH5T17R2AAcJNvt9-kRYCU7f2nKCplW-UAFBIf5WPw09f5YlUFXWT94eymFSsQ_P_ZAEmEcmzKCBtboo0PjepzFez54Df0AID36QiD3TMBufJ3QzpyRu2_ew2U4DPJxN1Rgd8MaJrozgVT88P8hcDt3FAtAXQUNpLZ16tBrp2vPwyliDbUBlX8lSRAWHKJGWcBNWiKiu3Fgml4TV4R_I7hQP4gIL5ORfvaC-Be3WCGFRyDLJxz-fJh_vWCFYMjgP4J6r2D0qNQZd8_8WB9altj2-WFiy1FExhF_bx0uUZ2bsU2vQnl3veKsZ6MIcC-RRs31PdIX7pEeUq64eyqPSuZblynigGrhVMrlg3V1EeY769d2Tc8aSSz9rO5kj02cD1QRSFgavPFL1Suzdibu6rskHJGr-jOcXHzmvmeAx44j1qIGHwfjVN_vlgcxWv--JpHv43fxz0sNBh716qjefRpiH4A7-0YxmqnCvX7j5zVd1Bcd88RIiQqyNExkTL5MWJilbBRNl4hPznAo7Ya69baLecxLryrWLvFlq1LAWDSADHi6Ywd3KCE3mY9czGqsrE-hqvtWJX2C0WlUfOD5R-xb2W6vTO1cpiNZLlTcmocQXUi5pZRChLidJoz152mlOvQ2MTyP7fN6rBs399-tNjhUg5KFFWCy-WQEWKu_vbGae3f08MlR0d-FlImSwKMVmXTmCL96eQWRlgRLcmGSUvNls4jinyXF3psQ3F4anUSghONozstnOSASBXaclxs3xkMmJmb-eDZEg1KplaUFOIl2pSMgjdrOoMuUhnULOYTjmHai8qBpbqzBdTSSE5jNOpwOCuD4X5d6kiR3CZ3G3s1CjQFKksEYxPN0qtCg5gUSLm-s0D9fQr18TqzwksiOgo6IGMpgR6odiENE2BQ8u12MyEWEiPd4D1ECG45wScBXk0C-3EumYEShvBAxMFwyfgsTKKRE8KO1hmfdj9fZ5n-yEiFvzF4c7VuULoRLGu-3_4EzV0dF2Q93Mn1f88kmbqEz4OfIGPkoejYZFf_M6Awh9-E3KTGke8Ea95vl6v5jbEetj4u0x_AtwKXp-wC36PnYqf0f5SIzKLTo6v1V_bsQsfJN6fooADpFWKhRElBA46FxRmoYx0Xvf9Pd_ba2bBsD-CZU-l3UCwR7S0ZJjG5KJcHnrB2QdY5pwsQ72FShWEQjQKMcroaS8LzujYCdqRQdj8TaG3qhJwWef1KMV6xG6qFLYNZMYCiNtl9sdUQTuglMbvBWswjzse_7pXvqmEiHarPc80hlNtQ_DP0CQRwLUf0YXM7IG7F3ziAuOfvoihyCAh2zjtP_8EGT55ETqPH8fimwcXd8_wIIV2LAv09d1Rm-h9Z9CpAmaAY-b0fFh1sF6DpW7__cOPAu724URYE6DbXcW46_UxTqHeHBtw-K5TCHm1mqxuVRRdOhPLwj2vDToOIa5lY5aB9ZIutgjbqMhAEZBHm0ED1XQCYxluT5W0yQ1RofpsNVvSBTMZ-nKnAii3VuJ2rwFyB1dOEic0IQZNH7iJ9ea_HKCxV1tLh9LkzLxdaggsox206aic7gUMGca4C7lv6uoHwrSDb16XPyhHnTI_UktZB9KYsUxFcEeyBNQ0xiwi9u5iBCFYPzhFhjwLqBUiqQbswKNo1GA3X34kQqCZZ3lhejM2xv5BVZcVSuTiSztgS9HAuzgW2sur-6ZorIdWxmXa5L5liDzAK4AQk0mET32tpS-3ynstP_kMK2TkJLcE9DUl5WpWp4RnHNBztIVij0s-DvhsLxJC3ozNHBC6f3Nt2LRvuPQbmMkN08gPJWyuWls_6M_JvDIxWINegdG3v_5wQ1c3sg20LwK0fWuOs_hXgfILR2HAd_m1sVob49Epy4tEhs_4PRLG7cQIMHFz316Wh253LIShEgqe6W4BtV__MFUoyWZN-81IH1y1bxzNb6LhVIH2DAcZ6lCvDb9hF0NCNj6Y_Nj0D6LxFnhJTmoHeJ9hCpKM46zaiuE0nge3V9UTK3wIHfaLMpORHu9H3LwBdAso0wX_7gB7hvR5Hq5kn_Jreuqfjhx5dLcoTIyg9Doc4fzpFh7ervcIhP9ChXcZ9I7k1il4rkbtcRnJjR0KdEmigFanNBP6OGCnNLu3JdEM3uhdNjc32O92t1nf3xTIA7hpKMQJMd3vkBq33HOjDZog18iLRLmZuYzm2bYzHvSkHuijLZzDmHwyTtW4V4RV5CTGaMspoIMrcQpoU3Gz4EX872lp1kYgRWKoBGv23CHuKz7BOT75kf3twh00A2z_dGVGbgQT9EVJPK5yzNTlrRl6O--tskyVurkD_3H9oWEvHXG_d-Rnmc8h0pX1pACy-dWUR6_GJZ1aa-IjG2qxYJzx1oZGzI7x5hOHpA39BHHTwfd7c_c_kPa_5g7zoGO9cigebS0Fehsam4xOINKxiB43BqPqkJ29VoNuLl6WBA5Zcx1VBMYraNWzJSwNIIzVVzjB4twpPis4zn7ddTgfgr9nN2SR1Qn2KiKqom4F9S1m4B0xisNUbk4qwLtMp_l15aDyVddTZThEYsXUqjCaCJM7VGc1-wBiTttAsuCheg7ud4uf23y5vWPHQFmTALDVbMbI4KeB7UpBJJJng4TP-jr-lRk3sNCqMU9v1wVWohYKi0FznYtwPfrGtkZT1IraCpfg07D6SV0zZlESjb3sUBNdTnuDjc=\",\"id\":\"rs_68d3c8ed9ddc81908f992d15e6c4a658\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":92,\"completion_tokens\":289,\"total_tokens\":381,\"cost\":0.003005,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000115,\"upstream_inference_completions_cost\":0.00289},\"completion_tokens_details\":{\"reasoning_tokens\":256,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 659.239875ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_grok-4-fast-free.yaml b/providertests/testdata/TestOpenRouterCommon/tool_grok-4-fast-free.yaml deleted file mode 100644 index 874207100d5ebc43242afddcb4139b419fb72aa9..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_grok-4-fast-free.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 488 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n{\"id\":\"gen-1758709923-KWVBVrQU0ASlL4e93i2P\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-4-fast:free\",\"object\":\"chat.completion\",\"created\":1758709923,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"call_43524874\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"},\"index\":0,\"type\":\"function\"}]}}],\"system_fingerprint\":\"fp_9362061f30\",\"usage\":{\"prompt_tokens\":322,\"completion_tokens\":117,\"total_tokens\":439,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":265,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":91,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 288.419792ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 708 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_43524874","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_43524874","role":"tool"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n{\"id\":\"gen-1758709925-KW5q44trpZVPjx7magOa\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-4-fast:free\",\"object\":\"chat.completion\",\"created\":1758709925,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current temperature in Florence, Italy, is 40°C. If you need more details like forecast or conditions, let me know!\",\"refusal\":null,\"reasoning\":null}}],\"system_fingerprint\":\"fp_9362061f30\",\"usage\":{\"prompt_tokens\":452,\"completion_tokens\":81,\"total_tokens\":533,\"cost\":0,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":440,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0,\"upstream_inference_completions_cost\":0},\"completion_tokens_details\":{\"reasoning_tokens\":54,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 306.220959ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_grok-code-fast-1.yaml b/providertests/testdata/TestOpenRouterCommon/tool_grok-code-fast-1.yaml deleted file mode 100644 index b22bd6367cb1ed9ae1ecfaf5598db7d4b8ae27e3..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_grok-code-fast-1.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 488 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n{\"id\":\"gen-1758709876-YGFRzdYEAAAk1bt1c56q\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758709876,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"The user asked for the weather in Florence, Italy. I have a weather tool available.\\n\\n\\n## Handling Weather Request \\n- The user wants the current weather in Florence, Italy.\",\"tool_calls\":[{\"id\":\"call_10218675\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence,Italy\\\"}\"},\"index\":0,\"type\":\"function\"}],\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user asked for the weather in Florence, Italy. I have a weather tool available.\\n\\n\\n## Handling Weather Request \\n- The user wants the current weather in Florence, Italy.\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":390,\"completion_tokens\":115,\"total_tokens\":505,\"cost\":0.00018138,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":384,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00000888,\"upstream_inference_completions_cost\":0.0001725},\"completion_tokens_details\":{\"reasoning_tokens\":89,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 652.646458ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 707 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_10218675","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_10218675","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709878-S7COcrXRSnk3GiQQphYk\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion\",\"created\":1758709878,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current weather in Florence, Italy, shows a temperature of 40°C. If you'd like more details such as humidity, wind speed, or forecasts, let me know!\",\"refusal\":null,\"reasoning\":\"The tool returned: 40 C\\n\\n\\n## Checking weather data \\n- The tool provided \\\"40 C\\\" as a response to the query about the weather in Florence, Italy.\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The tool returned: 40 C\\n\\n\\n## Checking weather data \\n- The tool provided \\\"40 C\\\" as a response to the query about the weather in Florence, Italy.\",\"format\":\"unknown\",\"index\":0}]}}],\"system_fingerprint\":\"fp_10f00c862d\",\"usage\":{\"prompt_tokens\":518,\"completion_tokens\":164,\"total_tokens\":682,\"cost\":0.00026896,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":448,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00002296,\"upstream_inference_completions_cost\":0.000246},\"completion_tokens_details\":{\"reasoning_tokens\":129,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 509.812875ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_kimi-k2.yaml b/providertests/testdata/TestOpenRouterCommon/tool_kimi-k2.yaml deleted file mode 100644 index 6ffb690114593ce019680b46fe92e2fb754e5e87..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_kimi-k2.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 490 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n{\"id\":\"gen-1758709846-1RnWtBdGud92Hti3Fmnx\",\"provider\":\"DeepInfra\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758709846,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"I'll get you the current weather information for Florence, Italy.\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"0\",\"function\":{\"arguments\":\"{\\\"location\\\": \\\"Florence,Italy\\\"}\",\"name\":\"weather\"},\"type\":\"function\"}]}}],\"usage\":{\"prompt_tokens\":90,\"completion_tokens\":26,\"total_tokens\":116,\"cost\":0.000097,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000045,\"upstream_inference_completions_cost\":0.000052},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 708.914292ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 764 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll get you the current weather information for Florence, Italy.","tool_calls":[{"id":"0","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"0","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709848-gWoTgsh7yVVvHMhZITCD\",\"provider\":\"SiliconFlow\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758709848,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current weather in Florence, Italy is 40°C. That's quite hot! Stay hydrated and try to stay in the shade during peak sun hours.\",\"refusal\":null,\"reasoning\":null}}],\"system_fingerprint\":\"\",\"usage\":{\"prompt_tokens\":155,\"completion_tokens\":30,\"total_tokens\":185,\"cost\":0.0001586,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000899,\"upstream_inference_completions_cost\":0.0000687},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.618060625s diff --git a/providertests/testdata/TestOpenRouterCommon/tool_qwen3-235b-a22b-2507.yaml b/providertests/testdata/TestOpenRouterCommon/tool_qwen3-235b-a22b-2507.yaml deleted file mode 100644 index b0a731c1cc33b69c31303a2d28934706c9330207..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_qwen3-235b-a22b-2507.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 492 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n{\"id\":\"gen-1758710802-jjLneR2n5CG1TIr1KLiR\",\"provider\":\"Parasail\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758710802,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"id\":\"chatcmpl-tool-425b62bea33a42f5a18cc0437abd1242\",\"type\":\"function\",\"index\":0,\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence, Italy\\\"}\"}}]}}],\"usage\":{\"prompt_tokens\":171,\"completion_tokens\":22,\"total_tokens\":193,\"cost\":0.00004435,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00002565,\"upstream_inference_completions_cost\":0.0000187},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.177089167s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 779 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"chatcmpl-tool-425b62bea33a42f5a18cc0437abd1242","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"chatcmpl-tool-425b62bea33a42f5a18cc0437abd1242","role":"tool"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n{\"id\":\"gen-1758710803-o3cTo1AJGOAxxRDqRYYh\",\"provider\":\"WandB\",\"model\":\"qwen/qwen3-235b-a22b-2507\",\"object\":\"chat.completion\",\"created\":1758710803,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current temperature in Florence, Italy is 40°C. That's quite hot! Make sure to stay hydrated and avoid prolonged exposure to the sun if you're there.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":209,\"completion_tokens\":36,\"total_tokens\":245,\"cost\":0.0000245,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000209,\"upstream_inference_completions_cost\":0.0000036},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 920.14675ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_claude-sonnet-4.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_claude-sonnet-4.yaml deleted file mode 100644 index 53ee75f78ebf94958ecb7d8939c99107f2d082e6..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_claude-sonnet-4.yaml +++ /dev/null @@ -1,131 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 546 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll get the current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather information for Florence, Italy for you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"toolu_vrtx_01QNVf5N27PGZUy2hdgEBgQa","index":0,"type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"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}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"{\"loc"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"ation\": "}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\"Floren"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"ce, Italy\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} - - data: {"id":"gen-1758709904-eWGMmroChtWuMqmxkutI","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709904,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":394,"completion_tokens":68,"total_tokens":462,"cost":0.002202,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001182,"upstream_inference_completions_cost":0.00102},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 2.348995459s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 893 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll get the current weather information for Florence, Italy for you.","tool_calls":[{"id":"toolu_vrtx_01QNVf5N27PGZUy2hdgEBgQa","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"toolu_vrtx_01QNVf5N27PGZUy2hdgEBgQa","role":"tool"}],"model":"anthropic/claude-sonnet-4","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":"The current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" temperature","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" in Florence, Italy is 40°","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":"C (104°F). That","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s quite","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot! Make","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" sure to","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" stay","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated and seek","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" shade if","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" you're","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":" planning to be out","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":"doors.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758709907-rixSh0antqCG1LOkG9L6","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758709907,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":477,"completion_tokens":43,"total_tokens":520,"cost":0.002076,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001431,"upstream_inference_completions_cost":0.000645},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 2.021869167s diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_deepseek-chat-v3.1-free.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_deepseek-chat-v3.1-free.yaml deleted file mode 100644 index 313102d2c466536c9279125bd8e3a45fec7d0275..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_deepseek-chat-v3.1-free.yaml +++ /dev/null @@ -1,149 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 553 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":"I","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":"'ll check","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":" the weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence,","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy for","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":" you.","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_839f","function":{"arguments":"{\"location\": \"Florence\"}","name":"weather"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} - - data: {"id":"gen-1758709961-Pa2LV4AqJywjfKzcDE5c","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709961,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":160,"completion_tokens":27,"total_tokens":187,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 446.60825ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 822 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"call_839f","function":{"arguments":"{\"location\": \"Florence\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_839f","role":"tool"}],"model":"deepseek/deepseek-chat-v3.1:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence,","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy is","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" currently **","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"40°","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"C**","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" (104","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"°","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"F).","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" That's","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" quite hot","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"! It","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" appears","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" to","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" be a","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" very warm","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" day there","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":". You","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" might want","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" to stay","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" seek shade","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" if you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"'re planning","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" to","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":" be outdoors","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758709965-DIoUrQPblLedfSbK10sT","provider":"DeepInfra","model":"deepseek/deepseek-chat-v3.1:free","object":"chat.completion.chunk","created":1758709965,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":192,"completion_tokens":51,"total_tokens":243,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.3195515s diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_gemini-2.0-flash.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_gemini-2.0-flash.yaml deleted file mode 100644 index c4f9a1a9c0850c5512d6d601f8da19f9882bd230..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_gemini-2.0-flash.yaml +++ /dev/null @@ -1,75 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 548 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709945-z3I8wuODPUkFvoYAm94e","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758709945,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"tool_0_weather_eSe4zRv6CB7jWK5vKM1u","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"}}]},"finish_reason":"tool_calls","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758709945-z3I8wuODPUkFvoYAm94e","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758709945,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":28,"completion_tokens":5,"total_tokens":33,"cost":0.0000048,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000028,"upstream_inference_completions_cost":0.000002},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 885.527292ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 811 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"tool_0_weather_eSe4zRv6CB7jWK5vKM1u","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"tool_0_weather_eSe4zRv6CB7jWK5vKM1u","role":"tool"}],"model":"google/gemini-2.0-flash-001","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709946-fiIQs2CzPcdrntAxPyCf","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758709946,"choices":[{"index":0,"delta":{"role":"assistant","content":"The weather in Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709946-fiIQs2CzPcdrntAxPyCf","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758709946,"choices":[{"index":0,"delta":{"role":"assistant","content":", Italy is 40 C.\n"},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758709946-fiIQs2CzPcdrntAxPyCf","provider":"Google AI Studio","model":"google/gemini-2.0-flash-001","object":"chat.completion.chunk","created":1758709946,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":58,"completion_tokens":13,"total_tokens":71,"cost":0.000011,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000058,"upstream_inference_completions_cost":0.0000052},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 515.069041ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_gemini-2.5-flash.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_gemini-2.5-flash.yaml deleted file mode 100644 index c898cdb950aee38854c1022255f81c3fb1db5a04..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_gemini-2.5-flash.yaml +++ /dev/null @@ -1,75 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 544 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709938-NHkZaJSNsxQQNnAzqO5H","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709938,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"tool_0_weather_xBkaIsEkug4mfh3X04ps","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"}}]},"finish_reason":"tool_calls","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758709938-NHkZaJSNsxQQNnAzqO5H","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709938,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":28,"completion_tokens":5,"total_tokens":33,"cost":0.0000209,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000084,"upstream_inference_completions_cost":0.0000125},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 828.459833ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 807 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"tool_0_weather_xBkaIsEkug4mfh3X04ps","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"tool_0_weather_xBkaIsEkug4mfh3X04ps","role":"tool"}],"model":"google/gemini-2.5-flash","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709939-bRUUybEXMhu35l88hMQ0","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709939,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758709939-bRUUybEXMhu35l88hMQ0","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709939,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather in Florence, Italy is 40 degrees Celsius.","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"STOP","logprobs":null}]} - - data: {"id":"gen-1758709939-bRUUybEXMhu35l88hMQ0","provider":"Google","model":"google/gemini-2.5-flash","object":"chat.completion.chunk","created":1758709939,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":56,"completion_tokens":13,"total_tokens":69,"cost":0.0000493,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000168,"upstream_inference_completions_cost":0.0000325},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 651.246708ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_glm-4.5.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_glm-4.5.yaml deleted file mode 100644 index 36326ab02fe0e954eb37e8876970e6f15d39c7a4..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_glm-4.5.yaml +++ /dev/null @@ -1,275 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 533 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asking","reasoning_details":[{"type":"reasoning.text","text":" asking","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.text","text":" need","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" get","reasoning_details":[{"type":"reasoning.text","text":" get","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.text","text":" this","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.text","text":" information","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" The","reasoning_details":[{"type":"reasoning.text","text":" The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameter","reasoning_details":[{"type":"reasoning.text","text":" parameter","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" required","reasoning_details":[{"type":"reasoning.text","text":" required","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" has","reasoning_details":[{"type":"reasoning.text","text":" has","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" specified","reasoning_details":[{"type":"reasoning.text","text":" specified","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Flo","reasoning_details":[{"type":"reasoning.text","text":"Flo","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"rence","reasoning_details":[{"type":"reasoning.text","text":"rence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Italy","reasoning_details":[{"type":"reasoning.text","text":"Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.text","text":" this","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" exact","reasoning_details":[{"type":"reasoning.text","text":" exact","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" value","reasoning_details":[{"type":"reasoning.text","text":" value","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provided","reasoning_details":[{"type":"reasoning.text","text":" provided","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" by","reasoning_details":[{"type":"reasoning.text","text":" by","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_515d3aab515e4b1c852510ce","index":0,"type":"function","function":{"name":"weather","arguments":"{\"location\": \"Florence,Italy\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} - - data: {"id":"gen-1758710047-XiHmPZoovEH3dUaSSJTf","provider":"Chutes","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710047,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":178,"completion_tokens":76,"total_tokens":254,"cost":0.00019838,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00007298,"upstream_inference_completions_cost":0.0001254},"completion_tokens_details":{"reasoning_tokens":67,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.045373875s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 802 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\n\n","tool_calls":[{"id":"call_515d3aab515e4b1c852510ce","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_515d3aab515e4b1c852510ce","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asked about","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the weather","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in Florence","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":", Italy","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and I","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" used","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the weather","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function with","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location \"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Florence","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",Italy","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\". The","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function returned","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"40","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" C\",","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which indicates","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the current","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature is","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 40","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" degrees Celsius","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":". \n\n","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"I should","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide this","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information to","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the user","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in a","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clear and","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" helpful way","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":"","reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":" current weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":" in Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":", Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":" is ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"40°C","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758710050-n1tUsF1phNSWggSYnA8M","provider":"Parasail","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1758710050,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":206,"completion_tokens":76,"total_tokens":282,"cost":0.00028114,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00012154,"upstream_inference_completions_cost":0.0001596},"completion_tokens_details":{"reasoning_tokens":74,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.123029792s diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_gpt-5.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_gpt-5.yaml deleted file mode 100644 index 6d0c21e665b10189932b6509529d4869bbb7de7d..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_gpt-5.yaml +++ /dev/null @@ -1,511 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 544 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Getting","reasoning_details":[{"type":"reasoning.summary","summary":"**Getting","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" gather","reasoning_details":[{"type":"reasoning.summary","summary":" gather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" info","reasoning_details":[{"type":"reasoning.summary","summary":" info","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" There's","reasoning_details":[{"type":"reasoning.summary","summary":" There's","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".weather","reasoning_details":[{"type":"reasoning.summary","summary":".weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.summary","summary":" that","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" can","reasoning_details":[{"type":"reasoning.summary","summary":" can","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.summary","summary":" location","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" string","reasoning_details":[{"type":"reasoning.summary","summary":" string","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Since","reasoning_details":[{"type":"reasoning.summary","summary":" Since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" we","reasoning_details":[{"type":"reasoning.summary","summary":" we","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" only","reasoning_details":[{"type":"reasoning.summary","summary":" only","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" one","reasoning_details":[{"type":"reasoning.summary","summary":" one","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" calling","reasoning_details":[{"type":"reasoning.summary","summary":" calling","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".weather","reasoning_details":[{"type":"reasoning.summary","summary":".weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" directly","reasoning_details":[{"type":"reasoning.summary","summary":" directly","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" seems","reasoning_details":[{"type":"reasoning.summary","summary":" seems","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" best","reasoning_details":[{"type":"reasoning.summary","summary":" best","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Using","reasoning_details":[{"type":"reasoning.summary","summary":" Using","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multi","reasoning_details":[{"type":"reasoning.summary","summary":" multi","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"_tool","reasoning_details":[{"type":"reasoning.summary","summary":"_tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"_use","reasoning_details":[{"type":"reasoning.summary","summary":"_use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" wouldn't","reasoning_details":[{"type":"reasoning.summary","summary":" wouldn't","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" necessary","reasoning_details":[{"type":"reasoning.summary","summary":" necessary","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" since","reasoning_details":[{"type":"reasoning.summary","summary":" since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it's","reasoning_details":[{"type":"reasoning.summary","summary":" it's","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" just","reasoning_details":[{"type":"reasoning.summary","summary":" just","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" one","reasoning_details":[{"type":"reasoning.summary","summary":" one","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Flor","reasoning_details":[{"type":"reasoning.summary","summary":"Flor","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ence","reasoning_details":[{"type":"reasoning.summary","summary":"ence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.summary","summary":" Italy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.summary","summary":"\"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.summary","summary":" as","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.summary","summary":" location","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" After","reasoning_details":[{"type":"reasoning.summary","summary":" After","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.summary","summary":" call","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I'll","reasoning_details":[{"type":"reasoning.summary","summary":" I'll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" present","reasoning_details":[{"type":"reasoning.summary","summary":" present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which","reasoning_details":[{"type":"reasoning.summary","summary":" which","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.summary","summary":" should","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.summary","summary":" returned","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" by","reasoning_details":[{"type":"reasoning.summary","summary":" by","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Since","reasoning_details":[{"type":"reasoning.summary","summary":" Since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’s","reasoning_details":[{"type":"reasoning.summary","summary":"’s","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" simulated","reasoning_details":[{"type":"reasoning.summary","summary":" simulated","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.summary","summary":" function","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" wait","reasoning_details":[{"type":"reasoning.summary","summary":" wait","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" response","reasoning_details":[{"type":"reasoning.summary","summary":" response","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" before","reasoning_details":[{"type":"reasoning.summary","summary":" before","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" proceeding","reasoning_details":[{"type":"reasoning.summary","summary":" proceeding","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo08j65DE31jaXBbBCTWvrKf_L_89WtE4kzYp8Gh-Zucztj8tVVdN7ZHfKkI_zBXSNNkDKus87WYs2BCWfWicPdzIHYPZBl_gcpBidKhU5rGmsvfOOxluzoI6Z6v8GhnfXa8vR2Y9sT6wFzNXKoWIBqgp5MaS9esw8wThz4I9hBCdcvEz0XRNtDvSmMnlQV5CT4gIP4gEJODAY7QROdahq2aPI8Ub1iM_i9l0OH45XtLupchPdmMu08mzTU19p-h8snVh2sSE8Z1K0CGqCzMiWYsXzOVzj-YEAk8B-AZZxzM_6qDEFbFtOELHLzxmPOxCyzHfuutjlBG00g5NEiI8jldyjk_xdwsAh931BJRMCJtRAAfqqrKXUItlVratEOKeSS5NPbJrUNIWz8FfdnRQHvOQqbrQvJH9WVmoG22Q4e6IO6wRl3eXJKFzuwHHXIRimR-f1bGfK--YsDuzEeDWq_r3KnVow20NgPrC6wXaoIJ3vgmx6hzvQhxSuyZkRCfSOiA1H8llKOLwn3xEHtQ3fkPkTUiif1k402MnPiST-eoH1ayzyeKORdiCV_hQj3xDBEPMzATEicNB-6i1WZ7iPbNfNORlRH3u9JOqNXECiX2wYCKdLL0gOSWbLUSbLRs8O4cRmMP4YuJK0RmqIGrdUrxrXCDKDnVv0RV5p37cvMS8l0ITodrwqjdPjbbGE0Ax4VuhpzdEDe1dKjU7EaH4IzPwgDqBsb-1lOag1a1Z2RCJu767Uw0s4XeuOHA0Bqh3q6Sou7agwsISfIj2y0XukoPGmOjy8bwDPs44HEeloG9bULgLBKAAfunBl4naUknQ-wiTDaje5FXeQ-B7AhQqsnRStJ1FdYVcVxoqn3-H8AEt52yyV2OvuXk2CmcUUez0rakstA8fZra9BymtjXwvvZCjGFVPbZvGoATENvcJH40PC7Iyz6h6twKrN-p_KmDY7fzpUohd7V2ku-nCRAV95WN_oUHtlDWdxPqm605OI207kyq5DBQpTlFahWLcGURY6kwRlLCiyV16Trf-zaW_2vEkv-d0_B2xZnIh7IdyLkMgEqZ1448_rF_FhrNABJyR59txlyG8GtY-XCNrXXEvEsWNpJEJLFj9TIfqJAnNvMHXZM8VRgmNSVky6cDAlqKFdm_CMK7qbviexv_I6xHm9Es7-gx0Em7hEE1hNzsWWQ4UuYa56_a5PpKgxEGafYiBhS2gXYxhZNJ8D3ujvLHN5ylmFhL9eE-TgBlsQL7BIDzZXyKrpYL8VOt1ujA9ygq_MSeJloclYlk0Z-PeyLj3IfXLI8Bovu9eHdK8Y0TE7GoVdHMQ9frFkovaIWvBVdEf542otEAW6_YjkBQD_vZjQ4Z7m0sSRWSVzJMtC7W3Mf99EtMX0Ij5bziarfN94sNaB1jtgIdwOrHk3vDPx5BMnRJlQeylEzzHV7LDjqCzfHHHwRRve9MFQr2x5B0aBKe9ubI14BztPdG2CR-0fVHEszwDgKtwQn2wDgxnwtHCVLFRf7Hd680zQBDqV1ZtMuATCtU1rEJR0hvmDUBjZXjW6rDpFy8JhIcGQoxkxyJAk670ZJQULznIv8eUdiXHZ3-aCly5zeeOtdbiFIbd_iGayiAZYLeQuPkBbDAlIXW6IregnW6ieH2cwGty45zvwdz8OexPy","id":"rs_68d3c8f4ee3c8195b2eb413489c93dc403c18c556c6d1f14","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_53F5Wfhdi4paefTbQc5dftUM","index":1,"type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"location"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"Flor"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"ence"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":","}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":" Italy"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"completed","logprobs":null}]} - - data: {"id":"gen-1758710004-CN27qOGtula0CCSuqBvM","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710004,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":63,"completion_tokens":86,"total_tokens":149,"cost":0.000469375,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000039375,"upstream_inference_completions_cost":0.00043},"completion_tokens_details":{"reasoning_tokens":64,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 674.226834ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 796 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_53F5Wfhdi4paefTbQc5dftUM","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_53F5Wfhdi4paefTbQc5dftUM","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Returning","reasoning_details":[{"type":"reasoning.summary","summary":"**Returning","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI've","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI've","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" called","reasoning_details":[{"type":"reasoning.summary","summary":" called","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature","reasoning_details":[{"type":"reasoning.summary","summary":" temperature","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.summary","summary":" Florence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.summary","summary":" Italy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 40","reasoning_details":[{"type":"reasoning.summary","summary":" 40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°C","reasoning_details":[{"type":"reasoning.summary","summary":"°C","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" think","reasoning_details":[{"type":"reasoning.summary","summary":" think","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.summary","summary":" should","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" return","reasoning_details":[{"type":"reasoning.summary","summary":" return","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.summary","summary":" this","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" info","reasoning_details":[{"type":"reasoning.summary","summary":" info","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" but","reasoning_details":[{"type":"reasoning.summary","summary":" but","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" also","reasoning_details":[{"type":"reasoning.summary","summary":" also","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" consider","reasoning_details":[{"type":"reasoning.summary","summary":" consider","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" if","reasoning_details":[{"type":"reasoning.summary","summary":" if","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" give","reasoning_details":[{"type":"reasoning.summary","summary":" give","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" more","reasoning_details":[{"type":"reasoning.summary","summary":" more","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" details","reasoning_details":[{"type":"reasoning.summary","summary":" details","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" might","reasoning_details":[{"type":"reasoning.summary","summary":" might","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" advise","reasoning_details":[{"type":"reasoning.summary","summary":" advise","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" stay","reasoning_details":[{"type":"reasoning.summary","summary":" stay","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" hydrated","reasoning_details":[{"type":"reasoning.summary","summary":" hydrated","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" since","reasoning_details":[{"type":"reasoning.summary","summary":" since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it's","reasoning_details":[{"type":"reasoning.summary","summary":" it's","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" quite","reasoning_details":[{"type":"reasoning.summary","summary":" quite","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" hot","reasoning_details":[{"type":"reasoning.summary","summary":" hot","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" want","reasoning_details":[{"type":"reasoning.summary","summary":" want","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" keep","reasoning_details":[{"type":"reasoning.summary","summary":" keep","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" concise","reasoning_details":[{"type":"reasoning.summary","summary":" concise","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" correct","reasoning_details":[{"type":"reasoning.summary","summary":" correct","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" could","reasoning_details":[{"type":"reasoning.summary","summary":" could","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide","reasoning_details":[{"type":"reasoning.summary","summary":" provide","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" both","reasoning_details":[{"type":"reasoning.summary","summary":" both","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Celsius","reasoning_details":[{"type":"reasoning.summary","summary":" Celsius","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Fahrenheit","reasoning_details":[{"type":"reasoning.summary","summary":" Fahrenheit","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 40","reasoning_details":[{"type":"reasoning.summary","summary":" 40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°C","reasoning_details":[{"type":"reasoning.summary","summary":"°C","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" about","reasoning_details":[{"type":"reasoning.summary","summary":" about","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 104","reasoning_details":[{"type":"reasoning.summary","summary":" 104","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°F","reasoning_details":[{"type":"reasoning.summary","summary":"°F","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" So","reasoning_details":[{"type":"reasoning.summary","summary":" So","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" final","reasoning_details":[{"type":"reasoning.summary","summary":" final","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" response","reasoning_details":[{"type":"reasoning.summary","summary":" response","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.summary","summary":" should","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" simple","reasoning_details":[{"type":"reasoning.summary","summary":" simple","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" direct","reasoning_details":[{"type":"reasoning.summary","summary":" direct","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo08j_0pKHheYjpmLWe0n0BeOdrvav6SUtWKbiGXtXm1kuwEZkHavoJqCKObF7Zmz3SSBdo-gFPIs_3kgIhwOUuuCZQRqjx8JsP-T0YdirZKkDJsf3PBARB73o6GLYULLlgY1-m5rPCbchnbOhzSCcNRJ5W2mVm2KNui0-tR8RUJUurq8rCa4-K4ZJdH0yDZjbtfe08kqFHeVGkB--BVDxahx7SUMHAlxCaRqJvdr6AhRVtyUTspA0GWbLGDQSIdTgIwehDuaB1VFDd8jjOteuRHEMNjfLXMG_yutfk4V2R6RD0zH35xVfRkaA_sW0h6VByutJoDQY6gpfbrWnmNugZfTP18wMT2kv4i01g0sP7QmlzPUXzCY6TKWTA65d_V2z1DWFt1lAZp_6ZNCyXswj5tSiOis-XJIcDGmWBQfCeoPSj4AxGaWJvhN98bEuuJhnKwhYisjqI_rNRXq8pr5U6pR0jjRgviGgVDls3WvEQRmzbFw1J2CDCyD5PxFTZnxniVGcgg7vvt0vEp-_l_MxuCqZ4rcYPjbuihxPTfnK5Xrtof0G_-nbx7FqmROlxaez6KhzxjmPW_j6jbbAW4VuACf4M0zYcaOjykqzBzI3yKQ1uM4tdmBYNKzmq2xyb54IzaQuzx05lak3lrS-lUxcp_TD82dvwkdLNqgjBAuZBb6bYGWwHofvrpeXJ54MUQZln-bR2bx7ak7OPtV6OvJQK_5zHJ6Ohx_Ap99Eo_Vi6dHcT53dsSUXuBDQDfHO_dRqNsnxNXMr-Rz9fNqKOmuYoq9Zs8d7KaPPwc7jhhyFPkERRCPLl0DDn8HkIy2tCWPTYCUUiuchKPoUX4nKywW5QdAg-ZCrBNbs_2p8-DrkPv7YjRExA-gfG9frxraic-D5Jb2Se2eFPqC69hdUutJNJNlasBNQhtqlWWcKCEzGFeLDyZdX3r68u9h-5pIq4Sr9TsKxB91a2VhTbzV5ZNVtIG7c5yKJ2kqjT7bV9Nuo1U-I4DvKhZXCYf2dv0Ip1WtkJFd0G23j_PDzyorSrq-ZB7Cf-OsDA1EhmtA283LNi7kg_RwNzHeIQ-Ia1I_XqtCBx-yBM8G7enomeJ1qfmnIAiC-q-OZCHJZcusErouqz4QFYoXR7pypUoP9HnX5VCxltnaDzOuczGIO2JxqshIHDxRdiGWD4hzoOokfNDZysmc1BrHxbqeF1kSQLXt09p1oseU1Vz1lTHo-PL-nBVr9ho26pS3ARo-VXXSHCo2XmIFLwfXAQJll_2geCeC0k4zc7Jii7uZpukjC9oO_qctnWo7NmXWb8E8yCTxVgRHKJHzhddE-4hAMJgit-XaeDYA2KN_sbJRF394YriVnM1vTRWVpMOHP585jxF_a5VFqW0Zr1ws0rfrTPegRv4e9hUGxJRkSHY6mn93vr-UCb27vZ4Yf31zEfuSgcRXcPHIwH6jZOeTz5pS3szUHfgE9w9XgsWcItg4Af2-91XNoYvEVppQFPlzVhd9a8UCr3ehH4y2lTM2-2TdAZ8X7SfJ2BE4Te1Cy4zRBu6C0FMfrxYL0rNL8uEq4d5bWUX6y39YoVfioMhDZUxLwumA7Ty8nD2L3zp8_LOHdiFWt5r11vQjNo403CGiVUKBwrFmdP2lIklFUOWHBvi3D9no24qvMlXSueM_ps6ZZumFfucpBsu1DfyF5UFNhME-UxE6GP3KhMohgVKh8Cu0up53CAg0R_KOyfhyfjo2MDWDSYa9fpTPcIQDY1TYORjbqZvFJOxnuTIqSZL6SFdMIPeuxS_BSWaSr-VTkZvkx3rDU9v-iG_6tE41CK8XfXoZMHB_03_0VSVCx5ydCguu_RdqCPk_m-Qs-So-AjXxb88SMJ0Abg5jje8-RIcwElDSu0PlX8ASf6it-Wps=","id":"rs_68d3c8fc40688190b68fb171224340e6","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"It"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"’s"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" currently"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" about"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"40"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"104"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":")"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" Stay"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" cool"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]} - - data: {"id":"gen-1758710011-SdFy8fHDk9P1VHu9Iuh1","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758710011,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":92,"completion_tokens":155,"total_tokens":247,"cost":0.0008325,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000575,"upstream_inference_completions_cost":0.000775},"completion_tokens_details":{"reasoning_tokens":128,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 758.92475ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_grok-4-fast-free.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_grok-4-fast-free.yaml deleted file mode 100644 index e69db3636bfb783ba9a398371eb845929c222444..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_grok-4-fast-free.yaml +++ /dev/null @@ -1,555 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 542 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_20888006","function":{"name":"weather","arguments":"{\"location\":\"Florence, Italy\"}"},"index":0,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709926-KLu1Q2b9fSzwQ8Lnuptg","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709926,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":322,"completion_tokens":179,"total_tokens":501,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":321,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":153,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 383.832584ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 762 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_20888006","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_20888006","role":"tool"}],"model":"x-ai/grok-4-fast:free","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" temperature","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"40","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" If","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" need","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" more","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" details","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" (","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"like","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" forecast","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" or","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" conditions","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"),","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" let","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" me","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":" know","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_9362061f30"} - - data: {"id":"gen-1758709928-VZVdPobsW5hUaKCeGI9r","provider":"xAI","model":"x-ai/grok-4-fast:free","object":"chat.completion.chunk","created":1758709928,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":514,"completion_tokens":87,"total_tokens":601,"cost":0,"is_byok":false,"prompt_tokens_details":{"cached_tokens":502,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":60,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 273.292834ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_grok-code-fast-1.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_grok-code-fast-1.yaml deleted file mode 100644 index 4d564d871d267dcd4f844e49e3c3895e4873d14d..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_grok-code-fast-1.yaml +++ /dev/null @@ -1,843 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 542 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asked","reasoning_details":[{"type":"reasoning.text","text":" asked","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" about","reasoning_details":[{"type":"reasoning.text","text":" about","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" have","reasoning_details":[{"type":"reasoning.text","text":" have","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.text","text":" tool","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" called","reasoning_details":[{"type":"reasoning.text","text":" called","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"weather","reasoning_details":[{"type":"reasoning.text","text":"weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" that","reasoning_details":[{"type":"reasoning.text","text":" that","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" can","reasoning_details":[{"type":"reasoning.text","text":" can","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" get","reasoning_details":[{"type":"reasoning.text","text":" get","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.text","text":" information","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n\n## Gathering Weather Details \n- The user wants to know the weather in Florence, Italy.","reasoning_details":[{"type":"reasoning.text","text":"\n\n## Gathering Weather Details \n- The user wants to know the weather in Florence, Italy.","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_63896137","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"},"index":0,"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709880-p44ZNvrlN9otYVTK0jJj","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709880,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":390,"completion_tokens":184,"total_tokens":574,"cost":0.00028488,"is_byok":false,"prompt_tokens_details":{"cached_tokens":384,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00000888,"upstream_inference_completions_cost":0.000276},"completion_tokens_details":{"reasoning_tokens":158,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 298.535917ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 761 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_63896137","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_63896137","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.text","text":" tool","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.text","text":"40","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" C","reasoning_details":[{"type":"reasoning.text","text":" C","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\",","reasoning_details":[{"type":"reasoning.text","text":"\",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which","reasoning_details":[{"type":"reasoning.text","text":" which","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" assume","reasoning_details":[{"type":"reasoning.text","text":" assume","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" means","reasoning_details":[{"type":"reasoning.text","text":" means","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.text","text":"40","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" degrees","reasoning_details":[{"type":"reasoning.text","text":" degrees","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Celsius","reasoning_details":[{"type":"reasoning.text","text":" Celsius","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\n","reasoning_details":[{"type":"reasoning.text","text":".\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n\n## Checking weather data \n- The tool provided \"40 C\" as the result, likely indicating 40 degrees Celsius for Florence, Italy.","reasoning_details":[{"type":"reasoning.text","text":"\n\n## Checking weather data \n- The tool provided \"40 C\" as the result, likely indicating 40 degrees Celsius for Florence, Italy.","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \n- This appears to be the current temperature, aligning with the user's likely interest in weather conditions.","reasoning_details":[{"type":"reasoning.text","text":" \n- This appears to be the current temperature, aligning with the user's likely interest in weather conditions.","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" currently","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" shows","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" a","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" temperature","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" of","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"40","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" For","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" more","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" detailed","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" information","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" may","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" want","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" to","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" check","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" a","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" reliable","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":" source","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fp_10f00c862d"} - - data: {"id":"gen-1758709881-ylFkHhSWB5GFqJrOqwjN","provider":"xAI","model":"x-ai/grok-code-fast-1","object":"chat.completion.chunk","created":1758709882,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":587,"completion_tokens":226,"total_tokens":813,"cost":0.00036424,"is_byok":false,"prompt_tokens_details":{"cached_tokens":512,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002524,"upstream_inference_completions_cost":0.000339},"completion_tokens_details":{"reasoning_tokens":195,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 376.146375ms diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_kimi-k2.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_kimi-k2.yaml deleted file mode 100644 index 90cf5653efeba6ba08ae0b9f7f2e97cf1bc07d8f..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_kimi-k2.yaml +++ /dev/null @@ -1,194 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 544 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":" check"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":" for"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"weather:0","type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"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_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"location"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"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_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"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_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Fl"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"ore"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"nce"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"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_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Italy"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"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_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} - - data: {"id":"gen-1758709851-QEqIRKI009XxCHALjc2k","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709851,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":76,"completion_tokens":31,"total_tokens":107,"cost":0.0001231,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000456,"upstream_inference_completions_cost":0.0000775},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.435186916s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 819 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"weather:0","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: '{"error":{"message":"Provider returned error","code":429,"metadata":{"raw":"moonshotai/kimi-k2-0905 is temporarily rate-limited upstream. Please retry shortly, or add your own key to accumulate your rate limits: https://openrouter.ai/settings/integrations","provider_name":"GMICloud"}},"user_id":"user_2zMGmKqlf4zmAvL9snVImB1Z1ZQ"}' - headers: - Content-Type: - - application/json - status: 429 Too Many Requests - code: 429 - duration: 648.639375ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 819 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"weather:0","function":{"arguments":"{\"location\": \"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":"The"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" is"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":"40"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":"104"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":")."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" It's"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" quite"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" there"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" right"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":" now"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758709855-hikO8aUvMtIUghqo5Q7b","provider":"SiliconFlow","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758709855,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":155,"completion_tokens":22,"total_tokens":177,"cost":0.00014028,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000899,"upstream_inference_completions_cost":0.00005038},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.949914416s diff --git a/providertests/testdata/TestOpenRouterCommon/tool_streaming_qwen3-235b-a22b-2507.yaml b/providertests/testdata/TestOpenRouterCommon/tool_streaming_qwen3-235b-a22b-2507.yaml deleted file mode 100644 index 8d45f087515c68e550796a39067fa82c310f2579..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestOpenRouterCommon/tool_streaming_qwen3-235b-a22b-2507.yaml +++ /dev/null @@ -1,151 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 546 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"36c3976977d244ea95e70c401707a401","type":"function","function":{"name":"weather"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"{\"location\": \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"Flo"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"rence"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"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":""} - - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":" Italy"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"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":""} - - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":""} - - data: {"id":"gen-1758710805-SYT01L4qQfFSzIHoxTcV","provider":"Novita","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710805,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":167,"completion_tokens":22,"total_tokens":189,"cost":0.00004265,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002505,"upstream_inference_completions_cost":0.0000176},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.752580583s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 805 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"36c3976977d244ea95e70c401707a401","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"36c3976977d244ea95e70c401707a401","role":"tool"}],"model":"qwen/qwen3-235b-a22b-2507","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"The"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" current"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" temperature"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" is"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"4"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"0"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" That"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" quite"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" Make"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" sure"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" stay"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" seek"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" shade"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" if"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"'re"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":" outdoors"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758710807-tRWkUDu6okntQer8YWgp","provider":"Nebius","model":"qwen/qwen3-235b-a22b-2507","object":"chat.completion.chunk","created":1758710810,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":209,"completion_tokens":32,"total_tokens":241,"cost":0.000061,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000418,"upstream_inference_completions_cost":0.0000192},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 3.737068875s diff --git a/providertests/testdata/TestOpenRouterThinking/claude-sonnet-4/thinking-streaming.yaml b/providertests/testdata/TestOpenRouterThinking/claude-sonnet-4/thinking-streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..eb300b1daeca4b2650b281662b3ed81eb91004eb --- /dev/null +++ b/providertests/testdata/TestOpenRouterThinking/claude-sonnet-4/thinking-streaming.yaml @@ -0,0 +1,147 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 561 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"anthropic/claude-sonnet-4","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"reasoning":{"effort":"medium"},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.text","text":"","signature":"","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The user is asking for weather","reasoning_details":[{"type":"reasoning.text","text":"The user is asking for weather","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information for Florence, Italy. I have","reasoning_details":[{"type":"reasoning.text","text":" information for Florence, Italy. I have","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" access to a","reasoning_details":[{"type":"reasoning.text","text":" access to a","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather function that takes","reasoning_details":[{"type":"reasoning.text","text":" weather function that takes","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a location parameter. The","reasoning_details":[{"type":"reasoning.text","text":" a location parameter. The","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user has","reasoning_details":[{"type":"reasoning.text","text":" user has","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provided the location as \"Florence, Italy","reasoning_details":[{"type":"reasoning.text","text":" provided the location as \"Florence, Italy","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\". I have","reasoning_details":[{"type":"reasoning.text","text":"\". I have","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" all the required parameters to make this function call","reasoning_details":[{"type":"reasoning.text","text":" all the required parameters to make this function call","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.text","signature":"EqgDCkgICBACGAIqQBvYK+UwzOLw+Jn8uxD4xoXAM70ym9hFuly64akWaZWJmCZFKC5FUckRcFdakI9/WwJTg2/OdypSRSFtMKW4iDYSDO/nr2VAX0H38rwvVBoMGmA90GevrflKVI+2IjAaYbpmfuJrp4R5Ap+X2vce48qmvVIjm1tGm6N+6PLTaEGwm4VAA+tx3OoJRle2O2wqjQJzWKdpBUkeisbCajt+0xhXCAXefGEhPMouvrlwpE/5IVEbMX6+eC1EDF04jKtfzH9RYEuuTUSaBNLqwprkOlmx9Rd1UYKvGM0f19WF9+nb57CUpOem9Spk9271t8jW5ubFGwiBn4/DyLDOx4wVUCfftQ0DyOAa3NQW1/aovUNNi18jwCyKlNCpsH7bT11twILBRYd3ZUDFlpIonEIYtWxPBbO0KVmECdH8a9gXGPhd0tIJD527yrJi6C4BnloHR7xSZJd3oe03y2mN2UsgF6R+SWE23z3jN+4hPpdOoVX3Kp9D3h160pfDvHTB9FN+xCr8xNUaevSab5J3qHquEjBCQSSyzxrZZasXhD3TThgB","format":"anthropic-claude-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"toolu_vrtx_01At9zaYnKY1m26hYkz63qwH","index":0,"type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"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}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"{\"l"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"oc"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"ation"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"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}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\"Florence, "}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"It"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"aly\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]} + + data: {"id":"gen-1758885067-Z9yGX7RRqfUmNTcUxT2X","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885067,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":423,"completion_tokens":111,"total_tokens":534,"cost":0.002934,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001269,"upstream_inference_completions_cost":0.001665},"completion_tokens_details":{"reasoning_tokens":63,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 2.014668667s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 826 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"toolu_vrtx_01At9zaYnKY1m26hYkz63qwH","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"toolu_vrtx_01At9zaYnKY1m26hYkz63qwH","role":"tool"}],"model":"anthropic/claude-sonnet-4","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"reasoning":{"effort":"medium"},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":"The current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather in Florence, Italy is 40","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C (104°F). That","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s quite","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":"! It seems","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":" like Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":" is experiencing a very","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":" warm day","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} + + data: {"id":"gen-1758885071-0qadQTT2R2P1Xlmtggzx","provider":"Google","model":"anthropic/claude-sonnet-4","object":"chat.completion.chunk","created":1758885071,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":463,"completion_tokens":36,"total_tokens":499,"cost":0.001929,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.001389,"upstream_inference_completions_cost":0.00054},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.956100209s diff --git a/providertests/testdata/TestOpenRouterThinking/claude-sonnet-4/thinking.yaml b/providertests/testdata/TestOpenRouterThinking/claude-sonnet-4/thinking.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d009ce6354250dd79e19a63381b7be49802a1052 --- /dev/null +++ b/providertests/testdata/TestOpenRouterThinking/claude-sonnet-4/thinking.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 507 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"anthropic/claude-sonnet-4","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885061-oXUVTbktZ4pcJTyVTRiB\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758885061,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"The user is asking about the weather in Florence, Italy. I have access to a weather function that takes a \\\"location\\\" parameter. The user has provided a specific location: \\\"Florence, Italy\\\". I have all the required parameters to make this function call.\",\"tool_calls\":[{\"id\":\"toolu_vrtx_01BRUDYaPnurScgJo9eKAqfF\",\"index\":0,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\": \\\"Florence, Italy\\\"}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"The user is asking about the weather in Florence, Italy. I have access to a weather function that takes a \\\"location\\\" parameter. The user has provided a specific location: \\\"Florence, Italy\\\". I have all the required parameters to make this function call.\",\"signature\":\"EqgDCkgICBACGAIqQCDnkMw0lzvpl66B2T5UbVSIlrl8wOiSy+5Q37FCUeOC9fpqD21C114ip5JyQ9XhTUbquvXtgYBUTqr22vWNfwISDKMlRH1QLmtfJBPTGxoM0LBNOvrn/IbsoaQ2IjBWBPIhkxZRkL76NkuqYo6YgCbWk9To9qRqtLv8pg1XP6V+c2Gx6ggRnQw92rLS0QoqjQIzf8HrcWrzBEYWBG7PFgW21h9ZqdzoM9OOrBEAZ0J6yrM4hx98sZECon9KxHrwXc1hJkqRPaZWmUOFQflblYFnGom9JIIXzizxRSwP1plDVXGWX33LetCyTpL2kPmU9l8m0FBDAdrBlwg9btV0J/RzCx2MeEm72Qf0zCgdQWNz4jLN4EMKpsCN3pq6VSunnLCrMMsjGptlc7tA/04PmJTGwBxUvIEcbozerssDgx3fhv0wAfxU70JwH5P6Wi5zK/6Z4UHlOuC2YCjoaHovlnyZWXmktQPTtzgCUn983jZHNsNiqsIjzsEaQ81GYIfx3mXQofd9JPzgHASRFNH0gLJdIBv5sFZyE5YemFjE6RgB\",\"format\":\"anthropic-claude-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":423,\"completion_tokens\":114,\"total_tokens\":537,\"cost\":0.002979,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.001269,\"upstream_inference_completions_cost\":0.00171},\"completion_tokens_details\":{\"reasoning_tokens\":63,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.876563333s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 772 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"toolu_vrtx_01BRUDYaPnurScgJo9eKAqfF","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"toolu_vrtx_01BRUDYaPnurScgJo9eKAqfF","role":"tool"}],"model":"anthropic/claude-sonnet-4","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885064-PUVDaRaChohOMKws0HKV\",\"provider\":\"Google\",\"model\":\"anthropic/claude-sonnet-4\",\"object\":\"chat.completion\",\"created\":1758885064,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The current weather in Florence, Italy is 40°C (104°F). That's quite hot! If you're planning to visit or are currently there, make sure to stay hydrated and seek shade during the hottest parts of the day.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":463,\"completion_tokens\":54,\"total_tokens\":517,\"cost\":0.002199,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.001389,\"upstream_inference_completions_cost\":0.00081},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 2.129354292s diff --git a/providertests/testdata/TestOpenRouterThinking/gpt-5/thinking-streaming.yaml b/providertests/testdata/TestOpenRouterThinking/gpt-5/thinking-streaming.yaml new file mode 100644 index 0000000000000000000000000000000000000000..489717220810f225975cad3edad159d2b820ae4c --- /dev/null +++ b/providertests/testdata/TestOpenRouterThinking/gpt-5/thinking-streaming.yaml @@ -0,0 +1,493 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 548 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"openai/gpt-5","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Retr","reasoning_details":[{"type":"reasoning.summary","summary":"**Retr","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ieving","reasoning_details":[{"type":"reasoning.summary","summary":"ieving","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" data","reasoning_details":[{"type":"reasoning.summary","summary":" data","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" get","reasoning_details":[{"type":"reasoning.summary","summary":" get","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" using","reasoning_details":[{"type":"reasoning.summary","summary":" using","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".weather","reasoning_details":[{"type":"reasoning.summary","summary":".weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which","reasoning_details":[{"type":"reasoning.summary","summary":" which","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" requires","reasoning_details":[{"type":"reasoning.summary","summary":" requires","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.summary","summary":" location","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" string","reasoning_details":[{"type":"reasoning.summary","summary":" string","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Since","reasoning_details":[{"type":"reasoning.summary","summary":" Since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" only","reasoning_details":[{"type":"reasoning.summary","summary":" only","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" one","reasoning_details":[{"type":"reasoning.summary","summary":" one","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" won't","reasoning_details":[{"type":"reasoning.summary","summary":" won't","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multi","reasoning_details":[{"type":"reasoning.summary","summary":" multi","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"_tool","reasoning_details":[{"type":"reasoning.summary","summary":"_tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"_use","reasoning_details":[{"type":"reasoning.summary","summary":"_use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" So","reasoning_details":[{"type":"reasoning.summary","summary":" So","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.summary","summary":" call","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".weather","reasoning_details":[{"type":"reasoning.summary","summary":".weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Flor","reasoning_details":[{"type":"reasoning.summary","summary":"Flor","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ence","reasoning_details":[{"type":"reasoning.summary","summary":"ence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.summary","summary":" Italy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".\"","reasoning_details":[{"type":"reasoning.summary","summary":".\"","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" After","reasoning_details":[{"type":"reasoning.summary","summary":" After","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returns","reasoning_details":[{"type":"reasoning.summary","summary":" returns","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" data","reasoning_details":[{"type":"reasoning.summary","summary":" data","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" present","reasoning_details":[{"type":"reasoning.summary","summary":" present","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" However","reasoning_details":[{"type":"reasoning.summary","summary":" However","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" since","reasoning_details":[{"type":"reasoning.summary","summary":" since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it's","reasoning_details":[{"type":"reasoning.summary","summary":" it's","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" an","reasoning_details":[{"type":"reasoning.summary","summary":" an","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" API","reasoning_details":[{"type":"reasoning.summary","summary":" API","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" stub","reasoning_details":[{"type":"reasoning.summary","summary":" stub","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" content","reasoning_details":[{"type":"reasoning.summary","summary":" content","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" might","reasoning_details":[{"type":"reasoning.summary","summary":" might","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" not","reasoning_details":[{"type":"reasoning.summary","summary":" not","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" be","reasoning_details":[{"type":"reasoning.summary","summary":" be","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clearly","reasoning_details":[{"type":"reasoning.summary","summary":" clearly","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" defined","reasoning_details":[{"type":"reasoning.summary","summary":" defined","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I'll","reasoning_details":[{"type":"reasoning.summary","summary":" I'll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ensure","reasoning_details":[{"type":"reasoning.summary","summary":" ensure","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" commentary","reasoning_details":[{"type":"reasoning.summary","summary":" commentary","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" channel","reasoning_details":[{"type":"reasoning.summary","summary":" channel","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" call","reasoning_details":[{"type":"reasoning.summary","summary":" call","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Let's","reasoning_details":[{"type":"reasoning.summary","summary":" Let's","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" get","reasoning_details":[{"type":"reasoning.summary","summary":" get","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" started","reasoning_details":[{"type":"reasoning.summary","summary":" started","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"!","reasoning_details":[{"type":"reasoning.summary","summary":"!","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo1nTk-T-GslW4zHeU-cknhNcy0E3iwWgqPMKejKDAWZ6w4x5EzQip1jHntirA0IDYQhvVpKeVUoQBoJiMrwnEb5bhwqDAATxOkMU9p3uEcOKf3lYzc_GJ3g7fm_xSggFo0iOSu5Kb7OlYgnBpLL7OOvrklUF15wEbAcKYGndm6WL7vFLb-wKPrZ1HzMKm_5JPVv4Pb0mNg8dbhT8N075DzO5FOLhYaGkp8Ve5SmtVQx7DoHo54KnwoVTRuResA-VB-SVqtD_X5hUjGEWzqKfVO-qnZmTO01TtxsimNycguVkfJIAhsagm-iWuA7-yjuaBQsNf-vpkiPDe67nCBSulyMVZi4-8KSQvfJuV47p63zp5F0SoBFp-weABnDmO0ZCYLTN__aMvGeKyJJviPDtwtwNBt7bS7ST7aw7HucJBv8yHFy3Q0rL3FMPJfcT2HaqCfVZjiO72g8V0Pw7-m0FX-xLSbJp62FG4RLGoPsfOdGhPn-1xNLOmiD0v4pRduPrEA5frOxcB0fwwKpW947tmn1FQynjw0KCD_4eOZYxnrqvSuOhYLTDzyqdk9wywCymsJk6uXwvAcf8YzS04rvC1rpJArPmoiym9GqIpsc7J4l2sT7Vsm60idQlSPwnLgA7zJysKsCHx9drRMnFTb1PN62A0nsSUR7dkXfQ35KpVBUmqvubbVjJWCrGvY_UO-zjpwye2lrBX6txDviuXsUPQVTrLKfHOwEFNOVztHQK83HUvveMPuIgo0e3XdHelM5F2lNnThDAmWH6xdd3XD_GlMRqNpM1pU_CA60vpuhcGDWN8DFgQaRoGJ_SYvxIu0YBSK7vMHfpRI0q_yMHT9CboiS5z5wyBTkRS0KSjnRQR1MlSR7WN5cfNsBRYUX-G1dKPqELGU8zRSqgM8jEg2IiinngkEQv--FzjB_Zd8b8Rp_vfQ_Ec_sJefhdXzm6NplzaGo40YxJ73tJdHbMtgZFIKCIQanwfIpWp6z4Ux0CEZWalyzZClam24cEidRdD_nZ1EQtuG29Rm7-cHWfjI1gs6K7ndmFbox6fQs7KQ_YBgeRWfmlTcpeZiK9syOhjWcKWfteb1NiHJXopLSV408VnrH7nWKs2tmMHvTLGxMeoxWHYrIB3qnr4dtplgn_I-ohDuuL90lf-X4IdIMyHo-YXNLWRUuqaZ6NEzZ0uRgx24RHo9JGAkB00l_aj3o31okt5MtFrYZx7ktK5fgDmJJuxOw1P_RAQZUA5W4XSGkEYKWzVc8PhsfjZYR-yu4XGOQsfP20X6fCbiu_gE_AEk2fwMOl6_NJjsAomSXDmPdboufvfNyapcLDMIyPNKUjD7_wZE3f4WYXhVftQcWnU4auQd8_D6omvQszFJ3pXdqnOPoDWb0HVOpOzYr7-ZHtWqGgZ69R10DQ0DB-mlaXFDRB3TbR-3BXwebShUM2LMGVY2BjCl3Aegr1LMC0lO2sgdWDjAaBkkTC1Mg_gi7moygJHaupZLAlx29D1eZUjqiM_BzB4X50oc03jgOVz7QQ3VRGRVzYfLct8lzgrAB7dNo-_RJvmtVSamvGDgB-DzJ59Rx9xGKATn3XDVeOFFS3_lCzhJlsdukfE7p2IgAxAsdJxmGshKj3oKuxa4vF4UTxt84dKoZOwGQw9qkfci1S7La1PeZVuq1Ieu3BOi4QGKZgb15r_7Bc7DLsI37dd8s25yQvjJgk=","id":"rs_68d674e034748194bcf7cf078a77d1b60f58f45b1ebf448a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_vJC9kToB18rlwJbUbSwDm5dl","index":1,"type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"location"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":\""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"Flor"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"ence"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":","}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":" Italy"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"completed","logprobs":null}]} + + data: {"id":"gen-1758885087-EYdcapXqgW3ZFacZaz6L","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885087,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":66,"completion_tokens":150,"total_tokens":216,"cost":0.0015825,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000825,"upstream_inference_completions_cost":0.0015},"completion_tokens_details":{"reasoning_tokens":128,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 786.772417ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 800 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_vJC9kToB18rlwJbUbSwDm5dl","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_vJC9kToB18rlwJbUbSwDm5dl","role":"tool"}],"model":"openai/gpt-5","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"reasoning":{"effort":"medium"},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**Calcul","reasoning_details":[{"type":"reasoning.summary","summary":"**Calcul","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"ating","reasoning_details":[{"type":"reasoning.summary","summary":"ating","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature","reasoning_details":[{"type":"reasoning.summary","summary":" temperature","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" conversion","reasoning_details":[{"type":"reasoning.summary","summary":" conversion","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"**\n\nI","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’m","reasoning_details":[{"type":"reasoning.summary","summary":"’m","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" thinking","reasoning_details":[{"type":"reasoning.summary","summary":" thinking","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" about","reasoning_details":[{"type":"reasoning.summary","summary":" about","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" adding","reasoning_details":[{"type":"reasoning.summary","summary":" adding","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Fahrenheit","reasoning_details":[{"type":"reasoning.summary","summary":" Fahrenheit","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature","reasoning_details":[{"type":"reasoning.summary","summary":" temperature","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" of","reasoning_details":[{"type":"reasoning.summary","summary":" of","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 104","reasoning_details":[{"type":"reasoning.summary","summary":" 104","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"°F","reasoning_details":[{"type":"reasoning.summary","summary":"°F","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" The","reasoning_details":[{"type":"reasoning.summary","summary":" The","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" quick","reasoning_details":[{"type":"reasoning.summary","summary":" quick","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" conversion","reasoning_details":[{"type":"reasoning.summary","summary":" conversion","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" method","reasoning_details":[{"type":"reasoning.summary","summary":" method","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" take","reasoning_details":[{"type":"reasoning.summary","summary":" take","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 40","reasoning_details":[{"type":"reasoning.summary","summary":" 40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" multiply","reasoning_details":[{"type":"reasoning.summary","summary":" multiply","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" it","reasoning_details":[{"type":"reasoning.summary","summary":" it","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" by","reasoning_details":[{"type":"reasoning.summary","summary":" by","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 9","reasoning_details":[{"type":"reasoning.summary","summary":" 9","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" divide","reasoning_details":[{"type":"reasoning.summary","summary":" divide","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" by","reasoning_details":[{"type":"reasoning.summary","summary":" by","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 5","reasoning_details":[{"type":"reasoning.summary","summary":" 5","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" then","reasoning_details":[{"type":"reasoning.summary","summary":" then","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" add","reasoning_details":[{"type":"reasoning.summary","summary":" add","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 32","reasoning_details":[{"type":"reasoning.summary","summary":" 32","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" So","reasoning_details":[{"type":"reasoning.summary","summary":" So","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" math","reasoning_details":[{"type":"reasoning.summary","summary":" math","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" checks","reasoning_details":[{"type":"reasoning.summary","summary":" checks","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" out","reasoning_details":[{"type":"reasoning.summary","summary":" out","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" (","reasoning_details":[{"type":"reasoning.summary","summary":" (","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.summary","summary":"40","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"*","reasoning_details":[{"type":"reasoning.summary","summary":"*","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"9","reasoning_details":[{"type":"reasoning.summary","summary":"9","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"/","reasoning_details":[{"type":"reasoning.summary","summary":"/","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"5","reasoning_details":[{"type":"reasoning.summary","summary":"5","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":")+","reasoning_details":[{"type":"reasoning.summary","summary":")+","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"32","reasoning_details":[{"type":"reasoning.summary","summary":"32","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" equals","reasoning_details":[{"type":"reasoning.summary","summary":" equals","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" 104","reasoning_details":[{"type":"reasoning.summary","summary":" 104","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" want","reasoning_details":[{"type":"reasoning.summary","summary":" want","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" make","reasoning_details":[{"type":"reasoning.summary","summary":" make","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" sure","reasoning_details":[{"type":"reasoning.summary","summary":" sure","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.summary","summary":" this","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clear","reasoning_details":[{"type":"reasoning.summary","summary":" clear","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" concise","reasoning_details":[{"type":"reasoning.summary","summary":" concise","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" giving","reasoning_details":[{"type":"reasoning.summary","summary":" giving","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" them","reasoning_details":[{"type":"reasoning.summary","summary":" them","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" value","reasoning_details":[{"type":"reasoning.summary","summary":" value","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" directly","reasoning_details":[{"type":"reasoning.summary","summary":" directly","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" It","reasoning_details":[{"type":"reasoning.summary","summary":" It","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"’s","reasoning_details":[{"type":"reasoning.summary","summary":"’s","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" all","reasoning_details":[{"type":"reasoning.summary","summary":" all","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" about","reasoning_details":[{"type":"reasoning.summary","summary":" about","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" being","reasoning_details":[{"type":"reasoning.summary","summary":" being","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" straightforward","reasoning_details":[{"type":"reasoning.summary","summary":" straightforward","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" helpful","reasoning_details":[{"type":"reasoning.summary","summary":" helpful","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"!","reasoning_details":[{"type":"reasoning.summary","summary":"!","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo1nTrUo_w25ywU4ZhvkRin3oi012HMd12QogEZ9nnvyrn_TXwkYflfxjAUeXLQZyc5oZZw1k6W6hC_JceCqKImp5xBb_H8gJl0B1uOdHXU1H7YuL7TxEm3zPhoQkjods8ALM7FdEep6B6IMaXUORnUCgwYPiSgqbNBGU3G9VJDxs_QnT3sdX5jUp-z7ulm8Q67E_lmJIk1gIsJzSbeimAUGOggEmeXNGBtQYWk3QP_1VXcPckk6M-di7wbf7vuSTePfqbfvhzgi8YAS3HSiKwiHFo2W2iy79OiR4fxIAJuluNijv9LZSxSnU7WL0YlDJ3jh_WpQYRbauOjrDFvGdifviDRAnhdysdMerz0Oma1vqGxWJUUnVVBtD9fxMJeDrfCDQ179R674Lj_LN2p5QGeg627Ugz5xKjDdPDxz05abPIbqoHVYfnPVxmR82kbXkirfORnLj-2FkmQtyuNpJVdreN5TE6oqkkfsp5fZhdo5_OLSAit0ALw2g2DplUuzr4p3yUJdYVO6aE9vfTH41TOF4l3NI5MbY4U01Quza2Qr7_c4sg9ONRlFK-Dbi7CowvQehb4ecFT_rJc5W5vVx4GA7-KMl6pdkU-_cir_6ZTi9nzyngIr7X0iFgUGoO2XE3iv53PcYL8venpQpRT_qbQ-TSWtjCTDLef8c3wDfeVkxL3hYyX3FdTQclGiShtU4idflQewtmajWSgL5SSDv1EFl9j-T9Cado_Nq-4rhmukPqh80nNUbKJ7DeJjp4i7gMccOEzna-rRN4rlLDb_E4r8jD4nKP8rkB55G7vZ8JcbvItuJBb3aGt32Q8YAy0J_hEnPD-4VfzIMJ6_uecwmvl7kK9T_OUewbNONNApJq9o0J5wAQgBQq-16fCQx5p3pUuGvnc16U5Q8TKI1TTgyBwbrwV9mvrSdoOXz1q1yJX4NsK9IJJeYcMwgK4aoZQQl_oaWtmbdS8lwO8jmJP1tc3dY9m5Pi7VjU7dGNFMJYBOyK9D203KuMOq74oWJML7F0tqrmhbnwg3fMbpB_TWHlE8FBsnZJoCymgHCNDvI-gdbCKW1Z80pRxp0dK54IyBSb4qLqZ-gnw5aR8LhiP_7zE8X3eAFvBVrun3uNdWLMHSZAFlrTQYGLfRNNK7sdQSvKBk9jQnWu8gXL1efQZ0RRBbVIX3SttgPQ1TJCGNQ3zr1-2LUwR043WVqCQVpGMmbWylCji5plVghiJ7mQ6bD9kPN5GE_HuKEMiRRedpbOKK43F4rrmMywvCdAyvw1ZlGhwrxS0hcZ_zQC5NC90hDrm-nmOvUpXJRHlXonSNxtKy4bpFYPB7crvMQDvy4OBW7g37kFb8CbfYr9F2lcXOOls5oybnR7VxkezK9cRj7sJphDRwB6Lxw9lNoo5r8wAucAuRDAfmbTOM_My36fp3cZbkLfK5hobGucawTb8PA54p8s9EMLY6zASl2xrztDINBt5JNXlP9xQyARkmxGWARD4UsrTDvAOf_EZamGxhvUFJNhepWmmpaX8lmW8RF0RNqqVO92jOn7pge9Pm14fTl1ewVKU59fxlWJrZIU7pighQy4JlVD9YfzBwudo_ahq5Gt2G3VxdQoP9M9EXuxucy0TiFdXrCgMrvCFF7rgKAJrTUMQ-i2P1scYK2aviLdoLVM7jIc0BkShaC3bY_5BiHpk2xgC4BSjl7MH2eNsCcB5tib-YsM3jA3wQHIY4BTPvKc6HRexDhULJK2N1zwujdGAPh5YJiZeozk6aS4mjhN1r7QBD8ke9zlIf72vU2mPxD6OYjMOnri9njH2v0EgH6NGHbOtvy7sDdmj1ZQLgvm7bEFsGpYoJhzIB5zYBUbUgDJoga5c5JSbnZiyFdqRcbwzP2-sMH-Bpw82tCTHH1Suq-CPR-l80NKu9DT-YtcvKV-0r4jKrH1gZIhBli2ulXvq71mrE4C71Tcn_NtTdEJVxQaq-RIdCyQhY5GK0vgW_sIBxirytsKtahjC8KKJb22E7uNrC7bL3crLcwzNebv-aRVrfkJlofwpIAoG4yR01rkBfV6Oeo8pVQl2B7_YWr2qkYJh24zvruHUFfTdCu1PRgVWUmE2ZO2YgYLTlpvYBWracfekkfgTPOSuPFu3RuqCF0bNpKfQTGhKEMwU3TzMAu8ke4p5c5g_K4PpRB41TapaRQt","id":"rs_68d674e5e39081908509290301d8dacc","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"It"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"’s"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":" about"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"40"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":" ("},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"104"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":")"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":" in"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]} + + data: {"id":"gen-1758885092-5CyIrTIHAW9fChFEGquh","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1758885092,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":95,"completion_tokens":213,"total_tokens":308,"cost":0.00224875,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00011875,"upstream_inference_completions_cost":0.00213},"completion_tokens_details":{"reasoning_tokens":192,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 937.005459ms diff --git a/providertests/testdata/TestOpenRouterThinking/gpt-5/thinking.yaml b/providertests/testdata/TestOpenRouterThinking/gpt-5/thinking.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9d145eb13c2d60300a5679cfc98fe991f0c72a0c --- /dev/null +++ b/providertests/testdata/TestOpenRouterThinking/gpt-5/thinking.yaml @@ -0,0 +1,63 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 494 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"openai/gpt-5","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885073-fjvUByqI3Jsb1xGcHfy8\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758885073,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":\"I need to call the weather tool for Florence, Italy. Since we only need one tool here, I’ll use functions.weather directly. I’ll ensure that the tool gives me the current weather information I need and then return the result. There’s a possibility of the response being \\\"any,\\\" but I'll simulate that as necessary. So let’s go ahead and get the weather for Florence, Italy!\",\"tool_calls\":[{\"id\":\"call_1twRsdijg6xz2XzXQbnhkwWG\",\"index\":1,\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"I need to call the weather tool for Florence, Italy. Since we only need one tool here, I’ll use functions.weather directly. I’ll ensure that the tool gives me the current weather information I need and then return the result. There’s a possibility of the response being \\\"any,\\\" but I'll simulate that as necessary. So let’s go ahead and get the weather for Florence, Italy!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo1nTWBr_WmuNoShv_YRYHoIujDNPbqrB8oxUHwbrErjNAx-S1380pIY8k_fWoZEn7FPmGeob3Bh3_wtW4SwIlhJqXBeOoZgCU_0v4XEFsKQKslAAgO9f3QFiwCOoka52ZqmwZJcNed_zQW1BwaVwy7uazevVZOlv188wRS2C00Udl8a3o0cieakuqPYRkgjglcc-4-QfjLOOaNAZALk9dAsRtD35v6gEvjrYtBAUu2gBmrZ1V1CpBn2fndAH5hKVqvY8xJ4tuqmhLxCQHI6z9a7JTJCDiF2zWSwl3hijvS6_P5iC9aPGsRVkMs-AD6IUAw5IlqkQngyJ2nUI7niyNxVIkkBDyCxRZ2pkEru56hOzfPTKKDL3pdzTADB0NztFwAt3-Noo-BrFhAdF3lL1tJcIbZJun1c2meOMJR7e7oGswBqB3LlbKl7a5KV48UDs8s69xc-rM7XDdPVdm6m68C2l4fYNitz6gcSJjbWG0AQ962E_ZUhQKjyUPuJpnlODMne2zmNR5b6s5uKlpl3JATVCF2EjEXRKBoLJNQzveV2veDg50SUGlEQ2lJxRYR3JVsLcAaYFiRtta64056Bl6ifn4AJPBJ1dlxspuLh0SGYpM2I0ahZlxkxmNOlvtHNXkiiETnrgv_ajWxaaQTD5DzqnGxdYtqwfOAfU66LW-Iowex_HLCDLxOyPM9fKyTVsq-WdKO7Ws-t6dzxkQt3S_Rj0fh20Fetkmr19W5_FWIrL8OSm3IwdtpjPT1BYDZzON41aG7qQwn2JNzsmv1FmWLfT-Ye1oYKsNN0M6jGt-aH52D-JgjALVjTp8F0wnaVZIND-RGWSFp50NdmdBVYGOubP95cWIYiJXZDv8fXZ9NhHwpP67pbN3gAOyADUjGkTBcz7a1wWfNAfN77ihR3AAvlUPHRGminfG6hR8i0tr6iQJZlOFvNEDPKH0NNlJFEYYkW-59m0qZHdR0g8ODZ9AVP_PK2bAasYKjo02OVZABGI21TO7rrGxr2fM8yLL1WBNCz2Xrk58MYrINmYvCEl5Djmp3bIzPaNu9rRJE2qzkdzICvtRiGJM7IRWCTES-rXG5cpVCupSfkNJJzD-kSoxD5oElBrJ38J9_GRg0i645yrzopqcLal2DiGZUXFXCAxfeJNClWX3EvUIeeMLRn-SkVDFHr-1O-E4jfKxM6N3S2V8X65zlnYksiVGqCJXpEniqIkO7cz91RXu8V1vplas-l2m9SzPSQdvqHdrGvoKeRo2tFFZkwCOHMWazW21AHGK_oKSwW3_msHmwZEvldd-YMGGLw==\",\"id\":\"rs_68d674d3d1988197b45018a1dff88ae50f1247cd257f7b9b\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":66,\"completion_tokens\":86,\"total_tokens\":152,\"cost\":0.0009425,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0000825,\"upstream_inference_completions_cost\":0.00086},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 1.26570975s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 746 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_1twRsdijg6xz2XzXQbnhkwWG","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_1twRsdijg6xz2XzXQbnhkwWG","role":"tool"}],"model":"openai/gpt-5","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758885078-WDf1yWsrVs87IqMnNan6\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758885078,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"It’s around 40°C (104°F) in Florence right now. Want a forecast for the next few days?\",\"refusal\":null,\"reasoning\":\"**Reporting weather in Florence**\\n\\nI need to provide the weather for Florence, Italy, which I got from a tool saying it's 40°C. I find that a bit simplistic, but I guess it’s what we've got. The current date is September 26, 2025, so I'll present it succinctly. I think it's best to say, \\\"It's about 40°C in Florence.\\\" I could mention the Fahrenheit conversion as well, which is roughly 104°F, but it’s not necessary. I could ask if they want a forecast too!**Finalizing weather report**\\n\\nThe tool output shows \\\"40 C\\\" without proper formatting, so I want to refine that to \\\"about 40°C.\\\" I should be careful not to add any extra data since the tool doesn't provide a timestamp. However, I can imply it's \\\"current.\\\" So, I’ll put it as, \\\"Currently, it's about 40°C (104°F) in Florence.\\\" After that, I could ask if the user wants a forecast, but I need to keep it short and straightforward. Let's go with that!\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Reporting weather in Florence**\\n\\nI need to provide the weather for Florence, Italy, which I got from a tool saying it's 40°C. I find that a bit simplistic, but I guess it’s what we've got. The current date is September 26, 2025, so I'll present it succinctly. I think it's best to say, \\\"It's about 40°C in Florence.\\\" I could mention the Fahrenheit conversion as well, which is roughly 104°F, but it’s not necessary. I could ask if they want a forecast too!**Finalizing weather report**\\n\\nThe tool output shows \\\"40 C\\\" without proper formatting, so I want to refine that to \\\"about 40°C.\\\" I should be careful not to add any extra data since the tool doesn't provide a timestamp. However, I can imply it's \\\"current.\\\" So, I’ll put it as, \\\"Currently, it's about 40°C (104°F) in Florence.\\\" After that, I could ask if the user wants a forecast, but I need to keep it short and straightforward. Let's go with that!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo1nTeV5j_WhVhUvufZ6XUao4T550uUPYs_z-2bqaMNJST8nHIjBoaM2NNjivoucXaie42GShUlWvumBybcDpNrK5dtozqC5QaOwz0Sxc56VU8UPYnmnKYhuFxZnXiXhFvJocNQn5oJnpUpVgTXpKVegOs7T72Dda7LH2EUkcgxJgjzZ_96JYfC-VfqdHtjsAI-JSweT186OMtLG-8Nb2ApomAlmyAtOGgFm6jwXAlt1x_Fq8VlbjsuCgmNf8z0QADle2WIp6qtkGaGMTRKsQySa7IMgOTvRctfCWZVRYjDjLsrU_eEP6gsdL9Sp381BmkVOVppztj6SOUC6USiZFNxbk4fMLujuF1_7ug3NNpms-KMZL4annr47Qw-L06qCQxd0FayiqM0XG-LXUXKzRp9qHk997Y3aayxqjtOrbR7yznCUy8-srjrR2p-vpVpJpcxyd1Bisp3c0DrqxCG1Ww1Zwls3I33zPqY9PDTmIGJ7iS-AvNzhu2y9cDuBAr5aHgAoItxoke_Vyo6tl6lhdd1Ml3-2hlqF5_ap8MnSAw-dM9QY656jYTsEgHEoY8rfAk7LJx2dF5AZznWLy1LoWCM7Flmru219MmTRy9q_r5PS4ionYLFwCDh93TfiJh1uW_GqHIonODwSaM-NTx-w1r8tZ3sDHn_GllIJxLBbLZYfnLEWqBUiEyXtwOSYVXhn-mtAbn8O4LuXz181-zggxuVPNR5SiabfpcH1yMqI67WGPNM6YLWmOuUKdSX3kkOlj5g_OwgB3cUsd_4NWCrIyDW7w0DSmAGs5mimEJhX5hC5PFvWX-HYRYYeI4iCQjxWc-8D3A--tvXwqBBdz4N7DP6ZPfVswE_t5v2nELVplmF22C-PFxcuObDLatC6A8dap1YiI9BNcU3_5ss5F3HEB3luWC4v8Elt4bB1-bUNhUb3hY3QsS0yrnL5uyShAJ_el9eobin1tBHjEE6xiwRyqtd1o-U3Ai9NTYUJnwAghZpm_N5JE7-i_oE61mderIDNoXFthZ4M_tds6ct1W8MmpgVFpOVcScN_qLA0bS4ZmOXXkBYTBM8tW2TKVMg_WnBDV8CfQuDFpeSh_W8Owg8V43qsJY0ULQegOz19-QoFn__Z6Zc2zqr6T4VoLKeaIAb2OUiEvkqkYZHIWE5_qBT_-Gh3ovtQ4PnHzbmWUnH-I3l4tZptlY47Uu2F4G9IGwI_Ql8rwiajKDXT2Ipm096hidN1CsSlchn2ohoBQgw8IROfh623NDgqg6oQ7W8Yy32Zpkt_vo0Yafe14_WQ5xri4ep6My9dspcC7naCryuR3ti3lf5HCo-ThREPAY5MLRrY73fnGshRfffeht6VAfK21w4NHLVhuB43ozIIz_0sr732GUoBeR9Rq_EPWA11ts7qPnGP46JdbXrn-vlHXqKg76gQ0n5nzK_2-6m6xJy5E3jkbKTuC44Zj6kKbpsvTWGo-0NtT8yvhSH0zH5kv2FVK_im-Bzx1Nk_Kj5S_FrxaWCiKq9P28olUtU3vuMn1nowCH-83VvamyuVtVtERnLIbja4CjqipKDD_BTL3fQrXvvyrrg3JQ6YJG4mdTBSpnMIeuHnQUkYk48dn3Da5_NMfx99BO0oB0DF94xErlR0FRUGeVLPWDL4TqMcmeKSI5ac40SJtU7HVXe3Dav85B5SU-2_z6pRD_OebKeojQpPLtj-hcGJZYnvSZG9HOpVphu-E53ZMDs0trR1GfjuIelpipw3ODtpFgmqff7K-96l5PrJidAeJXfKLoEjmAt1HI-TGJOQoYtDChHElk75nrvohZBKTeZc0ETIeXxO3e_6LSvU9NH-3_LLG99U5c_usAC0Z2FxvfdS352bruufp2TRhjvK5wPTEFOXLDLsdvRR6xLqiRY1btkKUmDtxAGH-UDIR2aZIGDltr84FTp8fR7t_wIXpRZwADueRzekk8Zn2l45KrKlub1CXORvszESXlz8Zp8EJtoQ_Yr51XFfJ1Op-gSsQ3iRpAGYw6EGi4U0zJRGN1cm7heDVoUZIUWiZLrsaGE1M1GPXktAMbMmMrVLOmtetOTcOjZ9PRJwPIn0esL0b9gwf1brBGWpPlSnUg2IaU5FJEzlLcOeHYtAgAlff-xghvDoKkpoKN1KzYB22pJx8SjlM0X-CFIOo9Fc6noMVzJoA4GbDmWBPdjnXleTxZZgp4XgB4xwTCXzZjJ6-lcpfTylyk6FzjV2LcNhRdKeAfF6kUsVpVAip2nXRm6FrUPDBEzlNxaPiBSElles6pePAoW1DVINbr_K1cNltOUDHg3i74ydCtjkj1EE6uTsOspuCWLMCfB6Rx7nauZb16-C71MmOXdlfZ6J7AeQ1TBIIopHKE0E5tWyP3r7UiG9IAA8u9rfEDiUdHhIoDBlpLQQarvadVyKRU_88Yb40Nso_PiqV16IScjZVuFrvyLdKUkkmaRZ_XQdIQvqsaz-EdLC5xojseLm3mBo8NxOI3Lcn2NVqpENbGAvUvz5H7ygZY6K6yJZDWIr7lMtFWiuwqaCb4wbAyz6iZO10b7AdPUTVe-WzRYTrR9nweiMcvVBzYPYTqFVrDk0-S3Hls9I5HI2bISzj2R2OqKAI4F_Tel1sjwYi1\",\"id\":\"rs_68d674d79d408190a0a2048a5c9824f7\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":95,\"completion_tokens\":286,\"total_tokens\":381,\"cost\":0.00297875,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00011875,\"upstream_inference_completions_cost\":0.00286},\"completion_tokens_details\":{\"reasoning_tokens\":256,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 663.638541ms diff --git a/providertests/testdata/TestOpenRouterWithUniqueToolCallIDs/stream_unique_tool_call_ids.yaml b/providertests/testdata/TestOpenRouterWithUniqueToolCallIDs/stream_unique_tool_call_ids.yaml new file mode 100644 index 0000000000000000000000000000000000000000..aef27c55b524805a3bec8083b66196c8cdc2c752 --- /dev/null +++ b/providertests/testdata/TestOpenRouterWithUniqueToolCallIDs/stream_unique_tool_call_ids.yaml @@ -0,0 +1,223 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 890 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" perform"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" both"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" addition"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiplication"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" of"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" for"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"add:0","type":"function","function":{"name":"add"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"b"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"3"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"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_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"multiply:1","type":"function","function":{"name":"multiply"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"a"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":" "},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"b"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":" "},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"3"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885103-JQ2y9RAscNfolyFYU5K7","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885103,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":154,"completion_tokens":56,"total_tokens":210,"cost":0.0002324,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0000924,"upstream_inference_completions_cost":0.00014},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.595751792s +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1311 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll perform both the addition and multiplication of 2 and 3 for you.","tool_calls":[{"id":"test-3","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"test-4","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"test-3","role":"tool"},{"content":"6","tool_call_id":"test-4","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: |+ + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"Here"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" are"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" the"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" results"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" **"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"Addition"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"**:"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" +"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" ="},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" **"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"Multi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"plication"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"**:"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" ×"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" ="},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}],"system_fingerprint":"fpv0_ef28f882"} + + data: {"id":"gen-1758885108-SReod45hzjSXWqQPKhvh","provider":"Novita","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758885108,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":240,"completion_tokens":32,"total_tokens":272,"cost":0.000224,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000144,"upstream_inference_completions_cost":0.00008},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} + + data: [DONE] + + headers: + Content-Type: + - text/event-stream + status: 200 OK + code: 200 + duration: 1.514502625s diff --git a/providertests/testdata/TestOpenRouterWithUniqueToolCallIDs/unique_tool_call_ids.yaml b/providertests/testdata/TestOpenRouterWithUniqueToolCallIDs/unique_tool_call_ids.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3db2d7797f7b2eb6bef770b0e7613e8549cc994b --- /dev/null +++ b/providertests/testdata/TestOpenRouterWithUniqueToolCallIDs/unique_tool_call_ids.yaml @@ -0,0 +1,92 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 853 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + body: '{"error":{"message":"Provider returned error","code":429,"metadata":{"raw":"moonshotai/kimi-k2-0905 is temporarily rate-limited upstream. Please retry shortly, or add your own key to accumulate your rate limits: https://openrouter.ai/settings/integrations","provider_name":"GMICloud"}},"user_id":"user_2zMGmKqlf4zmAvL9snVImB1Z1ZQ"}' + headers: + Content-Type: + - application/json + status: 429 Too Many Requests + code: 429 + duration: 919.648708ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 853 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: '{"id":"gen-1758885101-um9YPRvqCSM38v5zaTq9","provider":"Groq","model":"moonshotai/kimi-k2-0905","object":"chat.completion","created":1758885101,"choices":[{"logprobs":null,"finish_reason":"tool_calls","native_finish_reason":"tool_calls","index":0,"message":{"role":"assistant","content":"I''ll add and multiply the numbers 2 and 3 for you.","refusal":null,"reasoning":null,"tool_calls":[{"id":"functions.add:0","type":"function","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0},{"id":"functions.multiply:1","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1}]}}],"system_fingerprint":"fp_6e6ff3688b","usage":{"prompt_tokens":211,"completion_tokens":55,"total_tokens":266,"cost":0.000376,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.000211,"upstream_inference_completions_cost":0.000165},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}' + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 271.736416ms +- id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1249 + host: "" + body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"test-1","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"test-2","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"test-1","role":"tool"},{"content":"6","tool_call_id":"test-2","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAI/Go 2.3.0 + url: https://openrouter.ai/api/v1/chat/completions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: -1 + uncompressed: true + body: "\n \n\n \n\n \n{\"id\":\"gen-1758885101-g75YGMrzXtttJkg0cRav\",\"provider\":\"AtlasCloud\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758885101,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"The results are:\\n- **Add:** 2 + 3 = **5**\\n- **Multiply:** 2 × 3 = **6**\\n\\nSo, when working with numbers 2 and 3: addition gives us **5** and multiplication gives us **6**.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":287,\"completion_tokens\":56,\"total_tokens\":343,\"cost\":0.0003122,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0001722,\"upstream_inference_completions_cost\":0.00014},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 551.526417ms diff --git a/providertests/testdata/TestWithUniqueToolCallIDs/stream_unique_tool_call_ids.yaml b/providertests/testdata/TestWithUniqueToolCallIDs/stream_unique_tool_call_ids.yaml deleted file mode 100644 index 76c4f781b4f96d607ce4718e1d05518ff580c97e..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestWithUniqueToolCallIDs/stream_unique_tool_call_ids.yaml +++ /dev/null @@ -1,221 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 890 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":"I'll"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" perform"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" both"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" addition"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" multiplication"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" of"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" for"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"add:0","type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"b"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"function":{"arguments":"3"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"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_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"id":"multiply:1","type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"{\""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"a"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":" "},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"2"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":","},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":" \""},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"b"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"\":"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":" "},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"3"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"function":{"arguments":"}"},"type":"function"}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}],"system_fingerprint":"fpv0_ec889fbb"} - - data: {"id":"gen-1758795286-r6ddvq67TG87BrkaWVN5","provider":"Moonshot AI","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795286,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":154,"completion_tokens":55,"total_tokens":209,"cost":0.0004598,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.0001848,"upstream_inference_completions_cost":0.000275},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.430772208s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1307 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll perform both addition and multiplication of 2 and 3 for you.","tool_calls":[{"id":"test-3","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"test-4","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"test-3","role":"tool"},{"content":"6","tool_call_id":"test-4","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - body: |+ - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"Here"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" are"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" both"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" calculations"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":":\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" **"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"Addition"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"**:"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" +"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" ="},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"-"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" **"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"Multi"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"plication"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"**:"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"2"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" ×"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"3"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" ="},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]} - - data: {"id":"gen-1758795287-sW0GKhrmWZLZQRXXK0QN","provider":"Chutes","model":"moonshotai/kimi-k2-0905","object":"chat.completion.chunk","created":1758795287,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":284,"completion_tokens":32,"total_tokens":316,"cost":0.00015656,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00010792,"upstream_inference_completions_cost":0.00004864},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}} - - data: [DONE] - - headers: - Content-Type: - - text/event-stream - status: 200 OK - code: 200 - duration: 1.287678459s diff --git a/providertests/testdata/TestWithUniqueToolCallIDs/unique_tool_call_ids.yaml b/providertests/testdata/TestWithUniqueToolCallIDs/unique_tool_call_ids.yaml deleted file mode 100644 index 26b43090fbdb17ddf0bb723844118eb30b0534a2..0000000000000000000000000000000000000000 --- a/providertests/testdata/TestWithUniqueToolCallIDs/unique_tool_call_ids.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 853 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n\n \n\n \n{\"id\":\"gen-1758795282-ZfaWssiVfX6IlzZpg8Yl\",\"provider\":\"Fireworks\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758795282,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null,\"reasoning\":null,\"tool_calls\":[{\"index\":0,\"id\":\"functions.add:0\",\"type\":\"function\",\"function\":{\"name\":\"add\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}},{\"index\":1,\"id\":\"functions.multiply:1\",\"type\":\"function\",\"function\":{\"name\":\"multiply\",\"arguments\":\"{\\\"a\\\": 2, \\\"b\\\": 3}\"}}]}}],\"usage\":{\"prompt_tokens\":214,\"completion_tokens\":41,\"total_tokens\":255,\"cost\":0.0002309,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0001284,\"upstream_inference_completions_cost\":0.0001025},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 1.700942625s - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 1192 - host: "" - body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"test-1","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"test-2","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"test-1","role":"tool"},{"content":"6","tool_call_id":"test-2","role":"tool"}],"model":"moonshotai/kimi-k2-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAI/Go 2.3.0 - url: https://openrouter.ai/api/v1/chat/completions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: -1 - uncompressed: true - body: "\n \n\n \n{\"id\":\"gen-1758795284-yAyyi3hio0mN4h4OlsWF\",\"provider\":\"DeepInfra\",\"model\":\"moonshotai/kimi-k2-0905\",\"object\":\"chat.completion\",\"created\":1758795284,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"stop\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Adding 2 and 3 gives 5, and multiplying 2 and 3 gives 6.\",\"refusal\":null,\"reasoning\":null}}],\"usage\":{\"prompt_tokens\":270,\"completion_tokens\":21,\"total_tokens\":291,\"cost\":0.000177,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000135,\"upstream_inference_completions_cost\":0.000042},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"image_tokens\":0}}}" - headers: - Content-Type: - - application/json - status: 200 OK - code: 200 - duration: 763.1885ms