-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Comparing changes
Open a pull request
base repository: openai/openai-agents-python
base: 417c19b
head repository: openai/openai-agents-python
compare: a17625e
- 17 commits
- 51 files changed
- 10 contributors
Commits on Aug 11, 2025
-
Added runtime validation for Agent constructor arguments (#998)
Add `__post_init__` validation to ensure Agent name is a string The Agent class previously only used type hints for the name field without runtime validation, allowing non-string values like integers to be passed. This caused downstream errors during JSON serialization, tracing, and other operations that expect the name to be a string. Changes: - Add `__post_init__` method to Agent class with `isinstance` check - Raise TypeError with descriptive message for non-string names - Validation occurs at instantiation time to fail fast Fixes issue where `Agent(name=1)` would succeed but cause errors later in the execution pipeline. Fixes #996
Configuration menu - View commit details
-
Copy full SHA for f5fcd30 - Browse repository at this point
Copy the full SHA f5fcd30View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce67311 - Browse repository at this point
Copy the full SHA ce67311View commit details -
feat(tests): add tests for unicode content, special characters, and c…
…oncurrent access in SQLiteSession (#1399)
Configuration menu - View commit details
-
Copy full SHA for bad88e7 - Browse repository at this point
Copy the full SHA bad88e7View commit details
Commits on Aug 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 534e2d5 - Browse repository at this point
Copy the full SHA 534e2d5View commit details -
Fix #1407 Add reasoning.effort="minimal" and "verbosity" params to Mo…
Configuration menu - View commit details
-
Copy full SHA for e3b4856 - Browse repository at this point
Copy the full SHA e3b4856View commit details
Commits on Aug 14, 2025
-
Add a simple gpt-oss example (#1440)
This pull request adds a simple gpt-oss example app
Configuration menu - View commit details
-
Copy full SHA for 4c436b7 - Browse repository at this point
Copy the full SHA 4c436b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4699c3 - Browse repository at this point
Copy the full SHA e4699c3View commit details -
Add input validation and type conversion for user input (#1462)
## Summary Fixed a type safety issue where user input was being used as a string without conversion to integer, which could cause runtime errors and type mismatches. ## Problem The code was using `input()` which returns a string, but then using it directly in the f-string without converting it to an integer. This could cause: - Type mismatches when the string is passed to functions expecting integers - Runtime errors when users enter non-numeric input - Inconsistent behavior with the function signature expectations ## Changes Made Added proper input validation and type conversion: - Wrapped the input processing in a try-except block - Convert user input to integer using `int(user_input)` - Added error handling for invalid input with user-friendly message - Used the converted integer value in the f-string instead of raw string input This ensures type safety and provides better user experience with proper error handling.
Configuration menu - View commit details
-
Copy full SHA for 65cb91c - Browse repository at this point
Copy the full SHA 65cb91cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e976aff - Browse repository at this point
Copy the full SHA e976affView commit details -
Update all translated document pages (#1469)
Automated update of translated documentation Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 42a98f5 - Browse repository at this point
Copy the full SHA 42a98f5View commit details -
Migrate document translation script to gpt-5 (#1470)
This pull request migrates the translation script from o3 to gpt-5 model.
Configuration menu - View commit details
-
Copy full SHA for aea05a6 - Browse repository at this point
Copy the full SHA aea05a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab3b85f - Browse repository at this point
Copy the full SHA ab3b85fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 043b3d6 - Browse repository at this point
Copy the full SHA 043b3d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 184eafc - Browse repository at this point
Copy the full SHA 184eafcView commit details -
Update all translated document pages (#1473)
Automated update of translated documentation Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a9b8ab3 - Browse repository at this point
Copy the full SHA a9b8ab3View commit details -
Realtime: one guardrail trip event per response (#1458)
There was a problem with the current implementation, where for a single repsonse, we might have many different guardrails fire. We should have at most one per response.
Configuration menu - View commit details
-
Copy full SHA for c436389 - Browse repository at this point
Copy the full SHA c436389View commit details -
Configuration menu - View commit details
-
Copy full SHA for a17625e - Browse repository at this point
Copy the full SHA a17625eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 417c19b...a17625e