Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions crates/goose-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,16 @@ enum Command {
)]
input_text: Option<String>,

/// Additional system prompt to customize agent behavior
#[arg(
long = "system",
value_name = "TEXT",
help = "Additional system prompt to customize agent behavior",
long_help = "Provide additional system instructions to customize the agent's behavior",
conflicts_with = "recipe"
)]
system: Option<String>,

/// Recipe name or full path to the recipe file
#[arg(
short = None,
Expand Down Expand Up @@ -666,6 +676,7 @@ pub async fn cli() -> Result<()> {
instructions,
input_text,
recipe,
system,
interactive,
identifier,
resume,
Expand All @@ -690,7 +701,7 @@ pub async fn cli() -> Result<()> {
InputConfig {
contents: Some(input),
extensions_override: None,
additional_system_prompt: None,
additional_system_prompt: system,
},
None,
)
Expand All @@ -716,7 +727,7 @@ pub async fn cli() -> Result<()> {
InputConfig {
contents: Some(text),
extensions_override: None,
additional_system_prompt: None,
additional_system_prompt: system,
},
None,
),
Expand Down
Loading