File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/gradient/resources/images Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 174
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fgradient-3364ccdab713948eb06e9f77fb3b2046d0627ac2c18d389ef60d91bdfbeb2dd7 .yml
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fgradient-3c4f564a80bb85ffc7e12ef4645c48a750ec0aba973975c170a9eb263c203c5e .yml
33openapi_spec_hash : 83a3d092965fde776b29b61f785459f9
4- config_hash : 7c196228f92c7538035b0688dce459f6
4+ config_hash : 9014a0ec1e08e776f0b3f12f4412b516
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ def create(
122122 return self ._post (
123123 "/images/generations"
124124 if self ._client ._base_url_overridden
125- else "https://inference.do-ai.run/v1 /images/generations" ,
125+ else f" { self . _client . inference_endpoint } /images/generations" ,
126126 body = maybe_transform (
127127 {
128128 "prompt" : prompt ,
@@ -246,7 +246,7 @@ async def create(
246246 return await self ._post (
247247 "/images/generations"
248248 if self ._client ._base_url_overridden
249- else "https://inference.do-ai.run/v1 /images/generations" ,
249+ else f" { self . _client . inference_endpoint } /images/generations" ,
250250 body = await async_maybe_transform (
251251 {
252252 "prompt" : prompt ,
You can’t perform that action at this time.
0 commit comments