gitbito / CLI

Bito CLI (Command Line Interface) provides a command line interface to the Bito AI chat functionality. Over time, CLI will add more functions and new command options to support complex automation and workflows. This is a very early Alpha version. We would love to get your feedback on the new features or improvements.
https://bito.ai
Other
536 stars 74 forks source link

Question about bito CLI usage and repeated captcha prompts #15

Closed hthappy closed 1 year ago

hthappy commented 1 year ago

Hello,

I tried running the command "bito -p 1.txt -f 1.py -c 1.log," but it returned an empty value. Additionally, when running bito, I keep receiving prompts to enter a captcha repeatedly.

I would like to know if this behavior is normal. Any insights or guidance on this matter would be greatly appreciated.

Thank you.

macky3099 commented 1 year ago

Hello @hthappy

Thank you for your post. Can you please paste a screenshot of what you see on the Bito CLI interface, especially the captcha part?

Because the prompt to enter captcha that you see is not the part of Bito CLI's any feature functionality. We would need some more details like a screenshot, machine you are using, and also if you are able to run "bito" command normally and interact with it smoothly to get to know what's really happening.

Thanks!

hthappy commented 1 year ago

Hello @hthappy

Thank you for your post. Can you please paste a screenshot of what you see on the Bito CLI interface, especially the captcha part?

Because the prompt to enter captcha that you see is not the part of Bito CLI's any feature functionality. We would need some more details like a screenshot, machine you are using, and also if you are able to run "bito" command normally and interact with it smoothly to get to know what's really happening.

Thanks!

Hello @macky3099

Every time I enter Bito's regular chat mode, I have to re-enter the verification code. I remember that in the previous version, it was not necessary to enter the verification code every time. Sometimes, during the input of the verification code, I am unable to enter any content. The interface remains unaffected, and I can only close the terminal and reopen it.

Using the command doesn't return any content: bito -p prompt.txt -f test.py

Tao@Macbook ~ % cat prompt.txt
Explain this code

Tao@Macbook ~ % cat test.py
def bubble_sort(lst):
  n = len(lst)
  for i in range(n-1):
    for j in range(n-1-i):
      if lst[j] > lst[j+1]:
        lst[j], lst[j+1] = lst[j+1], lst[j]
  return lst

lst = [5, 3, 8, 2, 9, 1]
print(bubble_sort(lst))

bito bito-1

bitoandy commented 1 year ago

@hthappy ,

Sorry about the issue, we have found the issue and are fixing it, will update you once the fix is live which should be within 2 hours.

bitoandy commented 1 year ago

The issue is now resolved. @hthappy , please check on your end by running Bito CLI and let us know if you face any issues.

hthappy commented 1 year ago

@bitoandy Thank you for resolving the issue. I have tested Bito CLI on my end and can confirm that it is now working properly. I will reach out if I encounter any further issues.