Skip to content

Commit 577a54c

Browse files
feat(api): add defer_loading field to NamespaceTool
1 parent 6de3617 commit 577a54c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-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: 151
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-bb3e130670aa251441ebf4857acd20c836da88350785a91be9d9af4a4ca25e98.yml
3-
openapi_spec_hash: 45b78734bc16e9658175ca758c608a1e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-2ab0731e8c94b7c783b55939d2d2a46c2594c1da2ec444c543e17a9eea6d9164.yml
3+
openapi_spec_hash: 5557d4cd48565e8b98dfcb96a5804965
44
config_hash: 1cb55f2105c291f6f4721d06655d40f0

src/resources/responses/responses.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,11 @@ export namespace NamespaceTool {
898898

899899
type: 'function';
900900

901+
/**
902+
* Whether this function should be deferred and discovered via tool search.
903+
*/
904+
defer_loading?: boolean;
905+
901906
description?: string | null;
902907

903908
parameters?: unknown | null;

0 commit comments

Comments
 (0)