Commit graph

37 commits

Author SHA1 Message Date
Dmitry Pimenov
0944390c3f adding Git MCP server example 2025-03-25 16:30:50 -07:00
Dominik Kundel
2104f5400b fix(examples): make sure audio playback finishes 2025-03-25 12:11:33 -07:00
Rohan Mehta
de1e9a754d [3/n] Add an MCP stdio example
### Summary:
Spins up a stdio server with some local files, then asks the model questions.

### Test Plan:
Run the example, see it work.
2025-03-25 13:24:18 -04:00
Rohan Mehta
4cb011c4d2
Fix Typos (#258)
Noticed a bunch of typos when reading code, fixing.
2025-03-23 20:28:14 -04:00
Aviral Garg
fdf340495b Fix circular dependency in voice streamed example with cleaner import pattern 2025-03-21 16:26:19 -07:00
Aviral Garg
9473c788ba Fix type-checking for circular dependency in voice streamed example 2025-03-21 16:18:04 -07:00
Aviral Garg
7432347a94 Fix circular dependency in voice streamed example by renaming agents.py to my_workflow.py 2025-03-21 13:25:46 -07:00
Rohan Mehta
1771c1e856 update tests 2025-03-20 13:08:38 -04:00
Dominik Kundel
aec066649c fix tests 2025-03-20 09:52:15 -07:00
Dominik Kundel
c7ce154637 feat: add voice pipeline support
> Co-authored-by: rm@openai.com
2025-03-20 09:43:13 -07:00
Raduan77
65264b6b8a fix typos in /examples 2025-03-20 11:23:57 +01:00
Shyamal H Anadkat
0dec5712db Adds example for financial agent 2025-03-19 22:33:13 -07:00
Rohan Mehta
10aa5555af Introduce tool_use_behavior on agents 2025-03-18 21:55:12 -04:00
Rohan Mehta
2bff04719b
Fix handoffs example use cases (#156)
## Changes
- In this handoff example, we need to use `first_agent` with
`random_number_tool`, instead of `second_agent` without that tool, since
the user is asking to generate a random number.
- fixed typo in comments
2025-03-17 15:59:18 -04:00
Rohan Mehta
fad23f1a3d
fix typo in agent_lifecycle_example.py (#161) 2025-03-17 15:59:00 -04:00
Rohan Mehta
83ec26d200
fix reasoning order in examples (#186)
I think we need to put reasoning-related outputs first to encourage CoT
reasoning.
2025-03-17 15:57:52 -04:00
heartkilla
54a48a3967 fix reasoning order in examples 2025-03-17 14:56:43 +09:00
Rohan Mehta
09d70c074d utils directory 2025-03-16 18:48:45 -04:00
CCM
8540b1e65b
fix typo in agent_lifecycle_example.py 2025-03-14 19:14:26 +08:00
Kento Yamanaka
792cdea464 fix: use first_agent instead of second_agent for a task to generate random number 2025-03-13 18:26:49 -07:00
Rohan Mehta
6ab8c91d23 Update custom models to use tools 2025-03-13 13:10:26 -04:00
Rohan Mehta
16cfce117c
Add examples and documentation for using custom model providers (#110) 2025-03-13 08:17:25 -07:00
Rohan Mehta
25a633139d Add examples and documentation for using custom model providers 2025-03-12 17:34:38 -07:00
Dmitry Pimenov
26f9cb42de fixing mypy error 2025-03-12 17:30:59 -07:00
Dmitry Pimenov
65546703cb fixing lint issues 2025-03-12 17:28:44 -07:00
Dmitry Pimenov
536d7826d5 added a Jupyter example to clarify how to use the SDK with an existing event loop 2025-03-12 17:24:35 -07:00
Harsh Jain
f0f93dbe0b Fix guardrail trigger in input_guardrails.py
Remove the `not` keyword from the `tripwire_triggered` parameter in the `math_guardrail` function in `examples/agent_patterns/input_guardrails.py`.

The not keyword prevented the guardrail from being triggered, which defeats the purpose of the example.
2025-03-12 18:10:28 +05:30
Ali Yaman
fce4872f32 docs: Fix typos in documentation files 2025-03-12 00:12:31 +01:00
Rohan Mehta
37577d33f4 make computer use example less verbose 2025-03-11 15:27:08 -07:00
Rohan Mehta
96dd792146
Merge pull request #27 from openai/rm/fixes
Cleanup some more excess files
update gitignore, pycache
run make format
2025-03-11 14:55:31 -07:00
Rohan Mehta
c8087180ae
Merge pull request #3 from pierDipi/fix-guardrails-link
Fix guardrails examples link
2025-03-11 13:28:17 -07:00
Rohan Mehta
865c0a3ba0 update gitignore, pycache 2025-03-11 13:13:44 -07:00
Rohan Mehta
249d155082 more pycache 2025-03-11 11:25:30 -07:00
Rohan Mehta
aabcc4aba1 update cua model 2025-03-11 11:22:37 -07:00
dmitry-openai
9946b8b58d Merge pull request #8 from openai/repo/gitignore
removing ds store, adding gitignore
2025-03-11 11:17:37 -07:00
Pierangelo Di Pilato
832d9a99c5
Fix guardrails examples link
Link to input and output guardrails examples
2025-03-11 18:26:56 +01:00
Rohan Mehta
aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00