Skip to content

Commit 13adf19

Browse files
committed
fix: docstring NOTE about openai seed
1 parent 39fa407 commit 13adf19

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

chatlas/_provider_openai.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ def ChatOpenAI(
104104
105105
Note
106106
----
107-
The responses API does not support the `seed` parameter. If you need
108-
reproducible output, use [](`~chatlas.ChatOpenAI`) instead.
109-
110107
Pasting an API key into a chat constructor (e.g., `ChatOpenAI(api_key="...")`)
111108
is the simplest way to get started, and is fine for interactive use, but is
112109
problematic for code that may be shared with others.
@@ -140,6 +137,11 @@ def ChatOpenAI(
140137
```shell
141138
export OPENAI_API_KEY=...
142139
```
140+
141+
Note
142+
----
143+
The responses API does not support the `seed` parameter. If you need
144+
reproducible output, use [](`~chatlas.ChatOpenAICompletions`) instead.
143145
"""
144146
if model is None:
145147
model = log_model_default("gpt-4.1")

0 commit comments

Comments
 (0)