From 656a4b035422c7812c5fbf272d389b882b11c1dc Mon Sep 17 00:00:00 2001 From: Douwe Osinga Date: Thu, 23 Oct 2025 12:32:50 -0400 Subject: [PATCH 1/3] Create recipe dir on save --- crates/goose/src/recipe/local_recipes.rs | 4 ++++ scripts/test_providers.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/goose/src/recipe/local_recipes.rs b/crates/goose/src/recipe/local_recipes.rs index bf3083cd1548..3e2deb6b062b 100644 --- a/crates/goose/src/recipe/local_recipes.rs +++ b/crates/goose/src/recipe/local_recipes.rs @@ -177,6 +177,10 @@ pub fn save_recipe_to_file(recipe: Recipe, file_path: Option) -> anyhow None => generate_recipe_filename(&recipe.title, &recipe_library_dir), }; + if let Some(parent) = file_path_value.parent() { + fs::create_dir_all(parent)?; + } + let yaml_content = serde_yaml::to_string(&recipe)?; fs::write(&file_path_value, yaml_content)?; Ok(file_path_value) diff --git a/scripts/test_providers.sh b/scripts/test_providers.sh index e0b5d82a45f9..3844df01fed8 100755 --- a/scripts/test_providers.sh +++ b/scripts/test_providers.sh @@ -15,7 +15,7 @@ fi SCRIPT_DIR=$(pwd) PROVIDERS=( - "openrouter:anthropic/claude-sonnet-4.5:qwen/qwen3-coder" + "openrouter:meta-llama/llama-3-70b-instruct:anthropic/claude-sonnet-4.5:qwen/qwen3-coder" "openai:gpt-4o:gpt-4o-mini:gpt-3.5-turbo" "anthropic:claude-sonnet-4-5-20250929:claude-opus-4-1-20250805" "google:gemini-2.5-pro:gemini-2.5-pro:gemini-2.5-flash" From 3f2aed76b2b5f9b08c3723572859bcafa17dfb4e Mon Sep 17 00:00:00 2001 From: Douwe Osinga Date: Thu, 23 Oct 2025 12:59:29 -0400 Subject: [PATCH 2/3] Undo --- scripts/test_providers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_providers.sh b/scripts/test_providers.sh index 3844df01fed8..97a9219f0487 100755 --- a/scripts/test_providers.sh +++ b/scripts/test_providers.sh @@ -15,7 +15,7 @@ fi SCRIPT_DIR=$(pwd) PROVIDERS=( - "openrouter:meta-llama/llama-3-70b-instruct:anthropic/claude-sonnet-4.5:qwen/qwen3-coder" + "anthropic/claude-sonnet-4.5:qwen/qwen3-coder" "openai:gpt-4o:gpt-4o-mini:gpt-3.5-turbo" "anthropic:claude-sonnet-4-5-20250929:claude-opus-4-1-20250805" "google:gemini-2.5-pro:gemini-2.5-pro:gemini-2.5-flash" From d67612876981668497a98d4ee677f21c14425731 Mon Sep 17 00:00:00 2001 From: Douwe Osinga Date: Thu, 23 Oct 2025 13:20:07 -0400 Subject: [PATCH 3/3] undo --- scripts/test_providers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_providers.sh b/scripts/test_providers.sh index 97a9219f0487..e0b5d82a45f9 100755 --- a/scripts/test_providers.sh +++ b/scripts/test_providers.sh @@ -15,7 +15,7 @@ fi SCRIPT_DIR=$(pwd) PROVIDERS=( - "anthropic/claude-sonnet-4.5:qwen/qwen3-coder" + "openrouter:anthropic/claude-sonnet-4.5:qwen/qwen3-coder" "openai:gpt-4o:gpt-4o-mini:gpt-3.5-turbo" "anthropic:claude-sonnet-4-5-20250929:claude-opus-4-1-20250805" "google:gemini-2.5-pro:gemini-2.5-pro:gemini-2.5-flash"