0

Disable include geometry for the AI data page context APC

This results in a larger page content and likely not needed for our current use cases, so just disabling it. It overlaps with the action APC proto.

Change-Id: I62f26415af808a37472517c4214f2ed4f7ff6672
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6481665
Commit-Queue: Ryan Sturm <ryansturm@chromium.org>
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Auto-Submit: Ryan Sturm <ryansturm@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1450358}
This commit is contained in:
Ryan Sturm
2025-04-22 20:06:58 -07:00
committed by Chromium LUCI CQ
parent ed5dde7e7d
commit 6dfb991e90

@@ -127,6 +127,7 @@ void GetAIPageContentForModelPrototyping(
auto options = optimization_guide::DefaultAIPageContentOptions();
options->enable_experimental_actionable_data = false;
options->include_geometry = false;
optimization_guide::OnAIPageContentDone callback = base::BindOnce(
&OnGotAIPageContentForModelPrototyping, std::move(continue_callback));
optimization_guide::GetAIPageContent(web_contents, std::move(options),