dmosc / gptc Goto Github PK
View Code? Open in Web Editor NEWChatGPT CLI written in Rust
License: MIT License
ChatGPT CLI written in Rust
License: MIT License
Implement Tokio runtime to support asynchronous operations and thread creation. This would eventually allow for multithreaded async operations to optimize response times.
Bumps to major and minor versions will be at the discretion of the -- current -- maintainers.
Hi! Thanks for authoring this program.
I noticed the installation script specifically deals with Ubuntu for Linux.
It would be nice if it supports OpenSUSE and Red Hat based distros dependencies too (both could be sharing same dependency names, I believe).
Instead of exporting an empty variable into the shell config that the use must set manually, it would be nicer to prompt the user for the value during the installation process.
Running it with a user without quota returns me the following error:
[info]: waiting for reply...
thread 'main' panicked at 'no entry found for key', src/main.rs:18:17
I debugged it a bit with:
println!("{:?}", response);
And the message is:
Object {"error": Object {"code": Null, "message": String("You exceeded your current quota, please check your plan and billing details."), "param": Null, "type": String("insufficient_quota")}}
Maybe this could be handled to show a better descriptive error. And yeah, I have no quota, so I can't use the app, at least for now.
When I run gptc
with any option like --help
, I get the following error.
bash: /usr/local/bin/gptc: cannot execute binary file: Exec format error
I'm running Linux x86_64.
Linux's File System Hierarchy standard suggests using /usr/local
to store third-party nonessential OS software.
Many modern Unix-like systems (like FreeBSD via its ports system) install third-party packages into /usr/local, while keeping code considered part of the operating system in /usr.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.