Ensure we send the agent goal with the ask (#4673)

This commit is contained in:
Steven H
2026-10-08 20:51:24 +01:00
committed by GitHub
parent f1d5123c0b
commit d685660e1d
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Agents can now send a goal with any question they ask on the Markdown version of a page.
+1
View File
@@ -954,6 +954,7 @@ function encodePathInSiteContent(
{
type: 'ask_question',
query: ask,
goal: typeof goal === 'string' ? goal : undefined,
location: {
displayContext: SiteInsightsDisplayContext.Server,
},