mirror of
https://github.com/run-llama/sec-insights.git
synced 2026-07-01 20:24:03 -04:00
anyio.ClosedResourceError #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CamDuffy1 on GitHub (Mar 1, 2024).
I've noticed an
anyio.ClosedResourceErroris raised intermittently on the backend server when making queries through the frontend conversation interface. I'm unsure the cause of this error and whether it affects the generated response.I've seen this exception raised at times when I get a response that relevant context cannot be found, but also at times when I get an accurate response to the same query.
It seems to happen randomly (i.e., does not always re-appear when I repeat a query that caused it). I see there was a pull reqest in November 2023 to fix what appears to be the same issue by upgrading to LlamaIndex v0.9.7. However, I am seeing this issue while running the app locally from Codespace using the latest version of the main branch, which includes this version of LlamaIndex.
@mariagancayco commented on GitHub (Jul 10, 2024):
I'm hitting this as well after sending a trivial "Hi" message:
Any updates from the sec-insights team? Thank you so much for this work! (Trying to find your discord so I can investigate/research this more)
@mariagancayco commented on GitHub (Jul 10, 2024):
FWIW, I'm unfortunately seeing this both in GitHub codespaces and in my local setup.
@khtdr commented on GitHub (Aug 12, 2024):
It seems that a deprecated model is hard-coded in the source
https://platform.openai.com/docs/deprecations/2023-11-06-chat-model-updates