Update Chat.tsx

This commit is contained in:
Patrick Erichsen 2025-06-10 14:25:27 -07:00
parent f0e73ef63a
commit 2d0db82a65

View file

@ -48,7 +48,6 @@ import { streamEditThunk } from "../../redux/thunks/edit";
import { loadLastSession } from "../../redux/thunks/session";
import { isJetBrains, isMetaEquivalentKeyPressed } from "../../util";
import { OnboardingModes } from "core/protocol/core";
import { getLocalStorage, setLocalStorage } from "../../util/localStorage";
import { EmptyChatBody } from "./EmptyChatBody";
import { ExploreDialogWatcher } from "./ExploreDialogWatcher";
@ -200,10 +199,6 @@ export function Chat() {
// "You've reached the free trial limit. Please configure a model to continue.",
// );
// Card in chat will only show if no history
// Also, note that platform card ignore the "Best", always opens to main tab
onboardingCard.open(OnboardingModes.API_KEY);
// // If history, show the dialog, which will automatically close if there is not history
// if (history.length) {
// dispatch(setDialogMessage(<FreeTrialOverDialog />));