From b1aa415ddee981dc1278cd24f7509363b9c54a54 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Wed, 2 Apr 2025 16:55:33 -0600 Subject: [PATCH] fix(goose): always update the file --- mcontainer/drivers/goose/update-goose-config.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/mcontainer/drivers/goose/update-goose-config.py b/mcontainer/drivers/goose/update-goose-config.py index 7395fc2..5a7ccc3 100644 --- a/mcontainer/drivers/goose/update-goose-config.py +++ b/mcontainer/drivers/goose/update-goose-config.py @@ -103,12 +103,4 @@ def update_config(): if __name__ == "__main__": - mcp_count_str = os.environ.get("MCP_COUNT", "0") - mcp_count = int(mcp_count_str) - - if mcp_count > 0: - print("Updating Goose configuration with MCP servers...") - update_config() - print("Goose configuration updated successfully!") - else: - print("No MCP servers found, using default Goose configuration.") + update_config()