GithubHelp home page GithubHelp logo

Comments (10)

npiv avatar npiv commented on June 4, 2024 3

I tried but homebrew official repo doesnt allow brews on a repository that is less than 30 days old :(

So you will have to wait 28 days.

In the meantime I set up a hombrew tap, so the following should work:
brew install npiv/chatblade/chatblade

Its slower than an offical homebrew tap as it builds everything from source.

Would be good to hear if its working for others. The 30d wait is out of my hands though.

from chatblade.

PabloC avatar PabloC commented on June 4, 2024

yes please!

from chatblade.

mardoqueo avatar mardoqueo commented on June 4, 2024

pretty please

from chatblade.

rhozacc avatar rhozacc commented on June 4, 2024

please!

from chatblade.

chrisfinazzo avatar chrisfinazzo commented on June 4, 2024

Beat me to it.

If not Homebrew itself, at least pipx would be nice.

From there, you could do brew install pipx && pipx install chatblade and you're off to the races.

from chatblade.

chrisfinazzo avatar chrisfinazzo commented on June 4, 2024

Its slower than an official homebrew tap as it builds everything from source.

Not untrue. Took about 20 minutes to compile but felt like...

eternity

That aside, I didn't expect to be rate-limited immediately after setting an API key:

Traceback (most recent call last):
  File "/usr/local/bin/chatblade", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/chatblade/__main__.py", line 5, in main
    cli.cli()
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/chatblade/cli.py", line 164, in cli
    handle_input(query, params)
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/chatblade/cli.py", line 154, in handle_input
    messages = fetch_and_cache(messages, params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/chatblade/cli.py", line 107, in fetch_and_cache
    response_msg, _ = chat.query_chat_gpt(messages, params)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/chatblade/chat.py", line 68, in query_chat_gpt
    result = openai.ChatCompletion.create(messages=dict_messages, **config)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/openai/api_resources/chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
                           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/openai/api_requestor.py", line 226, in request
    resp, got_stream = self._interpret_response(result, stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/openai/api_requestor.py", line 619, in _interpret_response
    self._interpret_response_line(
  File "/usr/local/Cellar/chatblade/0.0.2/libexec/lib/python3.11/site-packages/openai/api_requestor.py", line 682, in _interpret_response_line
    raise self.handle_error_response(
openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.

from chatblade.

npiv avatar npiv commented on June 4, 2024

Anyone here familiar with tea.xyz: #23

Not sure about this PR, it is claimed to be by the hombrew creator, never used it myself

from chatblade.

magnusviri avatar magnusviri commented on June 4, 2024

Anyone here familiar with tea.xyz: #23

Not sure about this PR, it is claimed to be by the hombrew creator, never used it myself

Tea is indeed by the creator of Homebrew.. I'm a volunteer involved with tea, so I'm not exactly an impartial observer.

from chatblade.

magnusviri avatar magnusviri commented on June 4, 2024

Here's an interview with Max about tea.

from chatblade.

npiv avatar npiv commented on June 4, 2024

brew supported, see readme

from chatblade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.