🎨 trial updates

This commit is contained in:
Nate Sesti 2024-05-23 15:37:46 -07:00
parent 4e5b116cc1
commit e840140aeb
3 changed files with 11 additions and 12 deletions

View file

@ -126,11 +126,11 @@ class FreeTrial extends BaseLLM {
async listModels(): Promise<string[]> {
return [
"llama3-70b",
"gpt-3.5-turbo",
"gpt-4o",
"gemini-1.5-pro-latest",
"gpt-3.5-turbo",
"claude-3-sonnet-20240229",
"claude-3-haiku-20240307",
"gemini-1.5-pro-latest",
];
}
}

View file

@ -7,6 +7,7 @@ import {
setShowDialog,
} from "../../redux/slices/uiStateSlice";
import { getFontSize } from "../../util";
import { ftl } from "../dialogs/FTCDialog";
import SetupLocalOrKeyDialog from "../dialogs/SetupLocalOrKey";
const ProgressBarWrapper = styled.div`
@ -84,9 +85,7 @@ const ProgressBar = ({ completed, total }: ProgressBarProps) => {
{tooltipPortalDiv &&
ReactDOM.createPortal(
<StyledTooltip id="usage_progress_bar" place="top">
{
"Click to use your own API key or local LLM (required after 100 inputs)"
}
{`Click to use your own API key or local LLM (required after ${ftl()} inputs)`}
</StyledTooltip>,
tooltipPortalDiv,
)}

View file

@ -456,7 +456,8 @@ const gemini15Pro: ModelPackage = {
};
const gemini15Flash: ModelPackage = {
title: "Gemini 1.5 Flash",
description: "Fast and versatile multimodal model for scaling across diverse tasks",
description:
"Fast and versatile multimodal model for scaling across diverse tasks",
params: {
title: "Gemini 1.5 Flash",
model: "gemini-1.5-flash-latest",
@ -613,7 +614,7 @@ const claude3Opus: ModelPackage = {
title: "Claude 3 Opus",
apiKey: "",
},
providerOptions: ["anthropic", "freetrial"],
providerOptions: ["anthropic"],
icon: "anthropic.png",
};
@ -1046,13 +1047,12 @@ After it's up and running, you can start using Continue.`,
tags: [ModelProviderTag.Free],
packages: [
codellama70bTrial,
mixtralTrial,
{ ...claude3Opus, title: "Claude 3 Opus (trial)" },
{ ...claude3Sonnet, title: "Claude 3 Sonnet (trial)" },
{ ...claude3Haiku, title: "Claude 3 Haiku (trial)" },
{ ...gemini15Pro, title: "Gemini 1.5 Pro (trial)" },
{ ...gpt4o, title: "GPT-4o (trial)" },
{ ...gpt35turbo, title: "GPT-3.5-Turbo (trial)" },
{ ...claude3Sonnet, title: "Claude 3 Sonnet (trial)" },
{ ...claude3Haiku, title: "Claude 3 Haiku (trial)" },
mixtralTrial,
{ ...gemini15Pro, title: "Gemini 1.5 Pro (trial)" },
{
...AUTODETECT,
params: {