Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(paywall): wrong text shown for locked model interaction (#4779)
dev-rb08850ea43e41
diff --git a/apps/web/src/lib/core/component/AI/component/input/ChatInput.tsx b/apps/web/src/lib/core/component/AI/component/input/ChatInput.tsxindex a52dc31762..b707e03dd5 100644--- a/apps/web/src/lib/core/component/AI/component/input/ChatInput.tsx+++ b/apps/web/src/lib/core/component/AI/component/input/ChatInput.tsx@@ -246,7 +246,7 @@ export function ChatInput(props: ChatInputComponentProps) {selectedModel={model()}models={modelOptions()}onSelect={(m) => input.setModel(m)}- onLocked={() => showPaywall(PaywallKey.MODEL_LIMIT)}+ onLocked={() => showPaywall(PaywallKey.O1_LIMIT)}compact={compactSelector()}/><Show when={generating() && props.onStop} fallback={<SendButton />}>diff --git a/apps/web/src/lib/core/constant/PaywallState.tsx b/apps/web/src/lib/core/constant/PaywallState.tsxindex ff1eead0bc..a86e940e62 100644--- a/apps/web/src/lib/core/constant/PaywallState.tsx+++ b/apps/web/src/lib/core/constant/PaywallState.tsx@@ -6,7 +6,6 @@ export enum PaywallKey {PROJECT_LIMIT = 'PROJECT_LIMIT',FILE_LIMIT = 'FILE_LIMIT',IMAGE_LIMIT = 'IMAGE_LIMIT',- MODEL_LIMIT = 'MODEL_LIMIT',CHAT_LIMIT = 'CHAT_LIMIT',O1_LIMIT = 'O1_LIMIT',CANVAS_CLIKED = 'CANVAS_CLIKED',@@ -47,12 +46,6 @@ export const PaywallMessages: Record<PaywallKey, PaywallMessageMetadata> = {learnMoreUrl: 'https://docs.macro.com/product/agents',learnMoreSubject: 'agents',},- [PaywallKey.MODEL_LIMIT]: {- title: 'Smart model limit reached',- description: `You’ve used ${DAILY_LIMIT} smart model requests today. Upgrade for access to all models.`,- learnMoreUrl: 'https://docs.macro.com/product/agents',- learnMoreSubject: 'agents',- },[PaywallKey.O1_LIMIT]: {title: 'Smart models are premium',description: 'Upgrade to use Macro’s most capable AI models.',