Skip to content

profile

Enums

  • AgentProfile - The set of built-in agent profiles firma run recognises.

firma_config_loader::profile::AgentProfile

Section titled “firma_config_loader::profile::AgentProfile”

Enum

The set of built-in agent profiles firma run recognises.

Variants:

  • Generic - General-purpose sandbox, no agent-specific defaults.
  • Codex - OpenAI Codex CLI.
  • ClaudeCode - Anthropic Claude Code CLI.
  • Copilot - GitHub Copilot CLI.

Methods:

  • fn as_str(self: Self) -> &'static str - String name used in firma.toml and on the CLI.
  • fn from_name(s: &str) -> Option<Self> - Parse from the string name; returns None for unknown profiles.
  • fn provider(self: Self) -> &'static str - Provider identifier used for mapping selection ("anthropic", "openai").
  • fn description(self: Self) -> &'static str - Human-readable description for interactive prompts.

Traits: Eq, Copy

Trait Implementations:

  • PartialEq
    • fn eq(self: &Self, other: &AgentProfile) -> bool
  • Clone
    • fn clone(self: &Self) -> AgentProfile
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result