small fixes for free trial onboarding
This commit is contained in:
parent
4a2254e25d
commit
8a822edbfd
3 changed files with 5 additions and 3 deletions
|
|
@ -640,6 +640,7 @@ function llmToSerializedModelDescription(llm: ILLM): ModelDescription {
|
|||
capabilities: llm.capabilities,
|
||||
roles: llm.roles,
|
||||
configurationStatus: llm.getConfigurationStatus(),
|
||||
apiKeyLocation: llm.apiKeyLocation,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
});
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue