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

Copy Markdown View Source

Dagger.Agent

Summary

Functions

The description of the agent

A unique identifier for this Agent.

Return the command name of the agent. Entrypoint targets omit the module prefix.

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 command name of the agent. Entrypoint targets omit the module prefix.

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