You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -426,7 +426,7 @@ codex -p oss
426
426
### Browser
427
427
428
428
> [!WARNING]
429
-
> This implementation is purely for educational purposes and should not be used in production. You should implement your own equivalent of the [`ExaBackend`](gpt_oss/tools/simple_browser/backend.py) class with your own browsing environment.
429
+
> This implementation is purely for educational purposes and should not be used in production. You should implement your own equivalent of the [`YouComBackend`](gpt_oss/tools/simple_browser/backend.py) class with your own browsing environment. Currently we have available `YouComBackend` and `ExaBackend`.
430
430
431
431
Both gpt-oss models were trained with the capability to browse using the `browser` tool that exposes the following three methods:
432
432
@@ -441,15 +441,20 @@ To enable the browser tool, you'll have to place the definition into the `system
441
441
```python
442
442
import datetime
443
443
from gpt_oss.tools.simple_browser import SimpleBrowserTool
444
-
from gpt_oss.tools.simple_browser.backend importExaBackend
444
+
from gpt_oss.tools.simple_browser.backend importYouComBackend
445
445
from openai_harmony import SystemContent, Message, Conversation, Role, load_harmony_encoding, HarmonyEncodingName
0 commit comments