Interface: MoonshotStreamChunk
@providerprotocol/ai / moonshot / MoonshotStreamChunk
Interface: MoonshotStreamChunk
Section titled “Interface: MoonshotStreamChunk”Defined in: src/providers/moonshot/types.ts:762
Streaming chunk structure from the Moonshot API.
Properties
Section titled “Properties”choices
Section titled “choices”choices:
MoonshotStreamChoice[]
Defined in: src/providers/moonshot/types.ts:767
created
Section titled “created”created:
number
Defined in: src/providers/moonshot/types.ts:765
id:
string
Defined in: src/providers/moonshot/types.ts:763
model:
string
Defined in: src/providers/moonshot/types.ts:766
object
Section titled “object”object:
"chat.completion.chunk"
Defined in: src/providers/moonshot/types.ts:764
system_fingerprint?
Section titled “system_fingerprint?”
optionalsystem_fingerprint:string
Defined in: src/providers/moonshot/types.ts:769
usage?
Section titled “usage?”
optionalusage:MoonshotUsage|null
Defined in: src/providers/moonshot/types.ts:768