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

Fixes crash UnboundLocalError active_block #818

Merged
merged 5 commits into from
Dec 14, 2023

Conversation

CyanideByte
Copy link
Contributor

Describe the changes you have made:

Fixes a crash (UnboundLocalError: cannot access local variable 'active_block' where it is not associated with a value)

Reference any relevant issue (Fixes #000)

https://discord.com/channels/1146610656779440188/1181298221763547219

  • I have performed a self-review of my code:

I have tested the code on the following OS:

  • Windows
  • MacOS
  • Linux

AI Language Model (if applicable)

  • GPT4
  • GPT3
  • Llama 7B
  • Llama 13B
  • Llama 34B
  • Huggingface model (Please specify which one)

@CyanideByte CyanideByte changed the title Fixes UnboundLocalError active_block Fixes crash UnboundLocalError active_block Dec 5, 2023
@CyanideByte
Copy link
Contributor Author

@KillianLucas This is a follow up fix for PR#770 because one of the recent commits is causing the previous PR to crash when activated.

@KillianLucas
Copy link
Collaborator

Nice, great catch/fix @CyanideByte. Will be in the next update.

@KillianLucas KillianLucas merged commit 4639d71 into OpenInterpreter:main Dec 14, 2023
1 check failed
@CyanideByte CyanideByte deleted the active-block-unbound branch December 21, 2023 13:50
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.

2 participants