Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

break loop if API error #544

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

adayush
Copy link
Contributor

@adayush adayush commented Sep 27, 2023

Description

When the API resulted in error, error got logged but the while loop continued infinitely.
Added a break to fix this.
#545

Type of Change

  • Smaller change

How Has This Been Tested?

Have tested this locally

  • I stared at the code and made sure it makes sense

Suggested Checklist:

I have performed a self-review of my own code
New and existing unit tests pass locally with my changes

Copy link
Collaborator

@EmanuelCampos EmanuelCampos left a comment

Choose a reason for hiding this comment

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

Nice one

Copy link
Collaborator

@EmanuelCampos EmanuelCampos left a comment

Choose a reason for hiding this comment

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

Nice one

@EmanuelCampos EmanuelCampos merged commit 6bf1153 into run-llama:main Sep 27, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants