Skip to content

ema / ema / LLMResponse

Interface: LLMResponse

Defined in: schema.ts:98

LLM response.

Properties

content

ts
content: string;

Defined in: schema.ts:102

Content.


finish_reason

ts
finish_reason: string;

Defined in: schema.ts:114

Finish reason.


thinking?

ts
optional thinking: string;

Defined in: schema.ts:106

Extended thinking blocks.


tool_calls?

ts
optional tool_calls: ToolCall[];

Defined in: schema.ts:110

Tool calls.


usage?

ts
optional usage: TokenUsage;

Defined in: schema.ts:118

Token usage from API response.