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

Missing CODEFLASH_API_KEY #5498

Open
sujal011 opened this issue Dec 31, 2024 · 2 comments
Open

Missing CODEFLASH_API_KEY #5498

sujal011 opened this issue Dec 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sujal011
Copy link

Bug Description

While running a codeflash workflow it throws error like this:
Screenshot_2024-12-31-20-57-57-476_com android chrome-edit

I was unable to create a pr and found this bug during checks for my pr

Reproduction

Whenever pushing a pr when it is checking the codeflash optimizer workflow it throws this error

Expected behavior

This error shouldn't be happening and the workflow for code flash should be running smoothly

Who can help?

No response

Operating System

Ubuntu

Langflow Version

latest main branch

Python Version

None

Screenshot

No response

Flow File

No response

@sujal011 sujal011 added the bug Something isn't working label Dec 31, 2024
Copy link

dosubot bot commented Dec 31, 2024

Hey @sujal011! I'm here to help you with any bugs, questions, or contributions. Let's squash those bugs together!

To resolve the "Missing CODEFLASH_API_KEY" error, you need to ensure that the CODEFLASH_API_KEY is set in the GitHub repository secrets. The workflow file specifies that the CODEFLASH_API_KEY is retrieved from the repository secrets:

env:
  CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}

Make sure that you have added the CODEFLASH_API_KEY to your repository's secrets in GitHub. You can do this by navigating to your repository on GitHub, going to "Settings" > "Secrets and variables" > "Actions", and then adding a new secret with the name CODEFLASH_API_KEY and the appropriate value [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@sujal011 sujal011 reopened this Dec 31, 2024
@sujal011
Copy link
Author

sujal011 commented Dec 31, 2024

8FIalGDwmE

The above workflow runs completely fine on my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant