LlmapiChatCompletionExtraFields
LlmapiChatCompletionExtraFields =
object
Defined in: src/client/types.gen.ts:436
ExtraFields contains additional metadata
Properties
latency?
optionallatency:number
Defined in: src/client/types.gen.ts:440
Latency is the request latency in milliseconds
model_requested?
optionalmodel_requested:string
Defined in: src/client/types.gen.ts:444
ModelRequested is the model that was requested
provider?
optionalprovider:string
Defined in: src/client/types.gen.ts:448
Provider is the LLM provider used (e.g., “openai”, “anthropic”)
request_type?
optionalrequest_type:string
Defined in: src/client/types.gen.ts:452
RequestType is always “chat_completion”
Last updated on