Welcome to Portkey Forum

Updated 9 months ago

Example config with fallback strategy

This page lists an example. If someone uses it directly in config or UI editor when creating configs, they see errors.

The fix would be:
Plain Text
{
  "strategy": {
    "mode": "fallback"
  },
  "targets": [
    {
      "virtual_key": "openai-virtual-key"
    },
    {
      "virtual_key": "anthropic-virtual-key",
      "override_params": {
        "model": "claude-1"
      }
    }
  ]
}
`
Attachment
image.png
V
1 comment
Thank you for pointing this! Fixed
Add a reply
Sign up and join the conversation on Discord