File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 67
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fgradientai-e40feaac59c85aace6aa42d2749b20e0955dbbae58b06c3a650bc03adafcd7b5.yml
33openapi_spec_hash : 825c1a4816938e9f594b7a8c06692667
4- config_hash : dd2b5f3f77ea08c6062115a56c3367ee
4+ config_hash : a1224bdbf22a97483c0e2d813b24423c
Original file line number Diff line number Diff line change @@ -86,14 +86,14 @@ def __init__(
8686
8787 This automatically infers the following arguments from their corresponding environment variables if they are not provided:
8888 - `api_key` from `GRADIENTAI_API_KEY`
89- - `inference_key` from `GRADIENTAI_API_KEY `
89+ - `inference_key` from `GRADIENTAI_INFERENCE_KEY `
9090 """
9191 if api_key is None :
9292 api_key = os .environ .get ("GRADIENTAI_API_KEY" )
9393 self .api_key = api_key
9494
9595 if inference_key is None :
96- inference_key = os .environ .get ("GRADIENTAI_API_KEY " )
96+ inference_key = os .environ .get ("GRADIENTAI_INFERENCE_KEY " )
9797 self .inference_key = inference_key
9898
9999 if base_url is None :
@@ -318,14 +318,14 @@ def __init__(
318318
319319 This automatically infers the following arguments from their corresponding environment variables if they are not provided:
320320 - `api_key` from `GRADIENTAI_API_KEY`
321- - `inference_key` from `GRADIENTAI_API_KEY `
321+ - `inference_key` from `GRADIENTAI_INFERENCE_KEY `
322322 """
323323 if api_key is None :
324324 api_key = os .environ .get ("GRADIENTAI_API_KEY" )
325325 self .api_key = api_key
326326
327327 if inference_key is None :
328- inference_key = os .environ .get ("GRADIENTAI_API_KEY " )
328+ inference_key = os .environ .get ("GRADIENTAI_INFERENCE_KEY " )
329329 self .inference_key = inference_key
330330
331331 if base_url is None :
You can’t perform that action at this time.
0 commit comments