35 Commits

Author SHA1 Message Date
stainless-app[bot]
94fecdb74c fix(api): align SDK response types with expanded item schemas
Fixes a variety of missing Items on Responses.
OutputItem: add function_call_output, computer_tool_call_output, local_shell_call_output, mcp_approval_response, custom_tool_call_output

ItemResource: add reasoning,  compaction, custom_tool_call, custom_tool_call_output
2026-03-25 22:08:50 +00:00
stainless-app[bot]
e5e28e61e7 feat(api): add keys field to computer action types 2026-03-25 22:08:50 +00:00
stainless-app[bot]
cacbc36ab6 chore(internal): support default value struct tag 2026-03-25 22:08:50 +00:00
stainless-app[bot]
94bbd24a2e fix(types): generate shared enum types that are not referenced by other schemas 2026-03-25 22:08:50 +00:00
stainless-app[bot]
5020caa66a feat(api): 5.4 nano and mini model slugs 2026-03-17 17:52:48 +00:00
stainless-app[bot]
6eaa27db16 feat(api): add in and nin values to comparison filter type 2026-03-17 17:52:48 +00:00
stainless-app[bot]
1748c114b2 chore(internal): codegen related update 2026-03-10 18:59:07 +00:00
stainless-app[bot]
6d87e5526c feat(api): gpt-5.4, tool search tool, and new computer tool 2026-03-05 18:12:45 +00:00
stainless-app[bot]
0d0d8db2fa chore(internal): codegen related update 2026-03-05 18:12:45 +00:00
stainless-app[bot]
225b838816 fix(api): readd phase 2026-03-05 18:12:45 +00:00
stainless-app[bot]
25bd05b222 feat(api): remove Phase from input/output messages, PromptCacheKey from responses 2026-03-05 18:12:45 +00:00
stainless-app[bot]
0bf4f26951 feat(api): add phase 2026-02-24 19:54:35 +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]
6cb27d898f feat(api): skills and hosted shell 2026-02-10 18:14:06 +00:00
stainless-app[bot]
951e6d6686 docs: split api.md by standalone resources 2026-02-05 16:27:27 +00:00
stainless-app[bot]
ca9b35f6e5 feat(api): add new Response completed_at prop 2026-01-09 22:09:59 +00:00
stainless-app[bot]
f89cde5fce feat(api): gpt 5.2 2025-12-11 18:15:27 +00:00
stainless-app[bot]
48c5ff3340 feat(api): gpt-5.1-codex-max and responses/compact 2025-12-04 18:04:05 +00:00
stainless-app[bot]
d5cc8ab31a feat(api): gpt 5.1 2025-12-01 21:18:30 +00:00
stainless-app[bot]
d16fc7f3c8 feat(api): Realtime API token_limits, Hybrid searching ranking options 2025-11-03 23:51:47 +00:00
stainless-app[bot]
4ab208c6cd fix(api): docs updates 2025-10-28 14:21:31 +00:00
stainless-app[bot]
b93f6bd8a5 fix(api): internal openapi updates 2025-10-20 17:16:02 +00:00
stainless-app[bot]
0552b0b90b feat(api): comparison filter in/not in 2025-10-10 01:12:17 +00:00
stainless-app[bot]
f1adab139a feat(api): dev day 2025 launches
DevDay 2025 launches including videos and chatkit beta
2025-10-06 18:08:01 +00:00
stainless-app[bot]
59ec5e7bbf fix(api): add status, approval_request_id to MCP tool call 2025-10-01 19:48:08 +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]
76f337cec6 feat(api): gpt-5-codex 2025-09-23 16:59:16 +00:00
stainless-app[bot]
9547f12f48 chore(api): openapi updates for conversations 2025-09-22 23:48:05 +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]
5d2621c3d9 feat(api): add reasoning_text 2025-09-19 16:51:22 +00:00
stainless-app[bot]
ba04b41aaf feat(api): type updates for conversations, reasoning_effort and results for evals 2025-09-17 22:03:16 +00:00
stainless-app[bot]
55cb510eed chore(api): docs and spec refactoring 2025-09-15 20:09:06 +00:00
stainless-app[bot]
6f2c71d4e2 feat(api): add web search filters 2025-08-26 20:42:32 +00:00
stainless-app[bot]
5b7c31bde9 feat(api): adding support for /v1/conversations to the API 2025-08-21 16:22:58 +00:00