diff --git a/openaicompat/language_model_hooks.go b/openaicompat/language_model_hooks.go new file mode 100644 index 0000000000000000000000000000000000000000..88e4094d6f397051b6d4f9a3a63baf55bd34a438 --- /dev/null +++ b/openaicompat/language_model_hooks.go @@ -0,0 +1,125 @@ +package openaicompat + +import ( + "fmt" + + "github.com/charmbracelet/fantasy/ai" + "github.com/charmbracelet/fantasy/openai" + openaisdk "github.com/openai/openai-go/v2" + "github.com/openai/openai-go/v2/packages/param" + "github.com/openai/openai-go/v2/shared" +) + +const reasoningStartedCtx = "reasoning_started" + +func languagePrepareModelCall(model ai.LanguageModel, params *openaisdk.ChatCompletionNewParams, call ai.Call) ([]ai.CallWarning, error) { + providerOptions := &ProviderOptions{} + if v, ok := call.ProviderOptions[Name]; ok { + providerOptions, ok = v.(*ProviderOptions) + if !ok { + return nil, ai.NewInvalidArgumentError("providerOptions", "openrouter provider options should be *openrouter.ProviderOptions", nil) + } + } + + if providerOptions.ReasoningEffort != nil { + switch *providerOptions.ReasoningEffort { + case openai.ReasoningEffortMinimal: + params.ReasoningEffort = shared.ReasoningEffortMinimal + case openai.ReasoningEffortLow: + params.ReasoningEffort = shared.ReasoningEffortLow + case openai.ReasoningEffortMedium: + params.ReasoningEffort = shared.ReasoningEffortMedium + case openai.ReasoningEffortHigh: + params.ReasoningEffort = shared.ReasoningEffortHigh + default: + return nil, fmt.Errorf("reasoning model `%s` not supported", *providerOptions.ReasoningEffort) + } + } + + if providerOptions.User != nil { + params.User = param.NewOpt(*providerOptions.User) + } + return nil, nil +} + +func languageModelExtraContent(choice openaisdk.ChatCompletionChoice) []ai.Content { + // TODO: check this + return []ai.Content{} +} + +func extractReasoningContext(ctx map[string]any) bool { + reasoningStarted, ok := ctx[reasoningStartedCtx] + if !ok { + return false + } + b, ok := reasoningStarted.(bool) + if !ok { + return false + } + return b +} + +func languageModelStreamExtra(chunk openaisdk.ChatCompletionChunk, yield func(ai.StreamPart) bool, ctx map[string]any) (map[string]any, bool) { + // TODO: check this + // if len(chunk.Choices) == 0 { + // return ctx, true + // } + // + // reasoningStarted := extractReasoningContext(ctx) + // + // for inx, choice := range chunk.Choices { + // reasoningData := ReasoningData{} + // err := json.Unmarshal([]byte(choice.Delta.RawJSON()), &reasoningData) + // if err != nil { + // yield(ai.StreamPart{ + // Type: ai.StreamPartTypeError, + // Error: ai.NewAIError("Unexpected", "error unmarshalling delta", err), + // }) + // return ctx, false + // } + // + // emitEvent := func(reasoningContent string) bool { + // if !reasoningStarted { + // shouldContinue := yield(ai.StreamPart{ + // Type: ai.StreamPartTypeReasoningStart, + // ID: fmt.Sprintf("%d", inx), + // }) + // if !shouldContinue { + // return false + // } + // } + // + // return yield(ai.StreamPart{ + // Type: ai.StreamPartTypeReasoningDelta, + // ID: fmt.Sprintf("%d", inx), + // Delta: reasoningContent, + // }) + // } + // if len(reasoningData.ReasoningDetails) > 0 { + // for _, detail := range reasoningData.ReasoningDetails { + // if !reasoningStarted { + // ctx[reasoningStartedCtx] = true + // } + // switch detail.Type { + // case "reasoning.text": + // return ctx, emitEvent(detail.Text) + // case "reasoning.summary": + // return ctx, emitEvent(detail.Summary) + // case "reasoning.encrypted": + // return ctx, emitEvent("[REDACTED]") + // } + // } + // } else if reasoningData.Reasoning != "" { + // return ctx, emitEvent(reasoningData.Reasoning) + // } + // if reasoningStarted && (choice.Delta.Content != "" || len(choice.Delta.ToolCalls) > 0) { + // ctx[reasoningStartedCtx] = false + // return ctx, yield(ai.StreamPart{ + // Type: ai.StreamPartTypeReasoningEnd, + // ID: fmt.Sprintf("%d", inx), + // }) + // } + // } + // return ctx, true + return nil, true +} diff --git a/openaicompat/openrouter.go b/openaicompat/openrouter.go new file mode 100644 index 0000000000000000000000000000000000000000..5345e598df48dbb1dc7359b4dfe530c0b95edf54 --- /dev/null +++ b/openaicompat/openrouter.go @@ -0,0 +1,89 @@ +package openaicompat + +import ( + "encoding/json" + + "github.com/charmbracelet/fantasy/ai" + "github.com/charmbracelet/fantasy/openai" + "github.com/openai/openai-go/v2/option" +) + +type options struct { + openaiOptions []openai.Option + languageModelOptions []openai.LanguageModelOption +} + +const ( + Name = "openai-compat" +) + +type Option = func(*options) + +func New(url string, opts ...Option) ai.Provider { + providerOptions := options{ + openaiOptions: []openai.Option{ + openai.WithName(Name), + openai.WithBaseURL(url), + }, + languageModelOptions: []openai.LanguageModelOption{ + openai.WithLanguageModelPrepareCallFunc(languagePrepareModelCall), + // openai.WithLanguageModelStreamExtraFunc(languageModelStreamExtra), + // openai.WithLanguageModelExtraContentFunc(languageModelExtraContent), + }, + } + for _, o := range opts { + o(&providerOptions) + } + + providerOptions.openaiOptions = append(providerOptions.openaiOptions, openai.WithLanguageModelOptions(providerOptions.languageModelOptions...)) + return openai.New(providerOptions.openaiOptions...) +} + +func WithAPIKey(apiKey string) Option { + return func(o *options) { + o.openaiOptions = append(o.openaiOptions, openai.WithAPIKey(apiKey)) + } +} + +func WithName(name string) Option { + return func(o *options) { + o.openaiOptions = append(o.openaiOptions, openai.WithName(name)) + } +} + +func WithHeaders(headers map[string]string) Option { + return func(o *options) { + o.openaiOptions = append(o.openaiOptions, openai.WithHeaders(headers)) + } +} + +func WithHTTPClient(client option.HTTPClient) Option { + return func(o *options) { + o.openaiOptions = append(o.openaiOptions, openai.WithHTTPClient(client)) + } +} + +func WithLanguageUniqueToolCallIds() Option { + return func(l *options) { + l.languageModelOptions = append(l.languageModelOptions, openai.WithLanguageUniqueToolCallIds()) + } +} + +func WithLanguageModelGenerateIDFunc(fn openai.LanguageModelGenerateIDFunc) Option { + return func(l *options) { + l.languageModelOptions = append(l.languageModelOptions, openai.WithLanguageModelGenerateIDFunc(fn)) + } +} + +func structToMapJSON(s any) (map[string]any, error) { + var result map[string]any + jsonBytes, err := json.Marshal(s) + if err != nil { + return nil, err + } + err = json.Unmarshal(jsonBytes, &result) + if err != nil { + return nil, err + } + return result, nil +} diff --git a/openaicompat/provider_options.go b/openaicompat/provider_options.go new file mode 100644 index 0000000000000000000000000000000000000000..2a7489bf2cb9bc5b6e4c6e7d7d122a46cf6582bb --- /dev/null +++ b/openaicompat/provider_options.go @@ -0,0 +1,19 @@ +package openaicompat + +import ( + "github.com/charmbracelet/fantasy/ai" + "github.com/charmbracelet/fantasy/openai" +) + +type ProviderOptions struct { + User *string `json:"user"` + ReasoningEffort *openai.ReasoningEffort `json:"reasoning_effort"` +} + +func (*ProviderOptions) Options() {} + +func NewProviderOptions(opts *ProviderOptions) ai.ProviderOptions { + return ai.ProviderOptions{ + Name: opts, + } +} diff --git a/providertests/.env.sample b/providertests/.env.sample index d3e7eaa9ae762091014368b4de02df3edf50b4f0..cdbb6ff50c8c11794633f1ec8e24358b4d090727 100644 --- a/providertests/.env.sample +++ b/providertests/.env.sample @@ -1,3 +1,6 @@ ANTHROPIC_API_KEY= GEMINI_API_KEY= OPENAI_API_KEY= +XAI_API_KEY= +OPENROUTER_API_KEY= +GROQ_API_KEY= diff --git a/providertests/openaicompat_test.go b/providertests/openaicompat_test.go new file mode 100644 index 0000000000000000000000000000000000000000..c154ec686ed0b594d5b66739a7dd0155aba073ca --- /dev/null +++ b/providertests/openaicompat_test.go @@ -0,0 +1,46 @@ +package providertests + +import ( + "net/http" + "os" + "testing" + + "github.com/charmbracelet/fantasy/ai" + "github.com/charmbracelet/fantasy/openaicompat" + "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" +) + +func TestOpenAICompatibleCommon(t *testing.T) { + testCommon(t, []builderPair{ + {"xai-grok-4-fast", builderXAIGrok4Fast, nil}, + {"xai-grok-code-fast", builderXAIGrokCodeFast, nil}, + {"groq-kimi-k2", builderGroq, nil}, + }) +} + +func builderXAIGrokCodeFast(r *recorder.Recorder) (ai.LanguageModel, error) { + provider := openaicompat.New( + "https://api.x.ai/v1", + openaicompat.WithAPIKey(os.Getenv("XAI_API_KEY")), + openaicompat.WithHTTPClient(&http.Client{Transport: r}), + ) + return provider.LanguageModel("grok-code-fast-1") +} + +func builderXAIGrok4Fast(r *recorder.Recorder) (ai.LanguageModel, error) { + provider := openaicompat.New( + "https://api.x.ai/v1", + openaicompat.WithAPIKey(os.Getenv("XAI_API_KEY")), + openaicompat.WithHTTPClient(&http.Client{Transport: r}), + ) + return provider.LanguageModel("grok-4-fast") +} + +func builderGroq(r *recorder.Recorder) (ai.LanguageModel, error) { + provider := openaicompat.New( + "https://api.groq.com/openai/v1", + openaicompat.WithAPIKey(os.Getenv("GROQ_API_KEY")), + openaicompat.WithHTTPClient(&http.Client{Transport: r}), + ) + return provider.LanguageModel("moonshotai/kimi-k2-instruct-0905") +} diff --git a/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_groq-kimi-k2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4d122e5db3d4d7b56bebc884bf7be13ee2698296 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_groq-kimi-k2.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-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 new file mode 100644 index 0000000000000000000000000000000000000000..be3f86b774252d895bde6f28cb38367f422d33fe --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_groq-kimi-k2.yaml @@ -0,0 +1,173 @@ +--- +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 new file mode 100644 index 0000000000000000000000000000000000000000..271f613f8e3a9ea8d0da3d974fdcc2cef9b0665c --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_xai-grok-4-fast.yaml @@ -0,0 +1,493 @@ +--- +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 new file mode 100644 index 0000000000000000000000000000000000000000..ab19f26d8b68b196dfe02c871915c06b0c3584ab --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_streaming_xai-grok-code-fast.yaml @@ -0,0 +1,979 @@ +--- +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_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-4-fast.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4ed4294eeb47fbc122da597936c98e5d43149f4a --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-4-fast.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":"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 new file mode 100644 index 0000000000000000000000000000000000000000..ff3e2c32e8c3271fa84421f6df0e9d9402667f5f --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/multi_tool_xai-grok-code-fast.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":"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/simple_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_groq-kimi-k2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e08d1d671d0e0dce174bbb5b9158ec3c1f6e8546 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/simple_groq-kimi-k2.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-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 new file mode 100644 index 0000000000000000000000000000000000000000..4ab1b4e494649324f82443c33afb9f99b5a2871c --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_groq-kimi-k2.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-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 new file mode 100644 index 0000000000000000000000000000000000000000..f30d8a5a36eb19a5f7869e5739846f2092f6ee9d --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_xai-grok-4-fast.yaml @@ -0,0 +1,286 @@ +--- +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 new file mode 100644 index 0000000000000000000000000000000000000000..3ee5f63b07029729e04aac1444b7c5a2b61bf34b --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/simple_streaming_xai-grok-code-fast.yaml @@ -0,0 +1,352 @@ +--- +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_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-4-fast.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8003d3a0458abf5c719090906c00c0bfaedcbc0b --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-4-fast.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":"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 new file mode 100644 index 0000000000000000000000000000000000000000..8f109143ca368f1419736e549c17d1f998bdd074 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/simple_xai-grok-code-fast.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":"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/tool_groq-kimi-k2.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_groq-kimi-k2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7326d947d6aa8b7b0cc5acd771cbf47e429eb387 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/tool_groq-kimi-k2.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-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 new file mode 100644 index 0000000000000000000000000000000000000000..ebfb41b058622c7dfb9d29d5657bc9b5edf7fe1b --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_groq-kimi-k2.yaml @@ -0,0 +1,145 @@ +--- +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 new file mode 100644 index 0000000000000000000000000000000000000000..235560f9d8d716d6a3754a56944a0dc82a5e67fa --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_xai-grok-4-fast.yaml @@ -0,0 +1,661 @@ +--- +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 new file mode 100644 index 0000000000000000000000000000000000000000..a09928b069f8b7d11bc53400bc7b19cbe11d636c --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/tool_streaming_xai-grok-code-fast.yaml @@ -0,0 +1,727 @@ +--- +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_xai-grok-4-fast.yaml b/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-4-fast.yaml new file mode 100644 index 0000000000000000000000000000000000000000..76f22bb5791b757bfe9ddf7e40f00d858b1a52e8 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-4-fast.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":"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 new file mode 100644 index 0000000000000000000000000000000000000000..abe72436d549c16c46eac5a4419efaecc332aa83 --- /dev/null +++ b/providertests/testdata/TestOpenAICompatibleCommon/tool_xai-grok-code-fast.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":"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