feat/fix: don't stop cli starting if MCPs don't load (#2860)

This commit is contained in:
Michael Neale
2025-06-12 14:46:56 +10:00
committed by GitHub
parent c17c86bce5
commit 030e8a82b5
3 changed files with 271 additions and 13 deletions
+3
View File
@@ -632,6 +632,7 @@ pub async fn cli() -> Result<()> {
additional_system_prompt: None,
debug,
max_tool_repetitions,
interactive: true, // Session command is always interactive
})
.await;
setup_logging(
@@ -740,6 +741,7 @@ pub async fn cli() -> Result<()> {
additional_system_prompt: input_config.additional_system_prompt,
debug,
max_tool_repetitions,
interactive, // Use the interactive flag from the Run command
})
.await;
@@ -854,6 +856,7 @@ pub async fn cli() -> Result<()> {
additional_system_prompt: None,
debug: false,
max_tool_repetitions: None,
interactive: true, // Default case is always interactive
})
.await;
setup_logging(