profile
Module: profile
Section titled “Module: profile”Contents
Section titled “Contents”Enums
AgentProfile- The set of built-in agent profilesfirma runrecognises.
firma_config_loader::profile::AgentProfile
Section titled “firma_config_loader::profile::AgentProfile”Enum
The set of built-in agent profiles firma run recognises.
Variants:
ClaudeCode- Anthropic Claude Code CLI.Codex-OpenAICodex CLI.Copilot- GitHub Copilot CLI.Generic- General-purpose sandbox, no agent-specific defaults.Vscode- Visual Studio Code desktop.
Methods:
fn as_str(self: Self) -> &'static str- String name used infirma.tomland on the CLI.fn from_name(s: &str) -> Option<Self>- Parse from the string name; returnsNonefor unknown profiles.fn from_canonical_name(name: &str) -> Option<Self>- Parses only the canonical name, without CLI aliases.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: Copy, Eq
Trait Implementations:
- Clone
fn clone(self: &Self) -> Self
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Deserialize
fn deserialize<__D>(__deserializer: __D) -> _serde::__private229::Result<Self, <__D as >::Error>
- Serialize
fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private229::Result<<__S as >::Ok, <__S as >::Error>
- PartialEq
fn eq(self: &Self, other: &Self) -> bool