Skip to content

Commit 61a9e99

Browse files
feat(api): api update
1 parent b5bce39 commit 61a9e99

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
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: 17
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-4543b558a0a546fc45d3300535b9b535f9cf251f4284bc255d3bc337727e5a50.yml
3-
openapi_spec_hash: 09235cb11f84f84a07819c2b3f0a6d6a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-5e252fe47b07065677cacccc37e7c481164400596c65a11e8d2b0c474587d4ea.yml
3+
openapi_spec_hash: 2193160ecbc3670a87a83af8f47550ae
44
config_hash: 6b1c374dcc1ffa3165dd22f52a77ff89

src/resources/chat/completions.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,9 +1409,10 @@ export namespace ChatCompletionTokenLogprob {
14091409

14101410
export interface ChatCompletionTool {
14111411
/**
1412-
* The type of the tool. Currently, only `function` is supported.
1412+
* The type of the tool. `function`, `browser_search`, and `code_interpreter` are
1413+
* supported.
14131414
*/
1414-
type: 'function' | 'browser_search' | 'code_interpreter';
1415+
type: 'function' | 'browser_search' | 'code_interpreter' | (string & {});
14151416

14161417
function?: Shared.FunctionDefinition;
14171418
}

0 commit comments

Comments
 (0)