Type Alias: LLMChatTurnResult
LLMChatTurnResult =
object
Defined in: extensions/llm/tasks/llmChatSession.ts:83
Result returned by an LLM chat turn.
Properties
finishReason
readonlyfinishReason:"stop"|"maxToolTurns"
Defined in: extensions/llm/tasks/llmChatSession.ts:93
Reason why the chat turn completed.
stop: The model completed its answer naturally without further tool calls.maxToolTurns: The turn was terminated because it reachedmaxToolTurns.
messages
readonlymessages: readonlyChatMessage[]
Defined in: extensions/llm/tasks/llmChatSession.ts:85
The messages added to history during this chat turn.
stats
readonlystats: readonlyLLMGenerationStats[]
Defined in: extensions/llm/tasks/llmChatSession.ts:87
Generation performance statistics for each generation step in this turn.