DoctorCheck

org.llm4s.doctor.DoctorCheck
See theDoctorCheck companion object
@Experimental
final case class DoctorCheck

One step of the setup check.

Every string is passed through org.llm4s.util.Redaction when the check is built, so a message that quotes a configuration error cannot carry a credential into the report. The doctor never puts an API key's value in a message, and Doctor.run also hides every key the configuration holds by value; this shape-based pass is the last line of defence, not the first.

Value parameters

detail

what was found

fix

what to change when the step did not pass

name

what was checked, e.g. Provider config

status

how it ended

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def withFix(fix: String): DoctorCheck

This check with a fix hint.

This check with a fix hint.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product