DOCSAPI reference

INTERFACE

DeepseekMessage

Defined in: packages/integrations/src/model-provider/deepseek/index.ts:128

Chat message accepted as input. It matches the agent message contract in @astack-tech/components, so agent histories can be passed directly.

Properties

Property Type Description Defined in
content? string Text content. Omitted content is sent as no content. packages/integrations/src/model-provider/deepseek/index.ts:132
role string One of system, user, assistant or tool (see MessageRole). packages/integrations/src/model-provider/deepseek/index.ts:130
tool_call_id? string Identifier of the call that a tool message answers. packages/integrations/src/model-provider/deepseek/index.ts:136
tool_calls? readonly unknown[] Accepted for compatibility. Assistant tool calls are not forwarded to the API. packages/integrations/src/model-provider/deepseek/index.ts:134
usage? DeepseekTokenUsage Ignored on input. Present so agent histories can be passed unchanged. packages/integrations/src/model-provider/deepseek/index.ts:138