small fixes for free trial onboarding

This commit is contained in:
Nate 2025-06-08 18:33:09 -07:00
parent 4a2254e25d
commit 8a822edbfd
3 changed files with 5 additions and 3 deletions

View file

@ -640,6 +640,7 @@ function llmToSerializedModelDescription(llm: ILLM): ModelDescription {
capabilities: llm.capabilities,
roles: llm.roles,
configurationStatus: llm.getConfigurationStatus(),
apiKeyLocation: llm.apiKeyLocation,
};
}

View file

@ -64,6 +64,7 @@ export const WEBVIEW_TO_CORE_PASS_THROUGH: (keyof ToCoreFromWebviewProtocol)[] =
"isItemTooBig",
"process/markAsBackgrounded",
"process/isBackgrounded",
"controlPlane/getFreeTrialStatus",
];
// Message types to pass through from core to webview

View file

@ -114,7 +114,7 @@ export default function FreeTrialButton({
<span
onClick={async () => {
await ideMessenger.request("controlPlane/openUrl", {
path: "/pricing",
path: "pricing",
orgSlug: undefined,
});
}}
@ -141,7 +141,7 @@ export default function FreeTrialButton({
className="flex-1"
onClick={async () => {
await ideMessenger.request("controlPlane/openUrl", {
path: "/setup-models",
path: "setup-models",
orgSlug: undefined,
});
}}
@ -152,7 +152,7 @@ export default function FreeTrialButton({
className="flex-1"
onClick={async () => {
await ideMessenger.request("controlPlane/openUrl", {
path: "/settings/billing",
path: "settings/billing",
orgSlug: undefined,
});
}}