Commit Graph

19 Commits

Author SHA1 Message Date
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
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 4f6276c8c7 Remove duplicated code 2025-03-12 13:08:00 -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
Rohan Mehta e231e4924a 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 def8c9f7d5 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
Pratyush Shukla 72e35288de resort to show total number of spans and traces 2025-03-12 10:20:15 +05:30
Pratyush Shukla ac571ceec1 Revert "count both spans and traces"
This reverts commit 93bca7bf11.
2025-03-12 10:19:14 +05:30
Pratyush Shukla 93bca7bf11 count both spans and traces 2025-03-12 10:14:01 +05:30
오병진 9185691fde Update tool.py 2025-03-12 13:13:48 +09:00
hironow 1b195aca12 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 14e1e439a5 Merge branch 'main' into hironow/chore-doc-type 2025-03-12 10:11:38 +09:00
Rohan Mehta c7058adab0 pin to openai 1.66.2, update tests 2025-03-11 15:26:06 -07:00
Rohan Mehta 001fb19c79 make format 2025-03-11 14:54:10 -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
hironow 25e122125c chore: fix type in doc and comment 2025-03-12 02:46:36 +09:00
Rohan Mehta aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00