Comments (6)
Pro account timeout configurable upto 5 mins
https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out
from openai-assistants-quickstart.
Instructing the Assistant to limit responses to ~200 tokens fixes the problem, but thatβs a weak workaround.
Seems to be a timeout issue on the Run when executed through the production environment (Vercel). Still investigating.
from openai-assistants-quickstart.
I am also getting this when using Vercel. Also no issue when running locally. Very annoying..... Use case we are playing with won't work with limiting responses to 200 tokens.
from openai-assistants-quickstart.
Pro account timeout configurable upto 5 mins https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out
This is it! I am currently only on Free plan while we play with ideas so I added:
export const maxDuration = 60; // 60 seconds maximum duration on free plan
to app/api/assistants/threads/[threadId]/messages/route.ts
Can't imagine a reponse needing more than 60 secs (esp. with the assistant using the 4o model!)
Thanks @ameer-clara for the direction. Appreciate it.
from openai-assistants-quickstart.
Ah ok. Thanks @ameer-clara ! Very much appreciated!
from openai-assistants-quickstart.
Related Issues (10)
- Clicking create assistant BadRequestError
- Pagination and Rate Limit Issues in File Viewer When Handling Larger VectorStores HOT 2
- how to use other api url? HOT 2
- error
- [I found no better way of contacting you:] the webpage on 'start using chatgpt instantly' provides no way of starting to use chatgpt HOT 1
- How to install depedencies?
- Feedback form not public HOT 1
- `createAndStream` is deprecated
- When I send messages there's error shows HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openai-assistants-quickstart.