Commit Graph

80 Commits

Author SHA1 Message Date
Raduan77 a49fb03c41 fix typos in /examples 2025-03-20 11:23:57 +01:00
Shyamal H Anadkat ec5211c38f Adds example for financial agent 2025-03-19 22:33:13 -07:00
Rohan Mehta c91db09d3c Introduce tool_use_behavior on agents 2025-03-18 21:55:12 -04:00
Rohan Mehta 7f1b04e4f3 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 d5fbf42a9d fix typo in agent_lifecycle_example.py (#161) 2025-03-17 15:59:00 -04:00
Rohan Mehta 9876c551bc 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 08400fb4aa fix reasoning order in examples 2025-03-17 14:56:43 +09:00
Rohan Mehta 4719471cc3 utils directory 2025-03-16 18:48:45 -04:00
Víctor Mayoral Vilches 62450ef40b Add litellm support
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-03-16 21:01:51 +01:00
Víctor Mayoral Vilches 5983b445ec Add litellm iterations 2025-03-16 21:01:26 +01:00
Víctor Mayoral Vilches 2cc95d9a00 Add Ollama example
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-03-14 15:26:58 +01:00
CCM dfd8b40a98 fix typo in agent_lifecycle_example.py 2025-03-14 19:14:26 +08:00
Kento Yamanaka 2aec6b1390 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 c92672579b Update custom models to use tools 2025-03-13 13:10:26 -04:00
Rohan Mehta b2dc3e7ac9 Add examples and documentation for using custom model providers (#110) 2025-03-13 08:17:25 -07:00
Rohan Mehta e881d72d38 Add examples and documentation for using custom model providers 2025-03-12 17:34:38 -07:00
Dmitry Pimenov e78614e8ae fixing mypy error 2025-03-12 17:30:59 -07:00
Dmitry Pimenov bac92344b1 fixing lint issues 2025-03-12 17:28:44 -07:00
Dmitry Pimenov fd2003161c 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 6a32dab4c6 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 3a94e4ece9 docs: Fix typos in documentation files 2025-03-12 00:12:31 +01:00
Rohan Mehta 0abaaa0d6d make computer use example less verbose 2025-03-11 15:27:08 -07:00
Rohan Mehta 3d9a5a2e8a 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 cfefdbe0b1 Merge pull request #3 from pierDipi/fix-guardrails-link
Fix guardrails examples link
2025-03-11 13:28:17 -07:00
Rohan Mehta 74878aa3cf update gitignore, pycache 2025-03-11 13:13:44 -07:00
Rohan Mehta e8140b26ae more pycache 2025-03-11 11:25:30 -07:00
Rohan Mehta 1eb48e3857 update cua model 2025-03-11 11:22:37 -07:00
dmitry-openai 723397b062 Merge pull request #8 from openai/repo/gitignore
removing ds store, adding gitignore
2025-03-11 11:17:37 -07:00
Pierangelo Di Pilato 529c3baee6 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