25 Commits

Author SHA1 Message Date
stainless-app[bot]
cacbc36ab6 chore(internal): support default value struct tag 2026-03-25 22:08:50 +00:00
stainless-app[bot]
7b2d67e3d6 feat(api): add /v1/videos endpoint option to batch 2026-03-14 01:19:15 +00:00
stainless-app[bot]
1748c114b2 chore(internal): codegen related update 2026-03-10 18:59:07 +00:00
stainless-app[bot]
0d0d8db2fa chore(internal): codegen related update 2026-03-05 18:12:45 +00:00
stainless-app[bot]
a77ba028f7 chore(internal): move custom custom json tags to api 2026-02-24 19:54:35 +00:00
stainless-app[bot]
8b3f9f4694 feat(api): support for images in batch api 2026-02-10 19:01:55 +00:00
stainless-app[bot]
d5cc8ab31a feat(api): gpt 5.1 2025-12-01 21:18:30 +00:00
stainless-app[bot]
13778d44fe release: 3.0.0 2025-09-30 16:35:20 +00:00
stainless-app[bot]
21901ef84e 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 16:34:31 +00:00
stainless-app[bot]
abfe226af0 fix: use slices.Concat instead of sometimes modifying r.Options 2025-09-22 23:48:05 +00:00
stainless-app[bot]
323154ccec feat(api): add new text parameters, expiration options 2025-08-15 19:11:33 +00:00
stainless-app[bot]
77c994b843 release: 2.0.0 (#466)
* feat(api): manual updates

* feat(client): support optional json html escaping

* feat(api): adds GPT-5 and new API features: platform.openai.com/docs/guides/gpt-5

* codegen metadata

* chore: document breaking changes

* chore: change readme warning and minimum version

* feat(client): rename union helpers

* chore: migrate examples

* release: 2.0.0

* release: 2.0.0

* Update CHANGELOG.md

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Jacob Zimmerman <jacob@stainless.com>
2025-08-07 16:48:52 -04:00
stainless-app[bot]
523487582e feat(client): experimental support for unmarshalling into param structs 2025-05-08 02:15:46 +00:00
stainless-app[bot]
443351625e feat(client)!: rename resp package 2025-05-08 02:12:32 +00:00
stainless-app[bot]
9f312a9b14 fix(client)!: improve core function names 2025-05-08 02:05:22 +00:00
stainless-app[bot]
8a78f37c25 feat(client)!: improve param subunions & deduplicate types 2025-05-08 01:59:05 +00:00
stainless-app[bot]
fc5eabf81d feat(client): support unions in query and forms (#347) 2025-04-04 05:07:06 +00:00
stainless-app[bot]
717b6db407 feat(api)!: migrate to v2 2025-03-21 05:07:09 +00:00
stainless-app[bot]
60219e8515 fix(api): correct some Responses types (#295) 2025-03-20 05:06:53 +00:00
stainless-app[bot]
1dc888754d feat(api): add o3-mini (#195)
fix(types): correct metadata type + other fixes
2025-01-31 19:23:11 +00:00
stainless-app[bot]
8fe1011b33 feat(api): add gpt-4o-2024-11-20 model (#131) 2024-11-20 18:27:11 +00:00
stainless-app[bot]
c7476f78f6 feat: move pagination package from internal to packages (#81) 2024-10-16 15:10:38 +00:00
stainless-app[bot]
29dfb56cb7 chore(docs): fix maxium typo (#69) 2024-10-01 17:55:00 +00:00
stainless-app[bot]
f92a25c87d feat(api): updates (#5)
- This commit removes the `AssistantResponseFormat` type
2024-08-07 03:28:55 +00:00
Stainless Bot
c329601324 feat: publish 2024-08-01 00:02:01 +00:00