Commit graph

68 commits

Author SHA1 Message Date
Martín Bravo
29e9983ae8 Linting 2025-03-13 18:49:12 +01:00
Martín Bravo
9b972b33fa Add unit tests for visualization functions in test_visualizations.py 2025-03-13 18:33:17 +01:00
Rohan Mehta
2302b478af Fix streaming in chat completions 2025-03-12 17:17:07 -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
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
Jai0401
0c33a24d8f fix: resolve linting issues 2025-03-12 16:00:20 +05:30
Alex Hall
5aba0b5b19 Merge branch 'main' of github.com:openai/openai-agents-python into alex/inline-snapshot 2025-03-12 11:01:00 +02:00
Jai0401
b7e7fdee55 feat: Add strict mode option to function_schema and function_tool 2025-03-12 11:45:32 +05:30
Rohan Mehta
c27d7b7d24 pin to openai 1.66.2, update tests 2025-03-11 15:26:06 -07:00
Alex Hall
ecb7d90d4d Merge branch 'main' of github.com:openai/openai-agents-python into alex/inline-snapshot 2025-03-12 00:25:21 +02:00
Rohan Mehta
ce66d908a9 make format 2025-03-11 14:54:10 -07:00
Alex Hall
c03d314fb8 Stronger tracing tests with inline-snapshot 2025-03-11 22:57:14 +02:00
Alex Hall
c374ad064f Run make format 2025-03-11 22:53:48 +02:00
Rohan Mehta
88ee0a87ff Remove duplicated files in tests 2025-03-11 13:12:32 -07:00
Rohan Mehta
ba7453cc24 a few more 2025-03-11 11:27:01 -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
Rohan Mehta
aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00