Comments (3)
On my system (Linux) I can execute the script from everywhere (I even created an alias in .bashrc in order to just type "chatgpt" from any folder), that's exactly the purpose of the line WORKDIR = Path(__file__).parent
What's your OS? Can you provide a screenshot of the error message?
from chatgpt-cli.
OS is Linux, Manjaro on ARM64. Shell is zsh
My git clone of the repo is in ~/coding/python/chatgpt-cli. This is where the config.yaml
and all other files are.
I have a symlink to call the program rather than an alias:
ln -s ~/coding/python/chatgpt-cli/chatgpt.py ~/.local/bin/chatgpt
The error thrown is simply "Configuration file not found" when I execute the chatcpt
alias.
To test, I've added an alias to zsh, that does indeed work.
from chatgpt-cli.
This is solved.
from chatgpt-cli.
Related Issues (20)
- add support for newline in prompts
- Some models are missing (e.g. gpt-4) HOT 1
- Code - extra spacing, hard to copy HOT 4
- chatgpt+ access HOT 1
- Git ignore file seems overly broad
- Readme should explain how to refer to the context files. HOT 4
- Auto create config folder and yaml during installation HOT 5
- Cope more gracefully with "Unknown error, status code 502" HOT 5
- Python code broken because of space prefix HOT 1
- GPT Models are not applied correctly HOT 1
- feature request: in-shell interface HOT 3
- multi-line input HOT 1
- Missing reference value for gpt-4-turbo
- Request: Be able to use OpenAI Assistant ID / Thread ID... HOT 4
- command not found after following installation instructions HOT 13
- default character encoding in some machines with Win OS causes crash! HOT 1
- Feature request: adding proper display of latex formula HOT 1
- Save full conversation HOT 1
- Documentation / --help HOT 1
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 chatgpt-cli.