Skip to content

Commit 8885cea

Browse files
dependabot[bot]github-actions[bot]ashwinb
authored
fix(conversations)!: update Conversations API definitions (was: bump openai from 1.107.0 to 2.5.0) (#3847)
Bumps [openai](https://github.com/openai/openai-python) from 1.107.0 to 2.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/openai/openai-python/releases">openai's releases</a>.</em></p> <blockquote> <h2>v2.5.0</h2> <h2>2.5.0 (2025-10-17)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v2.4.0...v2.5.0">v2.4.0...v2.5.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> api update (<a href="https://github.com/openai/openai-python/commit/8b280d57d6d361bc3a032e030158f6859c445291">8b280d5</a>)</li> </ul> <h3>Chores</h3> <ul> <li>bump <code>httpx-aiohttp</code> version to 0.1.9 (<a href="https://github.com/openai/openai-python/commit/67f2f0afe51dab9d5899fe18b1a4e86b2c774d10">67f2f0a</a>)</li> </ul> <h2>v2.4.0</h2> <h2>2.4.0 (2025-10-16)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v2.3.0...v2.4.0">v2.3.0...v2.4.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint (<a href="https://github.com/openai/openai-python/commit/bdbe9b8f440209afa2979db4a9eda9579b3d2550">bdbe9b8</a>)</li> </ul> <h3>Chores</h3> <ul> <li>fix dangling comment (<a href="https://github.com/openai/openai-python/commit/da14e9960608f7ade6f5cdf91967830c8a6c1657">da14e99</a>)</li> <li><strong>internal:</strong> detect missing future annotations with ruff (<a href="https://github.com/openai/openai-python/commit/2672b8f0726300f7c62c356f25545ef0b3c0bb2e">2672b8f</a>)</li> </ul> <h2>v2.3.0</h2> <h2>2.3.0 (2025-10-10)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v2.2.0...v2.3.0">v2.2.0...v2.3.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> comparison filter in/not in (<a href="https://github.com/openai/openai-python/commit/aa49f626a6ea9d77ad008badfb3741e16232d62f">aa49f62</a>)</li> </ul> <h3>Chores</h3> <ul> <li><strong>package:</strong> bump jiter to &gt;=0.10.0 to support Python 3.14 (<a href="https://redirect.github.com/openai/openai-python/issues/2618">#2618</a>) (<a href="https://github.com/openai/openai-python/commit/aa445cab5c93c6908697fe98e73e16963330b141">aa445ca</a>)</li> </ul> <h2>v2.2.0</h2> <h2>2.2.0 (2025-10-06)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v2.1.0...v2.2.0">v2.1.0...v2.2.0</a></p> <h3>Features</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/openai/openai-python/blob/main/CHANGELOG.md">openai's changelog</a>.</em></p> <blockquote> <h2>2.5.0 (2025-10-17)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v2.4.0...v2.5.0">v2.4.0...v2.5.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> api update (<a href="https://github.com/openai/openai-python/commit/8b280d57d6d361bc3a032e030158f6859c445291">8b280d5</a>)</li> </ul> <h3>Chores</h3> <ul> <li>bump <code>httpx-aiohttp</code> version to 0.1.9 (<a href="https://github.com/openai/openai-python/commit/67f2f0afe51dab9d5899fe18b1a4e86b2c774d10">67f2f0a</a>)</li> </ul> <h2>2.4.0 (2025-10-16)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v2.3.0...v2.4.0">v2.3.0...v2.4.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint (<a href="https://github.com/openai/openai-python/commit/bdbe9b8f440209afa2979db4a9eda9579b3d2550">bdbe9b8</a>)</li> </ul> <h3>Chores</h3> <ul> <li>fix dangling comment (<a href="https://github.com/openai/openai-python/commit/da14e9960608f7ade6f5cdf91967830c8a6c1657">da14e99</a>)</li> <li><strong>internal:</strong> detect missing future annotations with ruff (<a href="https://github.com/openai/openai-python/commit/2672b8f0726300f7c62c356f25545ef0b3c0bb2e">2672b8f</a>)</li> </ul> <h2>2.3.0 (2025-10-10)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v2.2.0...v2.3.0">v2.2.0...v2.3.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> comparison filter in/not in (<a href="https://github.com/openai/openai-python/commit/aa49f626a6ea9d77ad008badfb3741e16232d62f">aa49f62</a>)</li> </ul> <h3>Chores</h3> <ul> <li><strong>package:</strong> bump jiter to &gt;=0.10.0 to support Python 3.14 (<a href="https://redirect.github.com/openai/openai-python/issues/2618">#2618</a>) (<a href="https://github.com/openai/openai-python/commit/aa445cab5c93c6908697fe98e73e16963330b141">aa445ca</a>)</li> </ul> <h2>2.2.0 (2025-10-06)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v2.1.0...v2.2.0">v2.1.0...v2.2.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> dev day 2025 launches (<a href="https://github.com/openai/openai-python/commit/38ac0093ebb3419b1e2280d0dc2d26c74a2bbbec">38ac009</a>)</li> </ul> <h3>Bug Fixes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/openai/openai-python/commit/513ae76253cccdf9d0a9122b32cf0adb8d26f792"><code>513ae76</code></a> release: 2.5.0 (<a href="https://redirect.github.com/openai/openai-python/issues/2694">#2694</a>)</li> <li><a href="https://github.com/openai/openai-python/commit/ebf32212f7bf5bec6b24cc2276ac0d9a28dd63bb"><code>ebf3221</code></a> release: 2.4.0</li> <li><a href="https://github.com/openai/openai-python/commit/e043d7b164c9ee9b34f7029606f08ed60d2d47db"><code>e043d7b</code></a> chore: fix dangling comment</li> <li><a href="https://github.com/openai/openai-python/commit/25cbb74f835206c497df2772205c7b2225951989"><code>25cbb74</code></a> feat(api): Add support for gpt-4o-transcribe-diarize on audio/transcriptions ...</li> <li><a href="https://github.com/openai/openai-python/commit/8cdfd0650ef548178939607eb39adf5df4af5b7d"><code>8cdfd06</code></a> codegen metadata</li> <li><a href="https://github.com/openai/openai-python/commit/d5c64434b7b1a500e074913cd87d8a6c09f1c13e"><code>d5c6443</code></a> codegen metadata</li> <li><a href="https://github.com/openai/openai-python/commit/b20a9e7b813a12b22202987f512d913433b07fcf"><code>b20a9e7</code></a> chore(internal): detect missing future annotations with ruff</li> <li><a href="https://github.com/openai/openai-python/commit/e5f93f5daee9f3fc7646833ac235b1693f192a56"><code>e5f93f5</code></a> release: 2.3.0</li> <li><a href="https://github.com/openai/openai-python/commit/044878859cf1257f0d0c6704e0568986e2d0686c"><code>0448788</code></a> feat(api): comparison filter in/not in</li> <li><a href="https://github.com/openai/openai-python/commit/85a91ade618e7c97f382014c26aeac55a431258f"><code>85a91ad</code></a> chore(package): bump jiter to &gt;=0.10.0 to support Python 3.14 (<a href="https://redirect.github.com/openai/openai-python/issues/2618">#2618</a>)</li> <li>Additional commits viewable in <a href="https://github.com/openai/openai-python/compare/v1.107.0...v2.5.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=openai&package-manager=uv&previous-version=1.107.0&new-version=2.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Ashwin Bharambe <[email protected]>
1 parent bb1ebb3 commit 8885cea

File tree

11 files changed

+169
-514
lines changed

11 files changed

+169
-514
lines changed

client-sdks/stainless/openapi.yml

Lines changed: 30 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -350,146 +350,46 @@ paths:
350350
in: query
351351
description: >-
352352
An item ID to list items after, used in pagination.
353-
required: true
353+
required: false
354354
schema:
355-
oneOf:
356-
- type: string
357-
- type: object
358-
title: NotGiven
359-
description: >-
360-
A sentinel singleton class used to distinguish omitted keyword arguments
361-
from those passed in with the value None (which may have different
362-
behavior).
363-
364-
For example:
365-
366-
367-
```py
368-
369-
def get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response:
370-
...
371-
372-
373-
374-
get(timeout=1) # 1s timeout
375-
376-
get(timeout=None) # No timeout
377-
378-
get() # Default timeout behavior, which may not be statically known
379-
at the method definition.
380-
381-
```
355+
type: string
382356
- name: include
383357
in: query
384358
description: >-
385359
Specify additional output data to include in the response.
386-
required: true
360+
required: false
387361
schema:
388-
oneOf:
389-
- type: array
390-
items:
391-
type: string
392-
enum:
393-
- code_interpreter_call.outputs
394-
- computer_call_output.output.image_url
395-
- file_search_call.results
396-
- message.input_image.image_url
397-
- message.output_text.logprobs
398-
- reasoning.encrypted_content
399-
- type: object
400-
title: NotGiven
401-
description: >-
402-
A sentinel singleton class used to distinguish omitted keyword arguments
403-
from those passed in with the value None (which may have different
404-
behavior).
405-
406-
For example:
407-
408-
409-
```py
410-
411-
def get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response:
412-
...
413-
414-
415-
416-
get(timeout=1) # 1s timeout
417-
418-
get(timeout=None) # No timeout
419-
420-
get() # Default timeout behavior, which may not be statically known
421-
at the method definition.
422-
423-
```
362+
type: array
363+
items:
364+
type: string
365+
enum:
366+
- web_search_call.action.sources
367+
- code_interpreter_call.outputs
368+
- computer_call_output.output.image_url
369+
- file_search_call.results
370+
- message.input_image.image_url
371+
- message.output_text.logprobs
372+
- reasoning.encrypted_content
373+
title: ConversationItemInclude
374+
description: >-
375+
Specify additional output data to include in the model response.
424376
- name: limit
425377
in: query
426378
description: >-
427379
A limit on the number of objects to be returned (1-100, default 20).
428-
required: true
380+
required: false
429381
schema:
430-
oneOf:
431-
- type: integer
432-
- type: object
433-
title: NotGiven
434-
description: >-
435-
A sentinel singleton class used to distinguish omitted keyword arguments
436-
from those passed in with the value None (which may have different
437-
behavior).
438-
439-
For example:
440-
441-
442-
```py
443-
444-
def get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response:
445-
...
446-
447-
448-
449-
get(timeout=1) # 1s timeout
450-
451-
get(timeout=None) # No timeout
452-
453-
get() # Default timeout behavior, which may not be statically known
454-
at the method definition.
455-
456-
```
382+
type: integer
457383
- name: order
458384
in: query
459385
description: >-
460386
The order to return items in (asc or desc, default desc).
461-
required: true
387+
required: false
462388
schema:
463-
oneOf:
464-
- type: string
465-
enum:
466-
- asc
467-
- desc
468-
- type: object
469-
title: NotGiven
470-
description: >-
471-
A sentinel singleton class used to distinguish omitted keyword arguments
472-
from those passed in with the value None (which may have different
473-
behavior).
474-
475-
For example:
476-
477-
478-
```py
479-
480-
def get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response:
481-
...
482-
483-
484-
485-
get(timeout=1) # 1s timeout
486-
487-
get(timeout=None) # No timeout
488-
489-
get() # Default timeout behavior, which may not be statically known
490-
at the method definition.
491-
492-
```
389+
type: string
390+
enum:
391+
- asc
392+
- desc
493393
deprecated: false
494394
post:
495395
responses:
@@ -6482,6 +6382,7 @@ components:
64826382
enum:
64836383
- llm
64846384
- embedding
6385+
- rerank
64856386
title: ModelType
64866387
description: >-
64876388
Enumeration of supported model types in Llama Stack.
@@ -13585,13 +13486,16 @@ tags:
1358513486
embeddings.
1358613487
1358713488
13588-
This API provides the raw interface to the underlying models. Two kinds of models
13589-
are supported:
13489+
This API provides the raw interface to the underlying models. Three kinds of
13490+
models are supported:
1359013491
1359113492
- LLM models: these models generate "raw" and "chat" (conversational) completions.
1359213493
1359313494
- Embedding models: these models generate embeddings to be used for semantic
1359413495
search.
13496+
13497+
- Rerank models: these models reorder the documents based on their relevance
13498+
to a query.
1359513499
x-displayName: Inference
1359613500
- name: Inspect
1359713501
description: >-

docs/static/llama-stack-spec.html

Lines changed: 25 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -483,86 +483,53 @@
483483
"name": "after",
484484
"in": "query",
485485
"description": "An item ID to list items after, used in pagination.",
486-
"required": true,
486+
"required": false,
487487
"schema": {
488-
"oneOf": [
489-
{
490-
"type": "string"
491-
},
492-
{
493-
"type": "object",
494-
"title": "NotGiven",
495-
"description": "A sentinel singleton class used to distinguish omitted keyword arguments from those passed in with the value None (which may have different behavior).\nFor example:\n\n```py\ndef get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response: ...\n\n\nget(timeout=1) # 1s timeout\nget(timeout=None) # No timeout\nget() # Default timeout behavior, which may not be statically known at the method definition.\n```"
496-
}
497-
]
488+
"type": "string"
498489
}
499490
},
500491
{
501492
"name": "include",
502493
"in": "query",
503494
"description": "Specify additional output data to include in the response.",
504-
"required": true,
495+
"required": false,
505496
"schema": {
506-
"oneOf": [
507-
{
508-
"type": "array",
509-
"items": {
510-
"type": "string",
511-
"enum": [
512-
"code_interpreter_call.outputs",
513-
"computer_call_output.output.image_url",
514-
"file_search_call.results",
515-
"message.input_image.image_url",
516-
"message.output_text.logprobs",
517-
"reasoning.encrypted_content"
518-
]
519-
}
520-
},
521-
{
522-
"type": "object",
523-
"title": "NotGiven",
524-
"description": "A sentinel singleton class used to distinguish omitted keyword arguments from those passed in with the value None (which may have different behavior).\nFor example:\n\n```py\ndef get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response: ...\n\n\nget(timeout=1) # 1s timeout\nget(timeout=None) # No timeout\nget() # Default timeout behavior, which may not be statically known at the method definition.\n```"
525-
}
526-
]
497+
"type": "array",
498+
"items": {
499+
"type": "string",
500+
"enum": [
501+
"web_search_call.action.sources",
502+
"code_interpreter_call.outputs",
503+
"computer_call_output.output.image_url",
504+
"file_search_call.results",
505+
"message.input_image.image_url",
506+
"message.output_text.logprobs",
507+
"reasoning.encrypted_content"
508+
],
509+
"title": "ConversationItemInclude",
510+
"description": "Specify additional output data to include in the model response."
511+
}
527512
}
528513
},
529514
{
530515
"name": "limit",
531516
"in": "query",
532517
"description": "A limit on the number of objects to be returned (1-100, default 20).",
533-
"required": true,
518+
"required": false,
534519
"schema": {
535-
"oneOf": [
536-
{
537-
"type": "integer"
538-
},
539-
{
540-
"type": "object",
541-
"title": "NotGiven",
542-
"description": "A sentinel singleton class used to distinguish omitted keyword arguments from those passed in with the value None (which may have different behavior).\nFor example:\n\n```py\ndef get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response: ...\n\n\nget(timeout=1) # 1s timeout\nget(timeout=None) # No timeout\nget() # Default timeout behavior, which may not be statically known at the method definition.\n```"
543-
}
544-
]
520+
"type": "integer"
545521
}
546522
},
547523
{
548524
"name": "order",
549525
"in": "query",
550526
"description": "The order to return items in (asc or desc, default desc).",
551-
"required": true,
527+
"required": false,
552528
"schema": {
553-
"oneOf": [
554-
{
555-
"type": "string",
556-
"enum": [
557-
"asc",
558-
"desc"
559-
]
560-
},
561-
{
562-
"type": "object",
563-
"title": "NotGiven",
564-
"description": "A sentinel singleton class used to distinguish omitted keyword arguments from those passed in with the value None (which may have different behavior).\nFor example:\n\n```py\ndef get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response: ...\n\n\nget(timeout=1) # 1s timeout\nget(timeout=None) # No timeout\nget() # Default timeout behavior, which may not be statically known at the method definition.\n```"
565-
}
529+
"type": "string",
530+
"enum": [
531+
"asc",
532+
"desc"
566533
]
567534
}
568535
}

0 commit comments

Comments
 (0)