gorilla-llm / gorilla-cli

LLMs for your CLI
https://gorilla.cs.berkeley.edu/
Apache License 2.0
1.22k stars 73 forks source link

Gorilla output empty when using a variable #19

Closed k-bx closed 11 months ago

k-bx commented 11 months ago

Raw command works while running through gorilla doesn't seem to understand the variable value:

$ gorilla print first 20 chars of a SCREENSHOT_B64 variable
🦍  echo $SCREENSHOT_B64 | cut -c 1-20

$ echo $SCREENSHOT_B64 | cut -c 1-20
iVBORw0KGgoAAAANSUhE
ShishirPatil commented 11 months ago

Hey @k-bx can you give me more information so I can try to recreate the issue? It seems to work on my computer ™️

image
k-bx commented 11 months ago

@ShishirPatil ah, I get it now. The difference between exported/non-exported variables. Not sure if it's expected or not.

image