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
Recent commit broke the gpt usage (for me) #29
Comments
Hmm, I can't reproduce on a clean installation. What is your python version? GPT-4 thinks you're using an outdated version. Could you try the suggested fix below as well?
|
I'm having same issue. Python 3.8.10 on Ubuntu 20.04 under WSL2.
|
I've also hit this on a clean install on Mac. The issue occurs for any Python <3.9 due to the typing error in upstream In addition to fixing the type issue,
@kharvd: do you want to make |
…ge (#39) Upstream `google-generativeai@0.1.0` requires Python 3.9+. The older version we currently use (`0.1.0rc2` ) implicitly requires it anyway (see #29). macOS Ventura's default `python3` version is `3.8.9` so this might introduce friction to many future adopters. I propose we unbreak this for now, and consider alternatives (ex. conditional loading) if we're worried about it.
Current behaviour (46247d3)
Expected behaviour (7752b05)
~/p/g/gpt-cli ❯❯❯ ./gpt.py dev ✘ 1 main
Hi! I'm here to help. Type q or Ctrl-D to exit, c or Ctrl-C to clear the
conversation, r or Ctrl-R to re-generate the last response. To enter multi-line
mode, enter a backslash \ followed by a new line. Exit the multi-line mode by
pressing ESC and then Enter (Meta+Enter).
The text was updated successfully, but these errors were encountered: