org.llm4s.llmconnect.spi.ProviderRegistryReport
See theProviderRegistryReport companion object
final case class ProviderRegistryReport(discovered: Boolean, modules: Seq[ProviderModuleReport], failures: Seq[ProviderDiscoveryFailure])
How a ProviderRegistry came to hold what it holds.
This is the debuggability half of classpath discovery. "Provider openai is not registered" is unusable on its own; the same message with "discovery scanned 0 modules" says the services files did not survive shading, and with "1 failed: ..." says which jar is broken.
Value parameters
- discovered
-
whether
ServiceLoaderdiscovery ran at all. A registry built by ProviderRegistry.of reportsfalse, which is different from discovery running and finding nothing. - failures
-
the service entries it could not use.
- modules
-
the modules discovery loaded, in the order it saw them.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article