Skip to content

Commit 4564ccb

Browse files
fix(api): add thought signature
1 parent 8c11861 commit 4564ccb

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-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: 10
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/dedalus-labs%2Fdedalus-sdk-82e4c6e626deaf04751afb3b1839b94d69f82906c2b2faba3ddd093e234e8606.yml
3-
openapi_spec_hash: a86124a17daab9fbb87877dc8c4e2db7
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/dedalus-labs%2Fdedalus-sdk-b71302caf844b08fb78d395acad710e8c65b99b5fad4a5d5b9ae6227d69fbe19.yml
3+
openapi_spec_hash: 709f0ef9fc5715e20f6b92bd03fce622
44
config_hash: d3c873668ecaf594cf79b699a7a2d43a

src/resources/chat/completions.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ export namespace ChatCompletionAssistantMessageParam {
324324
* - id (required): str
325325
* - type (required): Literal["function"]
326326
* - function (required): ChatCompletionMessageToolCallFunction
327+
* - thought_signature (optional): str
327328
*/
328329
export interface ChatCompletionMessageToolCallInput {
329330
/**
@@ -340,6 +341,12 @@ export namespace ChatCompletionAssistantMessageParam {
340341
* The type of the tool. Currently, only `function` is supported.
341342
*/
342343
type: 'function';
344+
345+
/**
346+
* Opaque signature for thought continuity in multi-turn tool use (Google-specific,
347+
* base64 encoded)
348+
*/
349+
thought_signature?: string | null;
343350
}
344351

345352
/**
@@ -1410,6 +1417,7 @@ export interface ChatCompletionMessageCustomToolCall {
14101417
* - id (required): str
14111418
* - type (required): Literal["function"]
14121419
* - function (required): Function
1420+
* - thought_signature (optional): str
14131421
*/
14141422
export interface ChatCompletionMessageToolCall {
14151423
/**
@@ -1426,6 +1434,12 @@ export interface ChatCompletionMessageToolCall {
14261434
* The type of the tool. Currently, only `function` is supported.
14271435
*/
14281436
type: 'function';
1437+
1438+
/**
1439+
* Opaque signature for thought continuity in multi-turn tool use (Google-specific,
1440+
* base64 encoded)
1441+
*/
1442+
thought_signature?: string | null;
14291443
}
14301444

14311445
/**

0 commit comments

Comments
 (0)