vallamost
vallamost
WWasp-lang
Created by vallamost on 5/29/2024 in #đŸ™‹questions
Getting 404 when trying to use ai-generative mode
I am trying to create a project with ChatGPT with my own ChatGPT4 API key but I am getting a 404 whenever I try generating an AI project with WASP. Is there anything special that needs to be done with ChatGPT to make this work? Is there any wasp command to confirm that the API key works okay? Generated project skeleton. Generating plan (slowest step, usually takes 30 to 90 seconds)... Code agent failed with the http error: 404 .... host = "api.openai.com" port = 443 secure = True requestHeaders = [("Content-Type","application/json; charset=utf-8"),("Authorization","<REDACTED>")] path = "/v1/chat/completions" queryString = "" method = "POST" proxy = Nothing rawBody = False redirectCount = 10 responseTimeout = ResponseTimeoutMicro 300000000 requestVersion = HTTP/1.1 proxySecureMode = ProxySecureWithConnect }
5 replies