-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
host.promiseQueue Causing Cache Misses and Repeated Requests #972
Comments
Feedback: The issue described is that To resolve this, you should ensure that each call to Additionally, consider using
|
Good one. I'll look into this next week. |
|
This works now: const innerPrompt = `Generate 2 word poem. ${Math.random()}`
await Promise.all(
Array(10)
.fill(0)
.map(async (_, i) => {
await runPrompt(innerPrompt, { cache: "inner", label: `run-${i}` })
})
) |
v1.87.0, I found that
host.promiseQueue
causes the cache to miss, resulting in repeated requests.The text was updated successfully, but these errors were encountered: