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

feat: add huggingface endpoint retry #3236

Merged

Conversation

vmellos
Copy link
Contributor

@vmellos vmellos commented Aug 7, 2024

Sometimes when calling Hugging Face API model, it's failed and don't have any retry implemented, this PR just add the ability to user define a number of retry before the call fails.

#3210

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 7, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3236.dmtpw4p5recq1.amplifyapp.com

Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

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

Hey @vmellos

Thank you.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 8, 2024
@ogabrielluiz ogabrielluiz force-pushed the feat/huggingface-endpoint-retry branch from 5a53300 to 40b4d6b Compare August 8, 2024 15:05
@ogabrielluiz ogabrielluiz changed the title Feat/huggingface endpoint retry feat: add huggingface endpoint retry Aug 8, 2024
@ogabrielluiz ogabrielluiz enabled auto-merge (squash) August 8, 2024 15:05
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Aug 8, 2024
@ogabrielluiz ogabrielluiz force-pushed the feat/huggingface-endpoint-retry branch from 40b4d6b to b0f0aa5 Compare August 8, 2024 20:30
@ogabrielluiz ogabrielluiz merged commit d606a4d into langflow-ai:main Aug 8, 2024
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants