Skip to content

Commit 800baee

Browse files
committed
revert docs changes as requested
1 parent e5cf75c commit 800baee

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

docs/ja/models/index.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ OpenAI の Responses API を使用する場合、`user` や `service_tier` な
103103
```python
104104
from agents import Agent, ModelSettings
105105

106-
english_agent = Agent(
106+
english_agent = Agent(
107107
name="English agent",
108108
instructions="You only speak English",
109109
model="gpt-4o",
@@ -114,20 +114,6 @@ from agents import Agent, ModelSettings
114114
)
115115
```
116116

117-
Responses API でトークンの対数確率を取得したい場合は、
118-
`ModelSettings``top_logprobs` を設定してください。
119-
120-
```python
121-
from agents import Agent, ModelSettings
122-
123-
agent = Agent(
124-
name="English agent",
125-
instructions="You only speak English",
126-
model="gpt-4o",
127-
model_settings=ModelSettings(top_logprobs=2),
128-
)
129-
```
130-
131117
## 他の LLM プロバイダー使用時の一般的な問題
132118

133119
### Tracing クライアントの 401 エラー
@@ -166,4 +152,4 @@ BadRequestError: Error code: 400 - {'error': {'message': "'response_format.type'
166152

167153
- 対応していないプロバイダーには未サポートの `tools` を送らない
168154
- テキストのみのモデルを呼び出す前にマルチモーダル入力を除外する
169-
- structured JSON 出力をサポートしていないプロバイダーでは、不正な JSON が返ることがある点に注意する
155+
- structured JSON 出力をサポートしていないプロバイダーでは、不正な JSON が返ることがある点に注意する

docs/models/index.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -109,20 +109,6 @@ english_agent = Agent(
109109
)
110110
```
111111

112-
You can also request token log probabilities when using the Responses API by
113-
setting `top_logprobs` in `ModelSettings`.
114-
115-
```python
116-
from agents import Agent, ModelSettings
117-
118-
agent = Agent(
119-
name="English agent",
120-
instructions="You only speak English",
121-
model="gpt-4o",
122-
model_settings=ModelSettings(top_logprobs=2),
123-
)
124-
```
125-
126112
## Common issues with using other LLM providers
127113

128114
### Tracing client error 401

0 commit comments

Comments
 (0)