ProviderIdCollision

org.llm4s.llmconnect.spi.ProviderIdCollision
final case class ProviderIdCollision(kind: String, id: String, keptModule: String, droppedModule: Option[String])

A chat or embedding provider id two descriptors both registered; the later one won.

ProviderRegistry has always resolved this by keeping the last registration, silently - this is what makes that resolution visible instead of invisible.

Value parameters

droppedModule

the module that lost, when discovery can name it.

id

the id two descriptors both claimed.

keptModule

the module (or "explicit registration") whose descriptor won.

kind

"chat" or "embedding".

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