ProviderExchange

org.llm4s.llmconnect.ProviderExchange
final case class ProviderExchange(exchangeId: String, provider: String, model: Option[String], requestId: Option[String], correlationId: Option[String], startedAt: Instant, completedAt: Instant, durationMs: Long, outcome: ProviderExchangeOutcome, requestBody: String, responseBody: Option[String], errorMessage: Option[String])

Minimal first-pass representation of a captured provider exchange.

This intentionally starts small, but now carries enough timing and correlation metadata to serve as a low-level debugging record that higher level tracing or tooling can reference later.

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