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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product