-
Notifications
You must be signed in to change notification settings - Fork 6
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
UnboundLocalError on Arm64 M3 Mac with blablador backend #197
Comments
Hi @thawn , thanks for the report. Unfortunately, I cannot reproduce this on my PC: As a hardware-related issue is unlikely, I presume it has something to do with your conda environment. Could you share the output of Thanks again! |
Ah, I presume this is related to #147 and the related fix. I'll do a little modification in a minute... |
You know what, I think git-bob can do this. git-bob think about this! |
This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully. Hi @thawn, The error Here's a minimal fix in the # Initialize instructions before the try block
instructions = ""
try:
instructions = func()
except:
pass This should prevent the error by ensuring Best, |
Fantastic. git-bob implement exactly this! |
Hm, let's add the statement before the git-bob solve |
Ok, git-bob didn't manage, but I released bia-bob 0.21.2 Would you mind checking if it works for you @thawn ?
|
@haesleinhuepf thanks a lot for the lightning-fast fix! I just tested it on my machine and it works perfectly. FYI, I had to switch to the model 'alias-large' to get a useful response. |
Awesome, thanks for the feedback! I must admit, I haven't used blablador for a while (happy that it still works) and get the most ouf of bia-bob using claude-3.5-sonnet these days. The new gpt4o-2024-08-06 has the longest output (16k tokens) btw in case you're generating really long code snippets ;-) Thanks again! |
Whenever I submit a prompt to blablador, I get the following error message:
UnboundLocalError: cannot access local variable 'instructions' where it is not associated with a value
minimal notebook:
biabob.ipynb.zip
steps to reproduce:
The text was updated successfully, but these errors were encountered: