Skip to content
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

[Uplift 1.62.x] #21398 AI Chat: introduce freemium model concept #21594

Merged
merged 3 commits into from
Jan 19, 2024

Commits on Jan 16, 2024

  1. 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
    petemill committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    4b8584b View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. fix GetModels

    petemill committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    3e539d7 View commit details
    Browse the repository at this point in the history
  2. format

    petemill committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    950a53b View commit details
    Browse the repository at this point in the history