You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'"Could not resolve authentication method. Expected api_key, agent_key, or inference_key to be set. Or for the `Authorization` headers to be explicitly omitted"'
256
+
'"Could not resolve authentication method. Expected access_token, agent_access_key, or model_access_key to be set. Or for the `Authorization` headers to be explicitly omitted"'
257
257
)
258
258
259
259
defcopy(
@@ -397,9 +397,9 @@ def __init__(
397
397
"""Construct a new async AsyncGradient client instance.
398
398
399
399
This automatically infers the following arguments from their corresponding environment variables if they are not provided:
400
-
- `api_key` from `DIGITALOCEAN_ACCESS_TOKEN`
401
-
- `inference_key` from `GRADIENT_MODEL_ACCESS_KEY`
402
-
- `agent_key` from `GRADIENT_AGENT_ACCESS_KEY`
400
+
- `access_token` from `DIGITALOCEAN_ACCESS_TOKEN`
401
+
- `model_access_key` from `GRADIENT_MODEL_ACCESS_KEY`
402
+
- `agent_access_key` from `GRADIENT_AGENT_ACCESS_KEY`
'"Could not resolve authentication method. Expected api_key, agent_key, or inference_key to be set. Or for the `Authorization` headers to be explicitly omitted"'
548
+
'"Could not resolve authentication method. Expected access_token, agent_access_key, or model_access_key to be set. Or for the `Authorization` headers to be explicitly omitted"'
0 commit comments