Skip to content

Commit 99929ff

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.460.3 (#20)
Co-authored-by: speakeasybot <[email protected]>
1 parent f211310 commit 99929ff

30 files changed

+407
-252
lines changed

.speakeasy/gen.lock

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
lockVersion: 2.0.0
22
id: 2d5dbf5a-62be-411a-9c7b-bc7b6dc79e13
33
management:
4-
docChecksum: a690daf53c97c95bb6c912a2c59f804d
4+
docChecksum: 5162ce13f49e729b6efa20dd5cdf32be
55
docVersion: 0.0.0
6-
speakeasyVersion: 1.454.0
7-
generationVersion: 2.477.0
8-
releaseVersion: 0.8.0
9-
configChecksum: 404e2a546fe183c10067017df4896733
6+
speakeasyVersion: 1.460.3
7+
generationVersion: 2.484.0
8+
releaseVersion: 0.9.0
9+
configChecksum: 40760f888f8f869e4f9b83ad88469b3f
1010
repoURL: https://github.com/livepeer/livepeer-ai-python.git
1111
installationURL: https://github.com/livepeer/livepeer-ai-python.git
1212
published: true
1313
features:
1414
python:
1515
additionalDependencies: 1.0.0
1616
constsAndDefaults: 1.0.5
17-
core: 5.6.11
17+
core: 5.7.4
1818
defaultEnabledRetries: 0.2.0
1919
envVarSecurityUsage: 0.3.2
2020
globalSecurity: 3.0.2
2121
globalSecurityCallbacks: 1.0.0
2222
globalSecurityFlattening: 1.0.0
23-
globalServerURLs: 3.0.0
23+
globalServerURLs: 3.1.0
2424
multipartFileContentType: 1.0.0
25-
nameOverrides: 3.0.0
25+
nameOverrides: 3.0.1
2626
responseFormat: 1.0.1
2727
retries: 3.0.2
2828
sdkHooks: 1.0.0
@@ -43,7 +43,6 @@ generatedFiles:
4343
- docs/models/components/bodygenimagetotextimage.md
4444
- docs/models/components/bodygenimagetovideo.md
4545
- docs/models/components/bodygenimagetovideoimage.md
46-
- docs/models/components/bodygenllm.md
4746
- docs/models/components/bodygensegmentanything2.md
4847
- docs/models/components/bodygensegmentanything2image.md
4948
- docs/models/components/bodygenupscale.md
@@ -55,6 +54,8 @@ generatedFiles:
5554
- docs/models/components/imagetotextresponse.md
5655
- docs/models/components/livevideotovideoparams.md
5756
- docs/models/components/livevideotovideoresponse.md
57+
- docs/models/components/llmmessage.md
58+
- docs/models/components/llmrequest.md
5859
- docs/models/components/llmresponse.md
5960
- docs/models/components/loc.md
6061
- docs/models/components/masksresponse.md
@@ -103,7 +104,6 @@ generatedFiles:
103104
- src/livepeer_ai/models/components/body_genimagetoimage.py
104105
- src/livepeer_ai/models/components/body_genimagetotext.py
105106
- src/livepeer_ai/models/components/body_genimagetovideo.py
106-
- src/livepeer_ai/models/components/body_genllm.py
107107
- src/livepeer_ai/models/components/body_gensegmentanything2.py
108108
- src/livepeer_ai/models/components/body_genupscale.py
109109
- src/livepeer_ai/models/components/chunk.py
@@ -112,6 +112,8 @@ generatedFiles:
112112
- src/livepeer_ai/models/components/imagetotextresponse.py
113113
- src/livepeer_ai/models/components/livevideotovideoparams.py
114114
- src/livepeer_ai/models/components/livevideotovideoresponse.py
115+
- src/livepeer_ai/models/components/llmmessage.py
116+
- src/livepeer_ai/models/components/llmrequest.py
115117
- src/livepeer_ai/models/components/llmresponse.py
116118
- src/livepeer_ai/models/components/masksresponse.py
117119
- src/livepeer_ai/models/components/media.py
@@ -167,7 +169,8 @@ examples:
167169
application/json: {"images": []}
168170
"400":
169171
application/json: {"detail": {"msg": "<value>"}}
170-
"422": {}
172+
"422":
173+
application/json: {}
171174
genImageToImage:
172175
speakeasy-default-gen-image-to-image:
173176
requestBody:
@@ -177,7 +180,8 @@ examples:
177180
application/json: {"images": []}
178181
"400":
179182
application/json: {"detail": {"msg": "<value>"}}
180-
"422": {}
183+
"422":
184+
application/json: {}
181185
genImageToVideo:
182186
speakeasy-default-gen-image-to-video:
183187
requestBody:
@@ -187,7 +191,8 @@ examples:
187191
application/json: {"images": []}
188192
"400":
189193
application/json: {"detail": {"msg": "<value>"}}
190-
"422": {}
194+
"422":
195+
application/json: {}
191196
genUpscale:
192197
speakeasy-default-gen-upscale:
193198
requestBody:
@@ -197,7 +202,8 @@ examples:
197202
application/json: {"images": []}
198203
"400":
199204
application/json: {"detail": {"msg": "<value>"}}
200-
"422": {}
205+
"422":
206+
application/json: {}
201207
genAudioToText:
202208
speakeasy-default-gen-audio-to-text:
203209
requestBody:
@@ -207,7 +213,8 @@ examples:
207213
application/json: {"text": "<value>", "chunks": []}
208214
"400":
209215
application/json: {"detail": {"msg": "<value>"}}
210-
"422": {}
216+
"422":
217+
application/json: {}
211218
genSegmentAnything2:
212219
speakeasy-default-gen-segment-anything2:
213220
requestBody:
@@ -217,17 +224,20 @@ examples:
217224
application/json: {"masks": "<value>", "scores": "<value>", "logits": "<value>"}
218225
"400":
219226
application/json: {"detail": {"msg": "<value>"}}
220-
"422": {}
227+
"422":
228+
application/json: {}
221229
genLLM:
222230
speakeasy-default-gen-LLM:
223231
requestBody:
224232
application/x-www-form-urlencoded: {"prompt": "<value>"}
233+
application/json: {"messages": []}
225234
responses:
226235
"200":
227-
application/json: {"response": "<value>", "tokens_used": 60712}
236+
application/json: {"response": "<value>", "tokens_used": 60712, "id": "<id>", "model": "Expedition", "created": 755586}
228237
"400":
229238
application/json: {"detail": {"msg": "<value>"}}
230-
"422": {}
239+
"422":
240+
application/json: {}
231241
genImageToText:
232242
speakeasy-default-gen-image-to-text:
233243
requestBody:
@@ -237,7 +247,8 @@ examples:
237247
application/json: {"text": "<value>"}
238248
"400":
239249
application/json: {"detail": {"msg": "<value>"}}
240-
"422": {}
250+
"422":
251+
application/json: {}
241252
genLiveVideoToVideo:
242253
speakeasy-default-gen-live-video-to-video:
243254
requestBody:
@@ -247,13 +258,15 @@ examples:
247258
application/json: {"subscribe_url": "https://vain-kiss.name", "publish_url": "https://frail-duffel.com"}
248259
"400":
249260
application/json: {"detail": {"msg": "<value>"}}
250-
"422": {}
261+
"422":
262+
application/json: {}
251263
genTextToSpeech:
252264
speakeasy-default-gen-text-to-speech:
253265
responses:
254266
"200":
255267
application/json: {"audio": {"url": "https://accurate-parsnip.net/"}}
256268
"400":
257269
application/json: {"detail": {"msg": "<value>"}}
258-
"422": {}
270+
"422":
271+
application/json: {}
259272
generatedTests: {}

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: true
1414
oAuth2PasswordEnabled: false
1515
python:
16-
version: 0.8.0
16+
version: 0.9.0
1717
additionalDependencies:
1818
dev: {}
1919
main: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.454.0
1+
speakeasyVersion: 1.460.3
22
sources:
33
livepeer_ai-OAS:
44
sourceNamespace: livepeer-ai-oas
5-
sourceRevisionDigest: sha256:5576a967f5fc90918cde4ed9f62630a777c3693dcc4b7801ed595dd7d64b6ed8
6-
sourceBlobDigest: sha256:96965175cd37993dd71c66039301a689b5a65b4068d704a3f31b91666c0df03b
5+
sourceRevisionDigest: sha256:bfa0844cf9b7f6b2be182a8a8e3f5d074965a7216fbed68ab570f6e3b58587d5
6+
sourceBlobDigest: sha256:3d8f629c40a46ffe8c1284434daf4e7dded2357d015c6f89f0e8ed8179c96d28
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1732061831
9+
- speakeasy-sdk-regen-1735258605
1010
- 0.0.0
1111
targets:
1212
livepeer-ai:
@@ -17,10 +17,10 @@ targets:
1717
livepeer-ai-python:
1818
source: livepeer_ai-OAS
1919
sourceNamespace: livepeer-ai-oas
20-
sourceRevisionDigest: sha256:5576a967f5fc90918cde4ed9f62630a777c3693dcc4b7801ed595dd7d64b6ed8
21-
sourceBlobDigest: sha256:96965175cd37993dd71c66039301a689b5a65b4068d704a3f31b91666c0df03b
20+
sourceRevisionDigest: sha256:bfa0844cf9b7f6b2be182a8a8e3f5d074965a7216fbed68ab570f6e3b58587d5
21+
sourceBlobDigest: sha256:3d8f629c40a46ffe8c1284434daf4e7dded2357d015c6f89f0e8ed8179c96d28
2222
codeSamplesNamespace: code-samples-python-livepeer-python
23-
codeSamplesRevisionDigest: sha256:9b2d5f4af79f063e244429955ad927a2efd670b5f9a114608eda2aec86c188ed
23+
codeSamplesRevisionDigest: sha256:40ac599a7c83a23f422adee00f2427e8125723499dc86eb82b70ce7554adb481
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ with Livepeer(
5858
"prompt": "<value>",
5959
})
6060

61-
if res.image_response is not None:
62-
# handle response
63-
pass
61+
assert res.image_response is not None
62+
63+
# Handle response
64+
print(res.image_response)
6465
```
6566

6667
</br>
@@ -80,9 +81,10 @@ async def main():
8081
"prompt": "<value>",
8182
})
8283

83-
if res.image_response is not None:
84-
# handle response
85-
pass
84+
assert res.image_response is not None
85+
86+
# Handle response
87+
print(res.image_response)
8688

8789
asyncio.run(main())
8890
```
@@ -136,9 +138,10 @@ with Livepeer(
136138
},
137139
})
138140

139-
if res.image_response is not None:
140-
# handle response
141-
pass
141+
assert res.image_response is not None
142+
143+
# Handle response
144+
print(res.image_response)
142145

143146
```
144147
<!-- End File uploads [file-upload] -->
@@ -162,9 +165,10 @@ with Livepeer(
162165
},
163166
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
164167

165-
if res.image_response is not None:
166-
# handle response
167-
pass
168+
assert res.image_response is not None
169+
170+
# Handle response
171+
print(res.image_response)
168172

169173
```
170174

@@ -182,9 +186,10 @@ with Livepeer(
182186
"prompt": "<value>",
183187
})
184188

185-
if res.image_response is not None:
186-
# handle response
187-
pass
189+
assert res.image_response is not None
190+
191+
# Handle response
192+
print(res.image_response)
188193

189194
```
190195
<!-- End Retries [retries] -->
@@ -227,9 +232,10 @@ with Livepeer(
227232
"prompt": "<value>",
228233
})
229234

230-
if res.image_response is not None:
231-
# handle response
232-
pass
235+
assert res.image_response is not None
236+
237+
# Handle response
238+
print(res.image_response)
233239

234240
except errors.HTTPError as e:
235241
# handle e.data: errors.HTTPErrorData
@@ -269,9 +275,10 @@ with Livepeer(
269275
"prompt": "<value>",
270276
})
271277

272-
if res.image_response is not None:
273-
# handle response
274-
pass
278+
assert res.image_response is not None
279+
280+
# Handle response
281+
print(res.image_response)
275282

276283
```
277284

@@ -290,9 +297,10 @@ with Livepeer(
290297
"prompt": "<value>",
291298
})
292299

293-
if res.image_response is not None:
294-
# handle response
295-
pass
300+
assert res.image_response is not None
301+
302+
# Handle response
303+
print(res.image_response)
296304

297305
```
298306
<!-- End Server Selection [server] -->
@@ -401,9 +409,10 @@ with Livepeer(
401409
"prompt": "<value>",
402410
})
403411

404-
if res.image_response is not None:
405-
# handle response
406-
pass
412+
assert res.image_response is not None
413+
414+
# Handle response
415+
print(res.image_response)
407416

408417
```
409418
<!-- End Authentication [security] -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,14 @@ Based on:
118118
### Generated
119119
- [python v0.8.0] .
120120
### Releases
121-
- [PyPI v0.8.0] https://pypi.org/project/livepeer-ai/0.8.0 - .
121+
- [PyPI v0.8.0] https://pypi.org/project/livepeer-ai/0.8.0 - .
122+
123+
## 2024-12-31 00:16:39
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc
127+
- Speakeasy CLI 1.460.3 (2.484.0) https://github.com/speakeasy-api/speakeasy
128+
### Generated
129+
- [python v0.9.0] .
130+
### Releases
131+
- [PyPI v0.9.0] https://pypi.org/project/livepeer-ai/0.9.0 - .

USAGE.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ with Livepeer(
1111
"prompt": "<value>",
1212
})
1313

14-
if res.image_response is not None:
15-
# handle response
16-
pass
14+
assert res.image_response is not None
15+
16+
# Handle response
17+
print(res.image_response)
1718
```
1819

1920
</br>
@@ -33,9 +34,10 @@ async def main():
3334
"prompt": "<value>",
3435
})
3536

36-
if res.image_response is not None:
37-
# handle response
38-
pass
37+
assert res.image_response is not None
38+
39+
# Handle response
40+
print(res.image_response)
3941

4042
asyncio.run(main())
4143
```

0 commit comments

Comments
 (0)