DocsAPI reference

Interface@astack-tech/integrations

DeepseekStreamToolCall

Defined in: packages/integrations/src/model-provider/openai-compatible/index.ts:92

Partial tool call emitted while streaming. arguments holds the raw JSON fragment.

Properties

Property Type Description Defined in
arguments string Raw JSON fragment of this delta. Concatenate the fragments of a call to get its arguments. packages/integrations/src/model-provider/openai-compatible/index.ts:107
function object The delta in the OpenAI shape. arguments holds only this delta's JSON fragment. packages/integrations/src/model-provider/openai-compatible/index.ts:98
function.arguments string Arguments as JSON text. packages/integrations/src/model-provider/openai-compatible/index.ts:102
function.name string Name of the tool to call. packages/integrations/src/model-provider/openai-compatible/index.ts:100
id string Identifier assigned by the API. Only the first delta of a call carries it; later deltas have ''. packages/integrations/src/model-provider/openai-compatible/index.ts:94
tool_name string Name of the tool when this delta carries it, otherwise ''. packages/integrations/src/model-provider/openai-compatible/index.ts:105
type "function" Always function. packages/integrations/src/model-provider/openai-compatible/index.ts:96