-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Describe the bug
Our code to run goose headlessly using "bedrock" as the provider stopped working this week. We're getting the following error:
Downloading stable release: goose-x86_64-unknown-linux-gnu.tar.bz2...
Extracting goose-x86_64-unknown-linux-gnu.tar.bz2...
Moving goose to /home/runner/.local/bin/goose
Skipping 'goose configure', you may need to run this manually later
thread 'main' panicked at /home/runner/work/goose/goose/crates/goose-cli/src/session/builder.rs:32:64:
Failed to create provider: Unknown provider: bedrock
note: run withRUST_BACKTRACE=1environment variable to display a backtrace
To Reproduce
mkdir -p /home/runner/.local/bin
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false INSTALL_PATH=/home/runner/.local/bin bash
echo "/home/runner/.local/bin" >> $GITHUB_PATH
mkdir -p ~/.config/goose
cat <<EOF > ~/.config/goose/config.yaml
GOOSE_PROVIDER: bedrock
GOOSE_MODEL: us.anthropic.claude-3-7-sonnet-20250219-v1:0
keyring: false
extensions:
developer:
enabled: true
name: developer
type: builtin
EOF
echo "$ENHANCED_CONTENT" >> instructions.txt
goose run --instructions instructions.txt | \Expected behavior
goose runs using the config file and provider bedrock
Screenshots
If applicable, add screenshots to help explain your problem.
Please provide following information:
- OS & Arch: GitHub Action Runner 2.322.0
- Interface: CLI
- Version: latest via Curl download and install command
- Extensions enabled: developer
- Provider & Model: bedrock, us.anthropic.claude-3-7-sonnet-20250219-v1:0
Additional context
Running as part of CI/CD pipeline