fraserxu / diagram-gpt

Draw flowchart, sequence diagram, class diagram, user journey, gantt, C4C diagram with nature language.
https://diagram-gpt.fraserxu.dev
283 stars 68 forks source link

I tried to use your code but it's not working I received a warning #3

Open AzizAw8 opened 1 year ago

andrewstarks commented 1 year ago

Me too. Steps to reproduce:

  1. Create a brand new OpenAI API key with my paid account. (that detail shouldn't matter, just being complete)
  2. Enter the new OpenAI key into the "Open AI Key" field under the key icon.
  3. Click Save. (nothing happens. i would expect the window to disappear and for it to acknowledge that I saved the API key)
  4. Enter any text at all (does not matter)
  5. A helpful error appears that says "Something went wrong."

This same error happens if you type random garbage into the "Open API Key" field, or if you enter a real key. So it could be authentication errors or anything else, too.

tsenturion commented 11 months ago

same. Does not work on site, does not work on localhost

scottrigby commented 10 months ago

Same experience on https://diagram-gpt.fraserxu.dev/

Cindy-Arason commented 9 months ago
Picture1
Cindy-Arason commented 9 months ago

I am after the architectural drawing of this image.

cartheur commented 9 months ago

Trying the web version and the same problem persists: A helpful error appears that says "Something went wrong."

Geekays commented 6 months ago

Yes, It is not working for me on the website: https://diagram-gpt.fraserxu.dev/

mcradcliffe2490 commented 5 months ago

As of writing this is still not working

Aksash32 commented 3 months ago

Same shit. Looks like project abandoned. No answer, no support.

inregards2pluto commented 3 months ago

Same here. Tried both through the website and spinning up on localhost. However, my terminal DID give me a more detailed error message that popped when the "Something went wrong" error message popped in my browser:

]
[Error: OpenAI API returned an error: {
    "error": {
        "message": "The model `gpt-4` does not exist or you do not have access to it.",
        "type": "invalid_request_error",
        "param": null,
        "code": "model_not_found"
    }
}
]

I also have a paid account and have access to both 3.5 and 4, so my suspicion is something is going wrong with the OpenAPI calls. Though I'm not sure if it's on the OpenAPI side or with diagram-gpt.

julZuern commented 1 month ago

Same here, might be about the naming; When I check the 'available model' list in the account settings it states:

gpt-3.5-turbo-0125 gpt-3.5-turbo-0613 gpt-3.5-turbo-1106 gpt-4-0613 gpt-4o-2024-05-13 gpt-4o-mini-2024-07-18 gpt-3.5-turbo-0613

Maybe 'gpt-4' is not referenced to the respective identifier? Sorry, ain't got time to test that myself rn.