ToolHandlerError

org.llm4s.toolapi.ToolHandlerError
See theToolHandlerError companion trait

Attributes

Companion
trait
Source
ToolParameterError.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Failed extends ToolHandlerError

The tool itself refused or failed, the arguments being readable: ToolFunction.execute reports it as a ToolCallError.HandlerError carrying message.

The tool itself refused or failed, the arguments being readable: ToolFunction.execute reports it as a ToolCallError.HandlerError carrying message.

Value parameters

message

what went wrong, as the model is told it

Attributes

Companion
object
Source
ToolParameterError.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Failed

Attributes

Companion
class
Source
ToolParameterError.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Failed.type

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def failed(message: String): ToolHandlerError

The tool's own failure, typed as a ToolHandlerError so that it sits beside a getter's ToolParameterError in one for comprehension without a type annotation.

The tool's own failure, typed as a ToolHandlerError so that it sits beside a getter's ToolParameterError in one for comprehension without a type annotation.

Attributes

Source
ToolParameterError.scala