Git Product home page Git Product logo

Comments (8)

gd3kr avatar gd3kr commented on July 1, 2024

Huh. Can you check if the latest release solves the issue? I updated the UI to include a field for the key in the addon preferences

from blendergpt.

Shraknard avatar Shraknard commented on July 1, 2024

Nope, exact same error as before. I'm running the latest blender version, added the API key in the filed but still got the "Failed to generate Blender Python code".

from blendergpt.

actualactual avatar actualactual commented on July 1, 2024

Seems I'm stuck with the same issue, was about to pop in here and mention the same thing

from blendergpt.

gd3kr avatar gd3kr commented on July 1, 2024

Huh, super weird. I tested with Blender 3.3, and assumed 3.4 would be fine. I'm investigating if it's a 3.4 issue right now. In the meantime, could you check if it works for an earlier version?

from blendergpt.

gd3kr avatar gd3kr commented on July 1, 2024

Just checked, works fine on 3.4 as well. Could you paste the stack trace when the error is shown?
image

from blendergpt.

actualactual avatar actualactual commented on July 1, 2024

Here's the console error:
Warning: 1 x Draw window and swap: 7.0847 ms, average: 7.08470005 ms INFO:openai:error_code=model_not_found error_message='The model: gpt-4 does not exist' error_param=None error_type=invalid_request_error message='OpenAI API error received' stream_error=False

from blendergpt.

gd3kr avatar gd3kr commented on July 1, 2024

Fixed in the latest release (1 minute ago). It was an issue with GPT-3.5 not being used when the API key does not have access to GPT-4
https://github.com/gd3kr/BlenderGPT/releases/tag/v1.0.2

from blendergpt.

Shraknard avatar Shraknard commented on July 1, 2024

Great, it seems to work well now, thanks!

from blendergpt.

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.