diff --git a/frontend/src/components/ModelSettingsSection.tsx b/frontend/src/components/ModelSettingsSection.tsx
index efbd161..0b2d3b2 100644
--- a/frontend/src/components/ModelSettingsSection.tsx
+++ b/frontend/src/components/ModelSettingsSection.tsx
@@ -11,7 +11,6 @@ import {
} from "../lib/models";
import { Badge } from "./ui/badge";
import { IS_RUNNING_ON_CLOUD } from "../config";
-import { useStore } from "../store/store";
interface Props {
codeGenerationModel: CodeGenerationModel;
@@ -24,8 +23,6 @@ function ModelSettingsSection({
setCodeGenerationModel,
shouldDisableUpdates = false,
}: Props) {
- const subscriberTier = useStore((state) => state.subscriberTier);
-
return (
@@ -58,11 +55,6 @@ function ModelSettingsSection({
)}
- {IS_RUNNING_ON_CLOUD &&
- subscriberTier === "free" &&
- CODE_GENERATION_MODEL_DESCRIPTIONS[model].isPaid && (
-
Upgrade to Paid
- )}
))}
diff --git a/frontend/src/lib/models.ts b/frontend/src/lib/models.ts
index 61bffcc..152ee10 100644
--- a/frontend/src/lib/models.ts
+++ b/frontend/src/lib/models.ts
@@ -13,28 +13,23 @@ export const CODE_GENERATION_MODEL_DESCRIPTIONS: {
[key in CodeGenerationModel]: {
name: string;
inBeta: boolean;
- isPaid: boolean;
};
} = {
- "gpt-4o-2024-05-13": { name: "GPT-4o", inBeta: false, isPaid: false },
+ "gpt-4o-2024-05-13": { name: "GPT-4o", inBeta: false },
"claude-3-5-sonnet-20240620": {
name: "Claude 3.5 Sonnet",
inBeta: false,
- isPaid: false,
},
"gpt-4-turbo-2024-04-09": {
name: "GPT-4 Turbo (deprecated)",
inBeta: false,
- isPaid: false,
},
gpt_4_vision: {
name: "GPT-4 Vision (deprecated)",
inBeta: false,
- isPaid: false,
},
claude_3_sonnet: {
name: "Claude 3 (deprecated)",
inBeta: false,
- isPaid: false,
},
};