Comments (10)
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.
yes please!
from chatblade.
pretty please
from chatblade.
please!
from chatblade.
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.
Its slower than an official homebrew tap as it builds everything from source.
Not untrue. Took about 20 minutes to compile but felt like...
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.
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.
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.
Here's an interview with Max about tea.
from chatblade.
brew supported, see readme
from chatblade.
Related Issues (20)
- Syntax error
- Changing model to gpt-4 does not work HOT 4
- Certificate verify failed: self signed certificate in certificate chain HOT 5
- TypeError: __str__ returned non-string (type dict) HOT 2
- Apostrophe's aren't escaped in input HOT 2
- Knowledge cut off September 2021 for GPT4 HOT 2
- feature request: support Creates an image given a prompt
- Add Arch to README.md#install
- API key problems problems (insufficient_quota) HOT 4
- -c 4 indeed does not work HOT 1
- UnicodeEncodeError in NVIM when Running ':! chatblade' Command HOT 1
- looks like -c 4 is not working. HOT 1
- Is clichat a copyleft violation of chatblade? HOT 1
- Azure OpenAI support for preview version fix HOT 1
- Add build instructions using a PEP517 installer HOT 3
- Feature request: Add OPENAI_API_ENDPOINT and --openai-api-endpoint="http://address:port/v1" HOT 2
- Default temperature value
- Support streaming to pipe
- error with version flag
- ChatGPT now insists on providing any formulas as LaTeX.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatblade.