Skip to main content

AGENT_DEFINITION_SELECT

Constant AGENT_DEFINITION_SELECT 

Source
pub(super) const AGENT_DEFINITION_SELECT: &str = "SELECT id, slug, name, icon, provider, description,
            working_directory, shell, provider_flags, auto_start,
            restart_on_crash, idle_timeout_minutes, created_at,
            agent_type, environment, agent_bus_id, is_seeded,
            accounts, parent_template_id, branch_label, updated_at,
            user_hidden, container_image, container_volumes, container_name,
            use_ambient_login, model_vendor_base_url, auto_continue_enabled,
            default_memory_id, conversation_visibility
     FROM db_agents";
Expand description

The db_agents SELECT that reads a row in the AgentDefinition shape — the column order map_agent_definition_row expects. Shared by agent_def_list (all rows) and agent_row_get (one row).