Parth Sareen 5f33c960f2 examples: rename browser tool to gpt-oss-browser-tools (#251) 10 hours ago
..
abort c97f231bce Clarified aborting examples and readme (#157) 10 months ago
fill-in-middle 9320655174 examples: add top-level await in examples (#206) 7 months ago
multimodal 9320655174 examples: add top-level await in examples (#206) 7 months ago
pull-progress 9320655174 examples: add top-level await in examples (#206) 7 months ago
structured_outputs 35a850e57f Add examples for structured outputs and tool use (#172) 9 months ago
thinking c84c15bb2f add support for thinking levels 1 month ago
tools 45d2e0197e types: add tool_name to message (#229) 2 months ago
websearch 5f33c960f2 examples: rename browser tool to gpt-oss-browser-tools (#251) 10 hours ago
README.md b6a8868dd5 add thinking support and examples 4 months ago

README.md

Examples

[!IMPORTANT] Note: Ensure that npm run build has been run before running the examples.

To run the examples run:

npx tsx <folder-name>/<file-name>.ts