Commit Graph

1078 Commits

Author SHA1 Message Date
Martín Bravo 2f3875562b Add unit tests for visualization functions in test_visualizations.py 2025-03-13 18:33:17 +01:00
Martín Bravo fdfa05c759 Add visualization functions for agents using Graphviz 2025-03-13 18:33:12 +01:00
Martín Bravo a3d2673368 Add graphviz as a dependency in pyproject.toml 2025-03-13 18:33:08 +01:00
Rohan Mehta 83503d85a6 Update tracing docs to be correct 2025-03-13 13:20:27 -04:00
Rohan Mehta bab6e50161 Update custom models to use tools (#144) 2025-03-13 10:12:28 -07:00
Rohan Mehta c92672579b Update custom models to use tools 2025-03-13 13:10:26 -04:00
Rohan Mehta 6b486ce814 v0.0.4 (#140) 2025-03-13 08:19:46 -07:00
Rohan Mehta 62c12170e9 v0.0.4 2025-03-13 11:18:40 -04:00
Rohan Mehta b2dc3e7ac9 Add examples and documentation for using custom model providers (#110) 2025-03-13 08:17:25 -07:00
Dmitry Pimenov 357cbc3853 Add Scorecard as supported external trace processors (#80)
Incredibly excited to add Scorecard as an external trace processor for
the Agents SDK!
2025-03-12 21:25:42 -07:00
Rohan Mehta 17d89ec6f8 Merge pull request #114 from openai/rm/pr114
Add request ID
2025-03-12 18:09:13 -07:00
Rohan Mehta 9428ed0c67 Add request ID 2025-03-12 18:07:59 -07:00
Rohan Mehta 64055ae36f Merge pull request #113 from openai/examples/jupyter
Adding Jupyter notebook example
2025-03-12 17:43: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
Dare 0b4ff9b7e5 Merge branch 'main' into main 2025-03-12 17:24:39 -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
Rohan Mehta ec59f88229 Merge pull request #112 from openai/pr112
Fix streaming in chat completions
2025-03-12 17:21:55 -07:00
Rohan Mehta a9f717b220 Fix streaming in chat completions 2025-03-12 17:17:07 -07:00
Rohan Mehta 85a3f18983 Rename pull_request_template.md. to pull_request_template.md 2025-03-12 16:47:14 -07:00
Rohan Mehta 54f4b6e4c2 Create pull_request_template.md. 2025-03-12 16:46:53 -07:00
Dmitry Pimenov d73c770429 Merge pull request #108 from dingkwang/main
Bug #107. fix typo in tracing.md
2025-03-12 15:03:55 -07:00
Dingkang Wang 2acac3e0db fix typo in tracing.md 2025-03-12 14:54:11 -07:00
Vincent Koc 61cce7930f Update tracing.md 2025-03-13 07:56:27 +11:00
Vincent Koc 2c62f0a030 Merge branch 'main' into patch-1 2025-03-13 07:53:07 +11:00
Rohan Mehta ca8a5bea15 Merge pull request #105 from openai/pr105
Add max_tokens and documentation to model settings
2025-03-12 13:45:21 -07:00
Rohan Mehta d737ad0e1b Add max_tokens and documentation to model settings 2025-03-12 13:35:10 -07:00
Dmitry Pimenov 5ccc113084 Merge pull request #104 from openai/readme/new-trace-provider
Adding Keywords AI as a trace processor
2025-03-12 13:33:02 -07:00
Rohan Mehta 171d584492 Merge pull request #83 from HarshJa1n/fix-guardrail-trigger
Fix guardrail trigger in input_guardrails.py
2025-03-12 13:32:23 -07:00
Rohan Mehta c5174861f1 Merge pull request #84 from leykun10/fix-doc-error
Replace undefined variable name in documentation code snippet
2025-03-12 13:31:12 -07:00
Rohan Mehta 94bdad6291 Merge pull request #89 from eltociear/patch-1
chore: update guardrail.py
2025-03-12 13:30:56 -07:00
Rohan Mehta 6a294e35bf Merge pull request #103 from openai/pr103
Remove duplicated code
2025-03-12 13:29:16 -07:00
Dmitry Pimenov 4f842cfec2 adding Keywords AI as a trace processor 2025-03-12 13:15:53 -07:00
Rohan Mehta 4f6276c8c7 Remove duplicated code 2025-03-12 13:08:00 -07:00
Rohan Mehta 1eb9223f0a Merge pull request #93 from mjunaidca/fix/chat-history-assistant-role
Fix: Add missing support for 'assistant' Role in Converter.items_to_messages used by Runner.run_sync
2025-03-12 12:48:35 -07:00
Muhammad Junaid fafeeac958 refactor: update formatting in test_assistant_messages_in_history
- Enhanced the readability of the test case by reformatting the expected output and input message structures.
- This change maintains the same functionality while making the test code cleaner and easier to understand.
2025-03-13 00:20:59 +05:00
Rohan Mehta 33408d08de Merge pull request #99 from openai/update_docs
use @function_tool decorator in docs
2025-03-12 11:29:26 -07:00
jhills20 737dcedc79 use @function_tool decorator in docs 2025-03-12 11:15:42 -07:00
Muhammad Junaid b5bbc060d3 fix: support assistant role in message conversion
- The _Converter.items_to_messages method was incorrectly rejecting 'assistant'
as a valid role in conversation messages, causing runtime errors when processing
standard chat completion message formats.
- This fix enables proper handling of
complete conversation contexts that include both user and assistant messages.
2025-03-12 21:10:03 +05:00
Ikko Eltociear Ashimine cafa77fc75 chore: update guardrail.py
minor fix
2025-03-12 22:45:17 +09: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
Vincent Koc 4e00f5677c Update tracing.md 2025-03-12 23:26:57 +11:00
Vincent Koc cc977ce742 Update README.md 2025-03-12 23:26:42 +11:00
leykun10 d152c9c51d fix: replace undefined variable name in documentation code snippet 2025-03-12 15:07:56 +03:00
Dare 911bdefd6a Update tracing.md 2025-03-12 04:46:05 -07:00
Dare 9cda36b3c2 Adding link to docs on Scorecard AgentSDK Support
Incredibly excited to add support the agentsdk for Scorecard tracing!
2025-03-12 04:43:50 -07:00
Jai0401 644d8afa1b fix: resolve linting issues 2025-03-12 16:00:20 +05:30
Vincent Koc 5a927bf1d9 chore(docs): Update tracing.md 2025-03-12 20:46:54 +11:00
Vincent Koc 026b06b1ea chore(docs): added comet opik to tracing on README 2025-03-12 20:45:50 +11:00