Created
August 22, 2023 17:16
-
-
Save gkossakowski/57ff9167d96db10b8a6caedb5747f39f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ llm --cid 01h8f03gxe1bept7sz4yww2t8t -t qa-steps-to-json "" | |
Traceback (most recent call last): | |
File "/opt/homebrew/bin/llm", line 8, in <module> | |
sys.exit(cli()) | |
^^^^^ | |
File "/opt/homebrew/Cellar/llm/0.8/libexec/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ | |
return self.main(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/homebrew/Cellar/llm/0.8/libexec/lib/python3.11/site-packages/click/core.py", line 1078, in main | |
rv = self.invoke(ctx) | |
^^^^^^^^^^^^^^^^ | |
File "/opt/homebrew/Cellar/llm/0.8/libexec/lib/python3.11/site-packages/click/core.py", line 1688, in invoke | |
return _process_result(sub_ctx.command.invoke(sub_ctx)) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/homebrew/Cellar/llm/0.8/libexec/lib/python3.11/site-packages/click/core.py", line 1434, in invoke | |
return ctx.invoke(self.callback, **ctx.params) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/homebrew/Cellar/llm/0.8/libexec/lib/python3.11/site-packages/click/core.py", line 783, in invoke | |
return __callback(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/homebrew/Cellar/llm/0.8/libexec/lib/python3.11/site-packages/llm/cli.py", line 193, in prompt | |
prompt, system = template_obj.evaluate(prompt, params) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/homebrew/Cellar/llm/0.8/libexec/lib/python3.11/site-packages/llm/templates.py", line 34, in evaluate | |
prompt = self.interpolate(self.prompt, params) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/homebrew/Cellar/llm/0.8/libexec/lib/python3.11/site-packages/llm/templates.py", line 48, in interpolate | |
"Missing variables: {}".format(", ".join(missing)) | |
^^^^^^^^^^^^^^^^^^ | |
TypeError: sequence item 0: expected str instance, NoneType found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment