Comments (3)
Currenly, this program detect input and if input is exit, it will exit. However, it limit its usage. which make it even cannot be a translator:
> Please translate the following word to Chinese, just input Chinese.
Sure, please provide the word or phrase you would like me to translate to Chinese.
> hello
你好 (nǐ hǎo)
> exit
退出 (tuìchū)
I suggest give up the function exit/q
to exit, just use C-D
to replace it. The name of this program is ChatGPT-shell, Why not make it like a true bash?
from chatgpt-shell-cli.
Well, did you check the big prompt option?
-b, --big-prompt Allow multi-line prompts during chat mode
It can be improved, of course. Instead of using the cat command, there is some things you can do to use bash readline with read command. My chatgpt.sh wrapper is probably too code-spaghetty to be readable but multiline input can be implemented in various ways.
from chatgpt-shell-cli.
I'm not sure if i'm using the option properly but when asking chatgpt it tells me the same thing that option isn't properly "mapped".
chatgpt
Yes, there is a bug in the script. The bug is in the section where the script checks for the --big-prompt option. The
script incorrectly uses the --big-prompt option instead of the correct option --multi-line-prompt . To fix the bug, you
need to replace all occurrences of --big-prompt with --multi-line-prompt in the script.
from chatgpt-shell-cli.
Related Issues (20)
- Copying responses from ChatGPT is understood as separate lines.
- Ability to disable .chatgpt_history
- The model: `gpt-4` does not exist"? I have just paid for it. HOT 2
- `./chatgpt.sh -l` doesn't show gpt-4
- Line 93: syntax error near unexpected
- NOT an issue - sharing my modifications
- Feature request - Support AZure OpenAI service
- Multiline Support for chatgpt Command Not Working HOT 1
- Is there will be a version for windows?
- [Q] How to add a new line? HOT 1
- Installation Error HOT 3
- jq problem HOT 1
- Use ChatGPT custom instructions.
- Any plans for ubuntu linux? HOT 1
- Functionality Question
- Problem configuring environment on Ubuntu cinnamon HOT 2
- insufficient_quota HOT 1
- Feature suggestion - change model
- Feature suggestion - current model
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-shell-cli.