diciaup / assistant-cli Goto Github PK
View Code? Open in Web Editor NEWA comfortable CLI tool to use ChatGPT service🔥
License: MIT License
A comfortable CLI tool to use ChatGPT service🔥
License: MIT License
Describe the bug
Apparently the CLI is not correctly executed when called
AssistantCli Version
Add the version of your AssistantCli
To Reproduce
Steps to reproduce the behavior:
Error: Command failed: /tmp/node_modules/electron/dist/electron --no-logging /tmp/node_modules/assistant-cli/dist/fetch-token.js
/bin/sh: línea 1: /tmp/node_modules/electron/dist/electron: No such file or directory
at checkExecSyncError (node:child_process:871:11)
at execSync (node:child_process:943:15)
at getToken (/tmp/node_modules/assistant-cli/dist/app.js:25:21)
at /tmp/node_modules/assistant-cli/dist/app.js:58:18
at Generator.next (<anonymous>)
at fulfilled (/tmp/node_modules/assistant-cli/dist/app.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 127,
signal: null,
output: [
null,
<Buffer >,
<Buffer 2f 62 69 6e 2f 73 68 3a 20 6c c3 ad 6e 65 61 20 31 3a 20 2f 74 6d 70 2f 6e 6f 64 65 5f 6d 6f 64 75 6c 65 73 2f 65 6c 65 63 74 72 6f 6e 2f 64 69 73 74 ... 37 more bytes>
],
pid: 9219,
stdout: <Buffer >,
stderr: <Buffer 2f 62 69 6e 2f 73 68 3a 20 6c c3 ad 6e 65 61 20 31 3a 20 2f 74 6d 70 2f 6e 6f 64 65 5f 6d 6f 64 75 6c 65 73 2f 65 6c 65 63 74 72 6f 6e 2f 64 69 73 74 ... 37 more bytes>
}
Expected behavior
The program runs normally
CLI (please complete the following information):
Describe the bug
Idk if it's my setup, windows (version), but whenever i say "could you expand more?" Chatgpt replies as if it's a new conversation and asks for context. I've installed it just like the instruction said "npm install -g assistant-cli". I haven't tried this on linux but seeing the screenshot in the README.md i assume it works fine there.
AssistantCli Version
1.3.6
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should know what the context of the last conversation
CLI (please complete the following information):
Describe the bug
I download, run, and sign in to chatgpt. Then it just stays at processing...| forever. Once i restart the PC, it seems assistant-cli is no longer downloaded.
AssistantCli Version
1.4.0
Expected behavior
I expect it to process.
Screenshots
If i really need to reproduce this I will but my first line states everything did and what I saw.
CLI (please complete the following information):
Additional context
Add any other context about the problem here.
Bug
The following message appears for each query:
processing... |SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Socket.<anonymous> (C:\Users\username\AppData\Roaming\npm\node_modules\assistant-cli\dist\core.js:34:48)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) error:
The response, however, is returned and displayed correctly.
AssistantCli Version
1.3.4
To Reproduce
Steps to reproduce the behavior:
CLI:
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.