fix nimbus search (#45331)

Nimbus search is broken because it expects the page section to be joined
with the page table, but this table is called page_nimbus in Nimbus
mode.

Resolves AI-682

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Fixed source reference attribution to use the correct path when using
the alternate search index option.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Charis authored and GitHub committed 2026-04-28 16:02:54 +00:00
1 parent e7c33bf580
commit d897c74896
1 file changed
+4 -1
+4 -1
View File
@@ -99,7 +99,10 @@ export async function clippy(
break
}
const pagePath = pageSection.page.path
const pagePath = options?.useAltSearchIndex
? // @ts-ignore
pageSection.page_nimbus.path
: pageSection.page.path
// Include source reference with each section
contextText += `[Source ${sourceIndex}: ${pagePath}]\n${content.trim()}\n---\n`