[AI Chat]: Clean up the SiteInfo
struct
#43293
Labels
browser-ai
dev-concern
OS/Android
Fixes related to Android browser functionality
OS/Desktop
QA/No
release-notes/exclude
SiteInfo
should be renamed toAssociatedContent
is_content_association_possible
field should be removed - the presence/absence ofAssociatedContent
should imply whether its possible.AssociatedContent
should be made non-optional. They were originally set to optional as the struct was always present. Now it will only be present when there isAssociatedContent
.hostname
field - its inferrable from theurl
field and adds nothingThis cleanup will make adding support for associating multiple bits of content far easier.
The text was updated successfully, but these errors were encountered: