Interface: MoonshotResponse
@providerprotocol/ai / moonshot / MoonshotResponse
Interface: MoonshotResponse
Section titled “Interface: MoonshotResponse”Defined in: src/providers/moonshot/types.ts:732
Response structure from the Moonshot Chat Completions API.
Properties
Section titled “Properties”choices
Section titled “choices”choices:
MoonshotChoice[]
Defined in: src/providers/moonshot/types.ts:737
created
Section titled “created”created:
number
Defined in: src/providers/moonshot/types.ts:735
id:
string
Defined in: src/providers/moonshot/types.ts:733
model:
string
Defined in: src/providers/moonshot/types.ts:736
object
Section titled “object”object:
"chat.completion"
Defined in: src/providers/moonshot/types.ts:734
system_fingerprint?
Section titled “system_fingerprint?”
optionalsystem_fingerprint:string
Defined in: src/providers/moonshot/types.ts:739
usage:
MoonshotUsage
Defined in: src/providers/moonshot/types.ts:738