Commit graph

94 commits

Author SHA1 Message Date
Rohan Mehta
2302b478af Fix streaming in chat completions 2025-03-12 17:17:07 -07:00
Rohan Mehta
5626cb1951
Rename pull_request_template.md. to pull_request_template.md 2025-03-12 16:47:14 -07:00
Rohan Mehta
5a577f962a
Create pull_request_template.md. 2025-03-12 16:46:53 -07:00
Dmitry Pimenov
912a625915
Merge pull request #108 from dingkwang/main
Bug #107. fix typo in tracing.md
2025-03-12 15:03:55 -07:00
Dingkang Wang
9f938716d1 fix typo in tracing.md 2025-03-12 14:54:11 -07:00
Rohan Mehta
18b10f1371
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
fde49cfcf7 Add max_tokens and documentation to model settings 2025-03-12 13:35:10 -07:00
Dmitry Pimenov
97a09067cf
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
d4f01e60b6
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
3a95993753
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
f461bea2ce
Merge pull request #89 from eltociear/patch-1
chore: update guardrail.py
2025-03-12 13:30:56 -07:00
Rohan Mehta
94d7441673
Merge pull request #103 from openai/pr103
Remove duplicated code
2025-03-12 13:29:16 -07:00
Dmitry Pimenov
2f2e2fce5a adding Keywords AI as a trace processor 2025-03-12 13:15:53 -07:00
Rohan Mehta
f2617595c6 Remove duplicated code 2025-03-12 13:08:00 -07:00
Rohan Mehta
96913b847f
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
c09a2258af 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
e86e5e2e6d
Merge pull request #99 from openai/update_docs
use @function_tool decorator in docs
2025-03-12 11:29:26 -07:00
jhills20
a373162bb0 use @function_tool decorator in docs 2025-03-12 11:15:42 -07:00
Muhammad Junaid
51d79bf141 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
77e359c0c7
chore: update guardrail.py
minor fix
2025-03-12 22:45:17 +09: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
leykun10
4fb9aefdd8 fix: replace undefined variable name in documentation code snippet 2025-03-12 15:07:56 +03:00
Rohan Mehta
c8f3cdd6c8
Merge pull request #13 from Jai0401/fix-typo-readme
fix: correct typo in README regarding tool responses
2025-03-11 23:25:05 -07:00
Rohan Mehta
3e1e8601ef
Update issues.yml 2025-03-11 23:21:44 -07:00
Rohan Mehta
9a32ff5172
Merge pull request #57 from sumitaryal/fix-typo-models.md
Fix typo in models.md
2025-03-11 22:33:33 -07:00
Rohan Mehta
dbc46d713b
Merge pull request #58 from openai/rm/templates
Stale issue template
2025-03-11 22:33:29 -07:00
Rohan Mehta
9ea69febc2 stale issues 2025-03-11 22:31:33 -07:00
Rohan Mehta
957763efb4
Update issue templates
Issue templates
2025-03-11 22:27:22 -07:00
sumitaryal
9598b2954a fix: Added missing space after 'the' for better clarity 2025-03-12 11:04:29 +05:45
sumitaryal
56500bf120 fix: Removed the repeated the 2025-03-12 11:03:28 +05:45
sumitaryal
f50a55c82f fix: hyphenated compound adjective out of the box -> out-of-the-box for clarity 2025-03-12 11:03:03 +05:45
Rohan Mehta
63ceb524c7
Merge pull request #56 from sumitaryal/fix-typo-index.md
Fix typo in docs/index.md for better clarity
2025-03-11 22:10:05 -07:00
Rohan Mehta
be1c9495d6
Merge pull request #52 from sunrabbit123/patch-1
Fix: remove unreached code in tool.py
2025-03-11 22:09:07 -07:00
Rohan Mehta
90010a7eb5
Merge pull request #55 from the-praxs/fix/traces-spans-data
fix: count `spans` and `traces` correctly
2025-03-11 22:05:46 -07:00
sumitaryal
e022d2c2a3 fix: hyphenated compound adjective real world -> real-world for clarity 2025-03-12 10:48:29 +05:45
sumitaryal
8b5f2fd042 fix: hyphenated compound adjective easy to use -> easy-to-use for clarity 2025-03-12 10:47:48 +05:45
Pratyush Shukla
e5917724dc
resort to show total number of spans and traces 2025-03-12 10:20:15 +05:30
Pratyush Shukla
6962410976
Revert "count both spans and traces"
This reverts commit d49bd89061.
2025-03-12 10:19:14 +05:30
Rohan Mehta
0ea6994406
Merge pull request #45 from junjzhang/typo_fix
fix typo in docs of configuring custom client
2025-03-11 21:46:42 -07:00
Rohan Mehta
3d247870d1
Merge pull request #5 from hironow/hironow/chore-doc-type
chore: Fix typo in documentation and comments
2025-03-11 21:46:11 -07:00
Pratyush Shukla
d49bd89061
count both spans and traces 2025-03-12 10:14:01 +05:30
오병진
51a5be0212
Update tool.py 2025-03-12 13:13:48 +09:00
Dmitry Pimenov
a41b320580
Merge pull request #39 from matthewford/patch-1
Update quickstart.md
2025-03-11 20:37:04 -07:00
Junjie_ZHANG
a5f74008cb fix typo 2025-03-12 11:24:12 +08:00
hironow
9b118a10c6
Merge branch 'main' into hironow/chore-doc-type
# Conflicts:
#	tests/docs/config.md
#	tests/docs/guardrails.md
#	tests/docs/tracing.md
2025-03-12 10:13:25 +09:00
hironow
c827ecb788
Merge branch 'main' into hironow/chore-doc-type 2025-03-12 10:11:38 +09:00
Matthew Ford
261998582a
Update quickstart.md
Add an example that works before the guard, so people don't think the task just failed.
2025-03-12 00:48:29 +00:00
Rohan Mehta
b6c9572265
Merge pull request #35 from AliYmn/28
docs: Fix typos in documentation files
2025-03-11 16:41:32 -07:00
Ali Yaman
fce4872f32 docs: Fix typos in documentation files 2025-03-12 00:12:31 +01:00
Rohan Mehta
a4b72c398d
Merge pull request #34 from AliYmn/27
fix: clarify multi-agent orchestration description
2025-03-11 16:02:43 -07:00