mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-09 06:41:18 +00:00
Ensure we send the agent goal with the ask (#4673)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"gitbook": patch
|
||||
---
|
||||
|
||||
Agents can now send a goal with any question they ask on the Markdown version of a page.
|
||||
@@ -954,6 +954,7 @@ function encodePathInSiteContent(
|
||||
{
|
||||
type: 'ask_question',
|
||||
query: ask,
|
||||
goal: typeof goal === 'string' ? goal : undefined,
|
||||
location: {
|
||||
displayContext: SiteInsightsDisplayContext.Server,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user