From 9db885b5f7fbaa8408812d584c435046955c5315 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 21 Nov 2024 07:53:24 -0800 Subject: [PATCH] Limit access to chat models to futurist users --- .../web/app/components/agentCard/agentCard.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/interface/web/app/components/agentCard/agentCard.tsx b/src/interface/web/app/components/agentCard/agentCard.tsx index 3dba4d3a..b151f02d 100644 --- a/src/interface/web/app/components/agentCard/agentCard.tsx +++ b/src/interface/web/app/components/agentCard/agentCard.tsx @@ -749,9 +749,20 @@ export function AgentModificationForm(props: AgentModificationFormProps) { Chat Model - Which large language model should this agent use? + {!props.isSubscribed ? ( +

+ Upgrade to the Futurist plan to + access all models. +

+ ) : ( +

Which chat model would you like to use?

+ )}
- @@ -841,7 +852,6 @@ export function AgentModificationForm(props: AgentModificationFormProps) { render={({ field }) => ( Color - Choose a color for your agent.