Git Product home page Git Product logo

Comments (7)

borisivnc avatar borisivnc commented on May 20, 2024 1

@gencay Here are some screenshots of the prompt and the errors : https://imgur.com/a/88JqLhg

from vscode-chatgpt.

gencay avatar gencay commented on May 20, 2024

@borisivnc which method are you using - browser based ChatGPT or API Key method? Looks similar to #51

from vscode-chatgpt.

borisivnc avatar borisivnc commented on May 20, 2024

@gencay browser based

from vscode-chatgpt.

gencay avatar gencay commented on May 20, 2024

@borisivnc thanks. Could you share your full question/prompt if you are able to consistently reproduce this issue? I am not able to repro it to figure out the issue

from vscode-chatgpt.

tuefekci avatar tuefekci commented on May 20, 2024

I have the same issues, but sometimes it works directly on the website I can see that the plugin->chatgpt works but chatgpt->plugin results in JSON error.

Is there a way to enable logging for your plugin so that we can give you better information? I'm not really into code plugin development, sorry.

Thanks for your work anyway.

from vscode-chatgpt.

gencay avatar gencay commented on May 20, 2024

Hi @tuefekci thank you! A reproducible prompt that results in Json error will be helpful. I will look into reproducing and spotting the issue when I have time soon along with the other prompt provided in this thread

from vscode-chatgpt.

gencay avatar gencay commented on May 20, 2024

@tuefekci @borisivnc I found out that this is due to recent OpenAI API changes. I have a fix that's being rolled out right now. I will update the thread once it's ready. OpenAI sends non-whitespace characters if they are there in the prompt, thus causing the response to be not in proper json format. My fix will catch any exceptions during the json parsing and ignore those results instead of failing. Please update to v3.1.1.

from vscode-chatgpt.

Related Issues (20)

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.