enai","api_key":"Your OpenAI API key","weight": 0.7 },{"provider":"anthropic","api_key":"Your Anthropic API key","weight": 0.3,"override_params":{"model":"claude-3-opus-20240229"}}]}'

      # Use the config in completion requests
      curl ${location.origin}/v1/chat/completions \
      \n-H "Content-Type: application/json" \
      \n-H "x-portkey-config: $lb_config" \
      \n-d '{
        "model": "gpt-4o",
        "messages": [
          { "role": "user", "content": "Hello!" }
        ]
      }'`

     