Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2c7159deb5
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| `setOpenAIResponsesTransport('websocket')` を使うと WebSocket トランスポートを有効化でき、`setOpenAIResponsesTransport('http')` で戻せます。WebSocket トラフィックをプロキシやゲートウェイ経由でルーティングする場合は、`OPENAI_WEBSOCKET_BASE_URL` を設定してください(または `OpenAIProvider` の `websocketBaseURL` を設定してください)。 | ||
| `setOpenAIResponsesTransport('websocket')` を使用すると WebSocket トランスポートを有効化でき、`setOpenAIResponsesTransport('http')` で HTTP に戻せます。プロキシやゲートウェイ経由で websocket トラフィックをルーティングする場合は、`OPENAI_WEBSOCKET_BASE_URL` を設定してください(または `OpenAIProvider` の `websocketBaseURL` を設定してください)。 | ||
|
|
||
| このプロセス全体のデフォルトは、後からデフォルトの OpenAI プロバイダー経由で解決されるモデルにのみ影響します。具体的な `Model` インスタンスやカスタムの `modelProvider` を渡す場合は、代わりにそちらでトランスポートを設定してください。[モデルガイド](/openai-agents-js/ja/guides/models#responses-websocket-transport) を参照してください。 |
There was a problem hiding this comment.
Use a valid section fragment for localized models link
This new cross-link points to #responses-websocket-transport, but the target headings in the localized models pages are translated (for example #### Responses WebSocket トランスポート at ja/guides/models.mdx:92, plus analogous Korean and Chinese headings), and there is no explicit {#responses-websocket-transport} override. With Starlight’s heading-id generation, this fragment will not resolve to that section, so readers of the JA/KO/ZH config docs won’t jump to the intended transport guidance.
Useful? React with 👍 / 👎.
Automated update of translated documentation.
Triggered by commit: ef67dd404992d976975c07d1847c2a9d18e2685f.
Message:
docs: clarify responses websocket transport resolution