Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for evals with no args #1517

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

thesofakillers
Copy link
Contributor

As raised in #1515, the args field of EvalSpec is optional. Therefore it is possible for evals with no args to exist. Here args is None.

However, currently our arg overriding code mistakingly does not support this API, since it assumes args is not None.

This PR addresses the issue with an if statement. Fixes #1515

Copy link
Collaborator

@JunShern JunShern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thank you for fixing this!

@JunShern JunShern merged commit 4ed2f6f into openai:main Apr 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting started example doesn't work - oieval attempts to update a None type object
2 participants