-
Notifications
You must be signed in to change notification settings - Fork 867
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AI Chat: introduce freemium model concept (#21398)
* AI Chat: introduce freemium model concept * AI Chat: Add mixtral model * AI Chat: premium's default also becomes leo-expanded * AI Chat: non-premium users on freemium models get rate limit error which prompts to use a basic (free) model as secondary action * fix format from chromium upgrade * AI Chat: introduce "is_freemium_available" boolean feature param If true, certain freemium models are available to non-premium users. If false, those models are premium-only. * AI Chat: migrate default model key pref from "chat-default" to "chat-basic" * AI Chat: reduce claude page content character length to avoid token length mismatch more often * AI Chat: model menu uses model display name instead of API name
- Loading branch information
Showing
24 changed files
with
268 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.