Troubleshooting

Resolve common issues in Sonny.

Missing Credential

Error

Error: Missing credential for provider 'openai'.

Fix

Add the credential:

sonny credentials add --provider openai --key "your-api-key"

Unknown Provider

Error

Error: Unknown provider 'xyz'.

Fix

Check the provider name and use a supported one:

  • openai
  • anthropic
  • ollama

Invalid Recipe Manifest

Error

Error: Invalid manifest.yaml: missing 'name' field.

Fix

Ensure the manifest includes all required fields:

name: "example-pack"
version: "1.0.0"
description: "A minimal example pack."