ModelCallCompleted
org.llm4s.agent.events.ModelCallCompleted
final case class ModelCallCompleted(agent: String, model: String, attempts: Int, toolCalls: Int, usage: Option[CallUsage], estimatedCost: Option[Double])
agent's model call returned. attempts counts the calls its model wrappers made to the model, the last one succeeding; it is 0 when a model middleware answered without calling the model. usage and estimatedCost (USD) are the completion's, when the provider reported them.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article