Commit Graph

25 Commits

Author SHA1 Message Date
stainless-app[bot]
9da4adf788 chore(internal): support default value struct tag 2026-03-25 11:28:07 +00:00
stainless-app[bot]
c8225d14bc feat(api): add /v1/videos endpoint option to batch 2026-03-14 01:19:13 +00:00
stainless-app[bot]
eb0e5cbc50 chore(internal): codegen related update 2026-03-10 18:59:05 +00:00
stainless-app[bot]
856fb9fc50 chore(internal): codegen related update 2026-03-03 02:19:14 +00:00
stainless-app[bot]
0261507d39 chore(internal): move custom custom json tags to api 2026-02-24 17:13:14 +00:00
stainless-app[bot]
781e0ef69b feat(api): support for images in batch api 2026-02-10 18:51:07 +00:00
stainless-app[bot]
a919ae534b feat(api): gpt 5.1 2025-11-13 18:10:32 +00:00
stainless-app[bot]
433a3e1668 chore(internal): version bump 2025-09-30 17:29:54 +00:00
stainless-app[bot]
02f1d43120 feat(api): Support images and files for function call outputs in responses, BatchUsage
This release introduces a major version change to reflect a breaking modification in the `ResponseFunctionToolCallOutputItem` and `ResponseCustomToolCallOutput` schemas. Specifically, the `output` field, which previously accepted only a `string` value, has been expanded to support multiple structured types:

```
Before:  output: string
After:   output: string | Array<ResponseInputText | ResponseInputImage | ResponseInputFile>
```

This change allows custom tool calls to return images, files, and rich text content in addition to plain strings, aligning `ResponseCustomToolCallOutput` with the broader `ResponseInput` type system. Because this alters the type and shape of the field, it may break existing callsites that only accept strings.

BREAKING CHANGE: `ResponseFunctionToolCallOutputItem.output` and `ResponseCustomToolCallOutput.output` now return `string | Array<ResponseInputText | ResponseInputImage | ResponseInputFile>` instead of `string` only. This may break existing callsites that assume `output` is always a string.
2025-09-30 07:36:37 +00:00
stainless-app[bot]
993a8a2f71 fix: use slices.Concat instead of sometimes modifying r.Options 2025-09-19 17:35:22 +00:00
stainless-app[bot]
0349232cb9 feat(api): add new text parameters, expiration options 2025-08-15 19:11:31 +00:00
stainless-app[bot]
10bbf5a7a6 chore(internal): version bump 2025-08-07 20:49:11 +00:00
stainless-app[bot]
fbe05454a6 feat(client): experimental support for unmarshalling into param structs 2025-05-06 23:11:49 +00:00
stainless-app[bot]
8e3f32c8fa feat(client)!: rename resp package 2025-05-05 19:33:45 +00:00
stainless-app[bot]
e19750bf6c fix(client)!: improve core function names 2025-05-03 03:31:13 +00:00
stainless-app[bot]
cacfc0511b feat(client)!: improve param subunions & deduplicate types 2025-04-15 19:02:38 +00:00
stainless-app[bot]
09312ab0b7 feat(client): support unions in query and forms (#347) 2025-04-03 22:13:20 +00:00
stainless-app[bot]
01e87e46a4 feat(api)!: migrate to v2 2025-03-20 16:39:58 -04:00
stainless-app[bot]
79af13922f fix(api): correct some Responses types (#295) 2025-03-18 17:53:39 +00:00
stainless-app[bot]
91692924ac feat(api): add o3-mini (#195)
fix(types): correct metadata type + other fixes
2025-01-31 19:02:56 +00:00
stainless-app[bot]
9ed67cfefa feat(api): add gpt-4o-2024-11-20 model (#131) 2024-11-20 18:17:55 +00:00
stainless-app[bot]
757a9304a5 feat: move pagination package from internal to packages (#81) 2024-10-15 20:03:37 +00:00
stainless-app[bot]
610557b20d chore(docs): fix maxium typo (#69) 2024-09-30 14:52:13 +00:00
stainless-app[bot]
c126ef90e7 feat(api): updates (#5)
- This commit removes the `AssistantResponseFormat` type
2024-08-06 17:30:00 +00:00
Stainless Bot
c329601324 feat: publish 2024-08-01 00:02:01 +00:00