You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed mods using brew, changed the config to set the model to "claude3.5-sonnet", added my ANTHROPIC_API_KEY to the environment and then ran "mods" to test which works fine. However, when I pipe input to any "mods -f" command I get this error:
$ curl -q ipinfo.io | mods -f "Who is my ISP?" | glow
ERROR anthropic API request error.
error, status code: 400, message: system: text content blocks must contain non-whitespace text
Setup
OS: Ubuntu 22.04 via WSL2
Shell: bash
Terminal Emulator: any
Terminal Multiplexer: none
Expected behavior
Some output from the AI model rather than an API request error.
The text was updated successfully, but these errors were encountered:
Describe the bug
I installed mods using brew, changed the config to set the model to "claude3.5-sonnet", added my
ANTHROPIC_API_KEY
to the environment and then ran "mods" to test which works fine. However, when I pipe input to any "mods -f" command I get this error:Setup
Expected behavior
Some output from the AI model rather than an API request error.
The text was updated successfully, but these errors were encountered: