File tree Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 17
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-e50d4c9f3280c8aff14e4e4447f82f940d572399c36bcf9f3abf7235200955b3 .yml
3
- openapi_spec_hash : f7ca0a8bb40cb5c7dacaae4f3ad847d3
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-a2ddf0c5cb796758690f28d02fef6ae46d2eab3fdc3e2d2cf99ef2b75cca4022 .yml
3
+ openapi_spec_hash : 0f3cd640ddd5f1f4e8ea20b9cfd86025
4
4
config_hash : 6b1c374dcc1ffa3165dd22f52a77ff89
Original file line number Diff line number Diff line change @@ -332,6 +332,11 @@ export namespace ChatCompletionChunk {
332
332
*/
333
333
type : string ;
334
334
335
+ /**
336
+ * Array of code execution results
337
+ */
338
+ code_results ?: Array < ExecutedTool . CodeResult > ;
339
+
335
340
/**
336
341
* The output returned by the tool.
337
342
*/
@@ -344,6 +349,18 @@ export namespace ChatCompletionChunk {
344
349
}
345
350
346
351
export namespace ExecutedTool {
352
+ export interface CodeResult {
353
+ /**
354
+ * Base64 encoded PNG image output from code execution
355
+ */
356
+ png ?: string ;
357
+
358
+ /**
359
+ * The text version of the code execution result
360
+ */
361
+ text ?: string ;
362
+ }
363
+
347
364
/**
348
365
* The search results returned by the tool, if applicable.
349
366
*/
@@ -623,6 +640,11 @@ export namespace ChatCompletionMessage {
623
640
*/
624
641
type : string ;
625
642
643
+ /**
644
+ * Array of code execution results
645
+ */
646
+ code_results ?: Array < ExecutedTool . CodeResult > ;
647
+
626
648
/**
627
649
* The output returned by the tool.
628
650
*/
@@ -635,6 +657,18 @@ export namespace ChatCompletionMessage {
635
657
}
636
658
637
659
export namespace ExecutedTool {
660
+ export interface CodeResult {
661
+ /**
662
+ * Base64 encoded PNG image output from code execution
663
+ */
664
+ png ?: string ;
665
+
666
+ /**
667
+ * The text version of the code execution result
668
+ */
669
+ text ?: string ;
670
+ }
671
+
638
672
/**
639
673
* The search results returned by the tool, if applicable.
640
674
*/
You can’t perform that action at this time.
0 commit comments