fpopa
fpopa
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
yup, I just used usemage.ai in the end - quite weird 🤷 thanks anyway 📈
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
nice, I was spending some time researching wasp so I went to youtube as well, and that's where it poped up. just downloaded the zip, thanks for the help again, have a nice week ahead!
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
didn't know about usemage.ai 👍
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
No rush especially not on a Sunday evening 🙂 thanks for checking things out @sodic
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
"Too many reqeusts" suggests this happens after you exceed some number of requests, while in reality it's about how many requests you send in a certain time window (rate limiting). Therefore, you can get this status code with as little as two rapid requests (depending on the server's settings).
yep, I totally agree 🙂 I'm also a engineer - mostly doing backend nowadays
Based on the 404 for GPT 4 and 429 for GPT 3, my best guess is that your Open AI plan is to restrictive for Wasp AI.
do you have docs about which plans are supported and which not? I tried personal - not paid and a work paid plan
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
interestingly my usage in https://platform.openai.com/usage shows 0 for everything, including API requests 🤷
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
➜ wasp wasp new:ai expenses "Build an expense tracker that supports multiple users" '{ "planningGptModel": "gpt-3.5-turbo-0125" }'

Generating a new Wasp project named expenses!

Using gpt-3.5-turbo-0125 (temp 0.7) for planning and gpt-3.5-turbo-0125 (temp 0.7) for coding.

Generating project skeleton...
> Wrote to file: expenses/.wasproot
> Wrote to file: expenses/.waspignore
> Wrote to file: expenses/.gitignore
> Wrote to file: expenses/tsconfig.json
> Wrote to file: expenses/public/.gitkeep
> Wrote to file: expenses/src/vite-env.d.ts
> Wrote to file: expenses/main.wasp
> Wrote to file: expenses/package.json
> Wrote to file: expenses/src/pages/auth/Login.jsx
> Wrote to file: expenses/src/pages/auth/Signup.jsx
> Wrote to file: expenses/.env.server
> Wrote to file: expenses/tailwind.config.cjs
> Wrote to file: expenses/postcss.config.cjs
> Wrote to file: expenses/src/Layout.jsx
> Wrote to file: expenses/src/Main.css
Generated project skeleton.

Generating plan (slowest step, usually takes 30 to 90 seconds)...
Caught retryable HTTP exception while doing ChatGPT request: Status code: 429; HttpExceptionRequest Request {
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
}
(StatusCodeException (Response {responseStatus = Status {statusCode = 429, statusMessage = "Too Many Requests"}, responseVersion = HTTP/1.1, respon
➜ wasp wasp new:ai expenses "Build an expense tracker that supports multiple users" '{ "planningGptModel": "gpt-3.5-turbo-0125" }'

Generating a new Wasp project named expenses!

Using gpt-3.5-turbo-0125 (temp 0.7) for planning and gpt-3.5-turbo-0125 (temp 0.7) for coding.

Generating project skeleton...
> Wrote to file: expenses/.wasproot
> Wrote to file: expenses/.waspignore
> Wrote to file: expenses/.gitignore
> Wrote to file: expenses/tsconfig.json
> Wrote to file: expenses/public/.gitkeep
> Wrote to file: expenses/src/vite-env.d.ts
> Wrote to file: expenses/main.wasp
> Wrote to file: expenses/package.json
> Wrote to file: expenses/src/pages/auth/Login.jsx
> Wrote to file: expenses/src/pages/auth/Signup.jsx
> Wrote to file: expenses/.env.server
> Wrote to file: expenses/tailwind.config.cjs
> Wrote to file: expenses/postcss.config.cjs
> Wrote to file: expenses/src/Layout.jsx
> Wrote to file: expenses/src/Main.css
Generated project skeleton.

Generating plan (slowest step, usually takes 30 to 90 seconds)...
Caught retryable HTTP exception while doing ChatGPT request: Status code: 429; HttpExceptionRequest Request {
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
}
(StatusCodeException (Response {responseStatus = Status {statusCode = 429, statusMessage = "Too Many Requests"}, responseVersion = HTTP/1.1, respon
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
got 429... how many requests do we do against the API for this simple app generation?
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
no rush folks, feel free to continue investigating this Monday 🙂
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
i see the authorization header is redacted, but there might be some info in the cookie of the response which I decided not to fully paste 🤔
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
StatusCodeException (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, responseVersion = HTTP/1.1, responseHeaders = [("Date","Sun, 21 Apr 2024 16:54:23 GMT"),("Content-Type","application/json; charset=utf-8"),("Transfer-Encoding","chunked"),("Connection","keep-alive"),("vary","Origin"),("x-request-id[......]
StatusCodeException (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, responseVersion = HTTP/1.1, responseHeaders = [("Date","Sun, 21 Apr 2024 16:54:23 GMT"),("Content-Type","application/json; charset=utf-8"),("Transfer-Encoding","chunked"),("Connection","keep-alive"),("vary","Origin"),("x-request-id[......]
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
}
}) "")
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
}
}) "")
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
➜ wasp wasp new:ai expenses "Build an expense tracker that supports multiple users" "{}"


Generating a new Wasp project named expenses!

Using gpt-4-0613 (temp 0.7) for planning and gpt-3.5-turbo-0125 (temp 0.7) for coding.

Generating project skeleton...
> Wrote to file: expenses/.wasproot
> Wrote to file: expenses/.waspignore
> Wrote to file: expenses/.gitignore
> Wrote to file: expenses/tsconfig.json
> Wrote to file: expenses/public/.gitkeep
> Wrote to file: expenses/src/vite-env.d.ts
> Wrote to file: expenses/main.wasp
> Wrote to file: expenses/package.json
> Wrote to file: expenses/src/pages/auth/Login.jsx
> Wrote to file: expenses/src/pages/auth/Signup.jsx
> Wrote to file: expenses/.env.server
> Wrote to file: expenses/tailwind.config.cjs
> Wrote to file: expenses/postcss.config.cjs
> Wrote to file: expenses/src/Layout.jsx
> Wrote to file: expenses/src/Main.css
Generated project skeleton.

Generating plan (slowest step, usually takes 30 to 90 seconds)...
Code agent failed with the http error: 404
wasp-bin: HttpExceptionRequest Request {
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
}
➜ wasp wasp new:ai expenses "Build an expense tracker that supports multiple users" "{}"


Generating a new Wasp project named expenses!

Using gpt-4-0613 (temp 0.7) for planning and gpt-3.5-turbo-0125 (temp 0.7) for coding.

Generating project skeleton...
> Wrote to file: expenses/.wasproot
> Wrote to file: expenses/.waspignore
> Wrote to file: expenses/.gitignore
> Wrote to file: expenses/tsconfig.json
> Wrote to file: expenses/public/.gitkeep
> Wrote to file: expenses/src/vite-env.d.ts
> Wrote to file: expenses/main.wasp
> Wrote to file: expenses/package.json
> Wrote to file: expenses/src/pages/auth/Login.jsx
> Wrote to file: expenses/src/pages/auth/Signup.jsx
> Wrote to file: expenses/.env.server
> Wrote to file: expenses/tailwind.config.cjs
> Wrote to file: expenses/postcss.config.cjs
> Wrote to file: expenses/src/Layout.jsx
> Wrote to file: expenses/src/Main.css
Generated project skeleton.

Generating plan (slowest step, usually takes 30 to 90 seconds)...
Code agent failed with the http error: 404
wasp-bin: HttpExceptionRequest Request {
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
}
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
Cool, i did it interactively both times, i'll try the non-interactive way as well by supplying all the parameters. Let me get back to you later and thanks for looking into it
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
yep, that's what I'm trying - but it fails with 404 after I input the required description and the other things it requests after
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
0.13.2
35 replies
WWasp-lang
Created by fpopa on 4/19/2024 in #🙋questions
I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work
I understood how to generate it but it didn't work. I exported the generated API KEYs from a personal account as well as a company premium account. it might be some bad code used as the request ends up with 404 🙂
35 replies