Truncated
org.llm4s.agent.AgentStatus.Truncated
The active agent's final answer was cut off: the model stopped at its output limit (FinishReason.Length, CompletionOptions.maxTokens or the model's own cap) before it finished. partialAnswer is what it wrote, stored in the thread as any answer is; it is not an AgentResult.answer, since it is incomplete. Like StepLimitReached, a completed turn: the next turn runs normally, so a caller can ask the agent to go on, or run again with a higher limit (RFC 0009, open question 6).
Attributes
- Source
- AgentResult.scala
Members list
In this article
