Merge pull request #6386 from continuedev/nate/hotfix-context-providers

hotfix to add query
This commit is contained in:
Dallin Romney 2025-07-01 13:58:23 -07:00 • committed by GitHub
commit d2f1b41285
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,6 +37,7 @@ function resolveParagraph(p: JSONContent): [string, GetContextRequest[]] {
contextRequests.push({
provider:
attrs.itemType === "contextProvider" ? attrs.id : attrs.itemType!,
query: attrs.query,
});
return child.attrs?.renderInlineAs ?? child.attrs?.label;