Git Product home page Git Product logo

assistant-cli's People

Contributors

diciaup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

assistant-cli's Issues

SyntaxError: Unexpected end of JSON input

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:

  1. Launch command 'assistant Hello World'
  2. See error
  3. Try to launch assistant clean
  4. Re-launch command 'assistant Hello World'
  5. See error

CLI:

  • OS: Win
  • OS Version 11
  • AssistantCli Version 1.3.4

Access denied. Somehow.

Describe the bug
Access denied. I already logged in and this the response.

AssistantCli Version
1.1.2

Screenshots
Screenshot_521

Unable to process on windows 11

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):

  • OS: Windows
  • OS Version 11
  • AssistantCli Version 1.4.0

Additional context
Add any other context about the problem here.

Context don't persist in "assistant chat"

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:

  1. Launch command 'assistant chat'
  2. Start a conversation that requires future contexts
  3. Ask it a task that requires context of the last conversation

Expected behavior
It should know what the context of the last conversation

Screenshots
image_2023-01-19_173930667

CLI (please complete the following information):

  • OS: Windows
  • OS Version: 10
  • AssistantCli Version: 1.3.6

Command failed /tmp/node_modules/electron/dist/electron: No such file or directory

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:

  1. Launch command 'npx assistant-cli || npm install assistant-cli'
  2. This error is displayed:
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

Screenshots
image

CLI (please complete the following information):

  • OS: NixOS
  • OS Version 23.05

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.