-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AIChat refactor to support standalone and persistent conversations #24921
Commits on Sep 20, 2024
-
AI Chat: Introduce AIChatService, ConversationHandler, and direct bin…
…dings from UI Modified AIChat WebUI to directly bind to both AIChatService and ConversationHandler for most operations. Lays the groundwork for conversations to be independent of web content. In fact, most of this functionality is also within this PR. Conversation persistance (in-memory) is guarded behind a feature flag. Refactor print preview extractor to be passed to AIChatTabHelper directly Also removed max page content consideration since: 1) Model can be changed after fetching the content 2) Multiple callbacks could occur with different page content limits from different conversations 3) We need to know the (reasonable) total content length to report the percentage of content that Leo has been sent. I did consider sending the requested page content maximum length for each GetContent call, but that does not solve all the issues. Since there is a maximum limit of 20 print preview pages, it seems it's ok. kAIChatHistory flag -> AIChatHistory
Configuration menu - View commit details
-
Copy full SHA for 5545b1a - Browse repository at this point
Copy the full SHA 5545b1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d2662 - Browse repository at this point
Copy the full SHA b7d2662View commit details -
Configuration menu - View commit details
-
Copy full SHA for 976e6a2 - Browse repository at this point
Copy the full SHA 976e6a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1100a8 - Browse repository at this point
Copy the full SHA c1100a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ec5efa - Browse repository at this point
Copy the full SHA 7ec5efaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 657f79e - Browse repository at this point
Copy the full SHA 657f79eView commit details -
fix same-document back/forward navigation by considering page title c…
…hanges during navigation
Configuration menu - View commit details
-
Copy full SHA for 101364c - Browse repository at this point
Copy the full SHA 101364cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f906c8b - Browse repository at this point
Copy the full SHA f906c8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51f1357 - Browse repository at this point
Copy the full SHA 51f1357View commit details -
Fix crashes on iOS. Fix logic so AIChat on iOS works correctly. Fix m…
…odels list conversion to iOS.
Configuration menu - View commit details
-
Copy full SHA for 86abbe2 - Browse repository at this point
Copy the full SHA 86abbe2View commit details -
fix ConversationHandler::GenerateQuestions, refactor non-conversation…
… rewriting out of ConversationHandler, test ConversationHandler::GetState
Configuration menu - View commit details
-
Copy full SHA for 9d2e1e7 - Browse repository at this point
Copy the full SHA 9d2e1e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e70fe47 - Browse repository at this point
Copy the full SHA e70fe47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 474284f - Browse repository at this point
Copy the full SHA 474284fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3e4367 - Browse repository at this point
Copy the full SHA a3e4367View commit details -
Configuration menu - View commit details
-
Copy full SHA for e07ff52 - Browse repository at this point
Copy the full SHA e07ff52View commit details -
Configuration menu - View commit details
-
Copy full SHA for d173540 - Browse repository at this point
Copy the full SHA d173540View commit details -
android HandleVoiceRecognition now optionally passes ConversationId t…
…o target a specific conversation
Configuration menu - View commit details
-
Copy full SHA for 313781e - Browse repository at this point
Copy the full SHA 313781eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c505f43 - Browse repository at this point
Copy the full SHA c505f43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 197b5cf - Browse repository at this point
Copy the full SHA 197b5cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a47c7ed - Browse repository at this point
Copy the full SHA a47c7edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 288fa5d - Browse repository at this point
Copy the full SHA 288fa5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for de3761e - Browse repository at this point
Copy the full SHA de3761eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67b9ff1 - Browse repository at this point
Copy the full SHA 67b9ff1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 498af7a - Browse repository at this point
Copy the full SHA 498af7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f155c - Browse repository at this point
Copy the full SHA 19f155cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d156c64 - Browse repository at this point
Copy the full SHA d156c64View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40131f - Browse repository at this point
Copy the full SHA c40131fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95eac52 - Browse repository at this point
Copy the full SHA 95eac52View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8588e9 - Browse repository at this point
Copy the full SHA c8588e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1bac5c - Browse repository at this point
Copy the full SHA e1bac5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23b728d - Browse repository at this point
Copy the full SHA 23b728dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f89085 - Browse repository at this point
Copy the full SHA 5f89085View commit details