Skip to content

Commit 83ae56a

Browse files
feat(devbox): added stdin streaming endpoint
1 parent a198632 commit 83ae56a

42 files changed

Lines changed: 198 additions & 75 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 97
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-f2df3524e4b99c38b634c334d098aa2c7d543d5ea0f49c4dd8f4d92723b81b94.yml
3-
openapi_spec_hash: c377abec5716d1d6c5b01a527a5bfdfb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-370a5d676ff0ef41f3ca6ed669d29b6e3e6b7f0a914ac3dbed6bd45e75533c74.yml
3+
openapi_spec_hash: 7bb5ea1117d754b7985aff0da5bca3a7
44
config_hash: 2363f563f42501d2b1587a4f64bdccaf

src/runloop_api_client/resources/agents.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def create(
4949
self,
5050
*,
5151
name: str,
52+
version: str,
5253
source: Optional[AgentSource] | Omit = omit,
5354
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5455
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -66,6 +67,8 @@ def create(
6667
Args:
6768
name: The name of the Agent.
6869
70+
version: The version of the Agent. Must be a semver string (e.g., '2.0.65') or a SHA.
71+
6972
source: The source configuration for the Agent.
7073
7174
extra_headers: Send extra headers
@@ -83,6 +86,7 @@ def create(
8386
body=maybe_transform(
8487
{
8588
"name": name,
89+
"version": version,
8690
"source": source,
8791
},
8892
agent_create_params.AgentCreateParams,
@@ -138,6 +142,7 @@ def list(
138142
name: str | Omit = omit,
139143
search: str | Omit = omit,
140144
starting_after: str | Omit = omit,
145+
version: str | Omit = omit,
141146
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
142147
# The extra values given here take precedence over values defined on the client or passed to this method.
143148
extra_headers: Headers | None = None,
@@ -151,14 +156,16 @@ def list(
151156
Args:
152157
is_public: Filter agents by public visibility.
153158
154-
limit: The limit of items to return. Default is 20.
159+
limit: The limit of items to return. Default is 20. Max is 5000.
155160
156161
name: Filter agents by name (partial match supported).
157162
158163
search: Search by agent ID or name.
159164
160165
starting_after: Load the next page of data starting after the item with the given ID.
161166
167+
version: Filter by version. Use 'latest' to get the most recently created agent.
168+
162169
extra_headers: Send extra headers
163170
164171
extra_query: Add additional query parameters to the request
@@ -182,6 +189,7 @@ def list(
182189
"name": name,
183190
"search": search,
184191
"starting_after": starting_after,
192+
"version": version,
185193
},
186194
agent_list_params.AgentListParams,
187195
),
@@ -214,6 +222,7 @@ async def create(
214222
self,
215223
*,
216224
name: str,
225+
version: str,
217226
source: Optional[AgentSource] | Omit = omit,
218227
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
219228
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -231,6 +240,8 @@ async def create(
231240
Args:
232241
name: The name of the Agent.
233242
243+
version: The version of the Agent. Must be a semver string (e.g., '2.0.65') or a SHA.
244+
234245
source: The source configuration for the Agent.
235246
236247
extra_headers: Send extra headers
@@ -248,6 +259,7 @@ async def create(
248259
body=await async_maybe_transform(
249260
{
250261
"name": name,
262+
"version": version,
251263
"source": source,
252264
},
253265
agent_create_params.AgentCreateParams,
@@ -303,6 +315,7 @@ def list(
303315
name: str | Omit = omit,
304316
search: str | Omit = omit,
305317
starting_after: str | Omit = omit,
318+
version: str | Omit = omit,
306319
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
307320
# The extra values given here take precedence over values defined on the client or passed to this method.
308321
extra_headers: Headers | None = None,
@@ -316,14 +329,16 @@ def list(
316329
Args:
317330
is_public: Filter agents by public visibility.
318331
319-
limit: The limit of items to return. Default is 20.
332+
limit: The limit of items to return. Default is 20. Max is 5000.
320333
321334
name: Filter agents by name (partial match supported).
322335
323336
search: Search by agent ID or name.
324337
325338
starting_after: Load the next page of data starting after the item with the given ID.
326339
340+
version: Filter by version. Use 'latest' to get the most recently created agent.
341+
327342
extra_headers: Send extra headers
328343
329344
extra_query: Add additional query parameters to the request
@@ -347,6 +362,7 @@ def list(
347362
"name": name,
348363
"search": search,
349364
"starting_after": starting_after,
365+
"version": version,
350366
},
351367
agent_list_params.AgentListParams,
352368
),

src/runloop_api_client/resources/benchmarks/benchmarks.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ def list(
252252
self,
253253
*,
254254
limit: int | Omit = omit,
255+
name: str | Omit = omit,
255256
starting_after: str | Omit = omit,
256257
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
257258
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -264,7 +265,9 @@ def list(
264265
List all Benchmarks matching filter.
265266
266267
Args:
267-
limit: The limit of items to return. Default is 20.
268+
limit: The limit of items to return. Default is 20. Max is 5000.
269+
270+
name: Filter by name
268271
269272
starting_after: Load the next page of data starting after the item with the given ID.
270273
@@ -287,6 +290,7 @@ def list(
287290
query=maybe_transform(
288291
{
289292
"limit": limit,
293+
"name": name,
290294
"starting_after": starting_after,
291295
},
292296
benchmark_list_params.BenchmarkListParams,
@@ -312,7 +316,7 @@ def definitions(
312316
Get scenario definitions for a previously created Benchmark.
313317
314318
Args:
315-
limit: The limit of items to return. Default is 20.
319+
limit: The limit of items to return. Default is 20. Max is 5000.
316320
317321
starting_after: Load the next page of data starting after the item with the given ID.
318322
@@ -360,7 +364,7 @@ def list_public(
360364
List all public benchmarks matching filter.
361365
362366
Args:
363-
limit: The limit of items to return. Default is 20.
367+
limit: The limit of items to return. Default is 20. Max is 5000.
364368
365369
starting_after: Load the next page of data starting after the item with the given ID.
366370
@@ -660,6 +664,7 @@ def list(
660664
self,
661665
*,
662666
limit: int | Omit = omit,
667+
name: str | Omit = omit,
663668
starting_after: str | Omit = omit,
664669
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
665670
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -672,7 +677,9 @@ def list(
672677
List all Benchmarks matching filter.
673678
674679
Args:
675-
limit: The limit of items to return. Default is 20.
680+
limit: The limit of items to return. Default is 20. Max is 5000.
681+
682+
name: Filter by name
676683
677684
starting_after: Load the next page of data starting after the item with the given ID.
678685
@@ -695,6 +702,7 @@ def list(
695702
query=maybe_transform(
696703
{
697704
"limit": limit,
705+
"name": name,
698706
"starting_after": starting_after,
699707
},
700708
benchmark_list_params.BenchmarkListParams,
@@ -720,7 +728,7 @@ async def definitions(
720728
Get scenario definitions for a previously created Benchmark.
721729
722730
Args:
723-
limit: The limit of items to return. Default is 20.
731+
limit: The limit of items to return. Default is 20. Max is 5000.
724732
725733
starting_after: Load the next page of data starting after the item with the given ID.
726734
@@ -768,7 +776,7 @@ def list_public(
768776
List all public benchmarks matching filter.
769777
770778
Args:
771-
limit: The limit of items to return. Default is 20.
779+
limit: The limit of items to return. Default is 20. Max is 5000.
772780
773781
starting_after: Load the next page of data starting after the item with the given ID.
774782

src/runloop_api_client/resources/benchmarks/runs.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def list(
8383
*,
8484
benchmark_id: str | Omit = omit,
8585
limit: int | Omit = omit,
86+
name: str | Omit = omit,
8687
starting_after: str | Omit = omit,
8788
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
8889
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -97,7 +98,9 @@ def list(
9798
Args:
9899
benchmark_id: The Benchmark ID to filter by.
99100
100-
limit: The limit of items to return. Default is 20.
101+
limit: The limit of items to return. Default is 20. Max is 5000.
102+
103+
name: Filter by name
101104
102105
starting_after: Load the next page of data starting after the item with the given ID.
103106
@@ -121,6 +124,7 @@ def list(
121124
{
122125
"benchmark_id": benchmark_id,
123126
"limit": limit,
127+
"name": name,
124128
"starting_after": starting_after,
125129
},
126130
run_list_params.RunListParams,
@@ -227,7 +231,7 @@ def list_scenario_runs(
227231
List started scenario runs for a benchmark run.
228232
229233
Args:
230-
limit: The limit of items to return. Default is 20.
234+
limit: The limit of items to return. Default is 20. Max is 5000.
231235
232236
starting_after: Load the next page of data starting after the item with the given ID.
233237
@@ -322,6 +326,7 @@ def list(
322326
*,
323327
benchmark_id: str | Omit = omit,
324328
limit: int | Omit = omit,
329+
name: str | Omit = omit,
325330
starting_after: str | Omit = omit,
326331
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
327332
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -336,7 +341,9 @@ def list(
336341
Args:
337342
benchmark_id: The Benchmark ID to filter by.
338343
339-
limit: The limit of items to return. Default is 20.
344+
limit: The limit of items to return. Default is 20. Max is 5000.
345+
346+
name: Filter by name
340347
341348
starting_after: Load the next page of data starting after the item with the given ID.
342349
@@ -360,6 +367,7 @@ def list(
360367
{
361368
"benchmark_id": benchmark_id,
362369
"limit": limit,
370+
"name": name,
363371
"starting_after": starting_after,
364372
},
365373
run_list_params.RunListParams,
@@ -466,7 +474,7 @@ def list_scenario_runs(
466474
List started scenario runs for a benchmark run.
467475
468476
Args:
469-
limit: The limit of items to return. Default is 20.
477+
limit: The limit of items to return. Default is 20. Max is 5000.
470478
471479
starting_after: Load the next page of data starting after the item with the given ID.
472480

0 commit comments

Comments
 (0)