dylanjcastillo / shell-genie

Your wishes are my commands
MIT License
478 stars 36 forks source link

Stop to work with open ai in ubuntu 22.04.1. #9

Closed b0bd3v closed 1 year ago

b0bd3v commented 1 year ago

Hi @dylanjcastillo

shell-genie stop to work with open ai in ubuntu 22.04.1. With free-genie still work.

I noticed tha in open ai, show Command: `ls -d /` and free-genie show Command: ls -d /

It was some update or my mistake?

thx

dylanjcastillo commented 1 year ago

Hey @b0bd3v, are you using the latest version (e.g., openai-gpt-3.5-turbo?

b0bd3v commented 1 year ago
{
    'backend': 'openai-gpt-3.5-turbo',
    'os': 'Linux',
    'os_fullname': 'Ubuntu 23.04',
    'shell': 'zsh',
    'openai_api_key':  'xxxx'
}

Example

$ shell-genie ask "Qual comando para listar arquivos ocultos?"
Command: `ls -a`
Do you want to run the command? [y/n]: y
/bin/sh: 1: .: ..: not found
b0bd3v commented 1 year ago

This latest comment refers to the procedure being executed on another computer with the latest version of Ubuntu. And the same problem occurred.

dylanjcastillo commented 1 year ago

@b0bd3v, the last release should fix this issue!

b0bd3v commented 1 year ago

Now it's working. Thank you very much for your help. And thank you for developing this amazing tool.