Skip to content

Commit 3f487db

Browse files
feat: Implement FastAPI router system
1 parent e747839 commit 3f487db

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-c53a119bf22adab585059b5426b8e4a5d9582783bce071ad600c22ab0ebc6578.yml
3-
openapi_spec_hash: c55f186ff8688e7ccca399cc7b4a87a0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-418ccf3126ab086a66c822c60204b95ef3192ffa64340bd3a1537ae46b830892.yml
3+
openapi_spec_hash: 885b75e847506a930b709eb630535912
44
config_hash: 39578cfdeb4a10121f2cb3fa3e4d5e20

src/resources/batches.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,14 +529,29 @@ export namespace BatchCancelResponse {
529529
}
530530

531531
export interface BatchCreateParams {
532+
/**
533+
* The time window within which the batch should be processed.
534+
*/
532535
completion_window: '24h';
533536

537+
/**
538+
* The endpoint to be used for all requests in the batch.
539+
*/
534540
endpoint: string;
535541

542+
/**
543+
* The ID of an uploaded file containing requests for the batch.
544+
*/
536545
input_file_id: string;
537546

547+
/**
548+
* Optional idempotency key. When provided, enables idempotent behavior.
549+
*/
538550
idempotency_key?: string | null;
539551

552+
/**
553+
* Optional metadata for the batch.
554+
*/
540555
metadata?: { [key: string]: string } | null;
541556
}
542557

0 commit comments

Comments
 (0)