GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — fix(rag): cancel sibling vector queries when one search fails by rome-xi · Pull Request #3656 · agentscope-ai/agentscope Conversation
Contributor
AgentScope Version2.0.12dev (main at fc3445e) DescriptionFixes #3649.
This keeps references to the per-query tasks. If the gather fails or is cancelled, it cancels the siblings that are still running (without re-cancelling ones that are already cancelling) and awaits them before re-raising the original error. Same approach as #3148 for embedding batches. The success path is unchanged. Tests (
On unmodified main the first two cases fail ( AI-assisted; I reviewed the change and ran the tests. Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Hi maintainers, a gentle ping on this one when you have a moment. It's a small change for #3649: when one of the per-query vector searches in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: KnowledgeBase.search leaves sibling vector queries running after one query fails
There was an error while loading. Please reload this page.