Skip to content

Commit 2c77b66

Browse files
committed
Merge remote-tracking branch 'upstream/main' into callable-api-key
2 parents a6a6a2b + 3154a78 commit 2c77b66

17 files changed

+203
-17
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
permissions:
4343
contents: read
4444
id-token: write
45-
runs-on: depot-ubuntu-24.04
45+
runs-on: ${{ github.repository == 'stainless-sdks/openai-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4646
steps:
4747
- uses: actions/checkout@v4
4848

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.101.0"
2+
".": "1.102.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 119
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-ddbdf9343316047e8a773c54fb24e4a8d225955e202a1888fde6f9c8898ebf98.yml
3-
openapi_spec_hash: 9802f6dd381558466c897f6e387e06ca
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-8517ffa1004e31ca2523d617629e64be6fe4f13403ddfd9db5b3be002656cbde.yml
3+
openapi_spec_hash: b64dd8c8b23082a7aa2a3e5c5fffd8bd
44
config_hash: fe0ea26680ac2075a6cd66416aefe7db

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Changelog
22

3+
## 1.102.0 (2025-08-26)
4+
5+
Full Changelog: [v1.101.0...v1.102.0](https://github.com/openai/openai-python/compare/v1.101.0...v1.102.0)
6+
7+
### Features
8+
9+
* **api:** add web search filters ([1c199a8](https://github.com/openai/openai-python/commit/1c199a8dc85f773ae656fe850fdfb80b91f8f6b1))
10+
11+
12+
### Bug Fixes
13+
14+
* avoid newer type syntax ([bd0c668](https://github.com/openai/openai-python/commit/bd0c668d754b89c78c2c9ad2e081258c04aaece6))
15+
16+
17+
### Chores
18+
19+
* **internal:** change ci workflow machines ([3e129d5](https://github.com/openai/openai-python/commit/3e129d5e49f6391dea7497132cb3cfed8e5dd8ee))
20+
* **internal:** codegen related update ([b6dc170](https://github.com/openai/openai-python/commit/b6dc170832d719fc5028cfe234748c22e6e168aa))
21+
322
## 1.101.0 (2025-08-21)
423

524
Full Changelog: [v1.100.3...v1.101.0](https://github.com/openai/openai-python/compare/v1.100.3...v1.101.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openai"
3-
version = "1.101.0"
3+
version = "1.102.0"
44
description = "The official Python library for the openai API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

requirements-dev.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ filelock==3.12.4
7070
frozenlist==1.7.0
7171
# via aiohttp
7272
# via aiosignal
73-
griffe==1.12.1
73+
griffe==1.13.0
7474
h11==0.16.0
7575
# via httpcore
7676
httpcore==1.0.9

src/openai/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def model_dump(
329329
exclude_none=exclude_none,
330330
)
331331

332-
return cast(dict[str, Any], json_safe(dumped)) if mode == "json" else dumped
332+
return cast("dict[str, Any]", json_safe(dumped)) if mode == "json" else dumped
333333

334334
@override
335335
def model_dump_json(

src/openai/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "openai"
4-
__version__ = "1.101.0" # x-release-please-version
4+
__version__ = "1.102.0" # x-release-please-version

src/openai/resources/conversations/conversations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def create(
6767
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
6868
) -> Conversation:
6969
"""
70-
Create a conversation with the given ID.
70+
Create a conversation.
7171
7272
Args:
7373
items: Initial items to include in the conversation context. You may add up to 20 items
@@ -244,7 +244,7 @@ async def create(
244244
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
245245
) -> Conversation:
246246
"""
247-
Create a conversation with the given ID.
247+
Create a conversation.
248248
249249
Args:
250250
items: Initial items to include in the conversation context. You may add up to 20 items

src/openai/resources/conversations/items.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ def list(
163163
include: Specify additional output data to include in the model response. Currently
164164
supported values are:
165165
166+
- `web_search_call.action.sources`: Include the sources of the web search tool
167+
call.
166168
- `code_interpreter_call.outputs`: Includes the outputs of python code execution
167169
in code interpreter tool call items.
168170
- `computer_call_output.output.image_url`: Include image urls from the computer
@@ -391,6 +393,8 @@ def list(
391393
include: Specify additional output data to include in the model response. Currently
392394
supported values are:
393395
396+
- `web_search_call.action.sources`: Include the sources of the web search tool
397+
call.
394398
- `code_interpreter_call.outputs`: Includes the outputs of python code execution
395399
in code interpreter tool call items.
396400
- `computer_call_output.output.image_url`: Include image urls from the computer

0 commit comments

Comments
 (0)