Dagger.Agent (dagger v1.0.0-beta.11)

Copy Markdown View Source

Dagger.Agent

Summary

Functions

The description of the agent

A unique identifier for this Agent.

Return the fully qualified name of the agent

The original module in which the agent has been defined

The path of the agent within its module

Types

t()

@type t() :: %Dagger.Agent{client: term(), query_builder: term()}

Functions

description(agent)

@spec description(t()) :: {:ok, String.t()} | {:error, term()}

The description of the agent

id(agent)

@spec id(t()) :: {:ok, String.t()} | {:error, term()}

A unique identifier for this Agent.

name(agent)

@spec name(t()) :: {:ok, String.t()} | {:error, term()}

Return the fully qualified name of the agent

original_module(agent)

@spec original_module(t()) :: Dagger.Module.t()

The original module in which the agent has been defined

path(agent)

@spec path(t()) :: {:ok, [String.t()]} | {:error, term()}

The path of the agent within its module