AgentId

org.llm4s.agent.AgentId$package.AgentId
object AgentId

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AgentId.type

Members list

Value members

Concrete methods

def of(value: String): Result[AgentId]

value as an id, or a ValidationError on field agent.id when it does not match [a-zA-Z0-9_-]{1,52}.

value as an id, or a ValidationError on field agent.id when it does not match [a-zA-Z0-9_-]{1,52}.

Attributes

Givens

Givens

given given_ReadWriter_AgentId: ReadWriter[AgentId]

Encodes as a plain JSON string. Built from upickle's string codecs: inside this scope an AgentId is a String, so summoning ReadWriter[String] would find this given.

Encodes as a plain JSON string. Built from upickle's string codecs: inside this scope an AgentId is a String, so summoning ReadWriter[String] would find this given.

Attributes

Extensions

Extensions

extension (id: AgentId)
def value: String