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

Fix OpenAILLM.api_key due to SecretStr and StepInput wrong imports #359

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

alvarobartt
Copy link
Member

Description

This PR solves the issue with SecretStr as the default value of api_key in OpenAILLM was set to be the OPENAI_API_KEY environment variable, and now that's controlled within the field_validator.

Also there were some wrong imports with StepInput as it was moved from distilabel.pipeline.step.base to distilabel.pipeline.step.typing.

@alvarobartt alvarobartt added this to the 1.0.0 milestone Feb 23, 2024
@alvarobartt alvarobartt self-assigned this Feb 23, 2024
@alvarobartt alvarobartt merged commit b8bc90e into core-refactor Feb 23, 2024
1 check passed
@alvarobartt alvarobartt deleted the fix-secretstr-and-stepinput-imports branch February 23, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant