Skip to main content

LLMResponse

openmolt


openmolt / LLMResponse

Interface: LLMResponse

Defined in: types/index.ts:375

Normalised response returned by any LLMProvider.

Properties

content

content: string

Defined in: types/index.ts:377

The text content of the response.


raw?

optional raw: unknown

Defined in: types/index.ts:387

Raw provider response object.


thinking?

optional thinking: string

Defined in: types/index.ts:379

Optional chain-of-thought / reasoning produced by the model.


usage?

optional usage: object

Defined in: types/index.ts:381

Token usage statistics.

completionTokens

completionTokens: number

promptTokens

promptTokens: number

totalTokens

totalTokens: number