DocsAPI reference

Interface@astack-tech/integrations

DeepseekAssistantMessage

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

Assistant message returned by chatCompletion.

Properties

Property Type Description Defined in
content string Reply text. Empty when the model only calls tools. packages/integrations/src/model-provider/openai-compatible/index.ts:150
role "assistant" Always assistant. packages/integrations/src/model-provider/openai-compatible/index.ts:148
tool_calls? DeepseekResponseToolCall[] Tool calls requested by the model, if any. packages/integrations/src/model-provider/openai-compatible/index.ts:152
usage? DeepseekTokenUsage Token usage of this request, when the API reports it. packages/integrations/src/model-provider/openai-compatible/index.ts:154