mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Update Kodu homepage links
This commit is contained in:
@@ -15,3 +15,7 @@ export function getKoduCreditsUrl() {
|
||||
export function getKoduInferenceUrl() {
|
||||
return `${KODU_BASE_URL}/api/inference`
|
||||
}
|
||||
|
||||
export function getKoduHomepageUrl() {
|
||||
return `${KODU_BASE_URL}`
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { VSCodeButton, VSCodeLink } from "@vscode/webview-ui-toolkit/react"
|
||||
import { ApiConfiguration } from "../../../src/shared/api"
|
||||
import { getKoduSignInUrl } from "../../../src/shared/kodu"
|
||||
import { getKoduHomepageUrl, getKoduSignInUrl } from "../../../src/shared/kodu"
|
||||
import VSCodeButtonLink from "./VSCodeButtonLink"
|
||||
|
||||
interface AnnouncementProps {
|
||||
@@ -35,7 +35,9 @@ const Announcement = ({ version, hideAnnouncement, apiConfiguration, vscodeUriSc
|
||||
<ul style={{ margin: "0 0 8px", paddingLeft: "20px" }}>
|
||||
<li>
|
||||
Excited to announce that{" "}
|
||||
<VSCodeLink href={getKoduSignInUrl(vscodeUriScheme)} style={{ display: "inline" }}>
|
||||
<VSCodeLink
|
||||
href={apiConfiguration?.koduApiKey ? getKoduHomepageUrl() : getKoduSignInUrl(vscodeUriScheme)}
|
||||
style={{ display: "inline" }}>
|
||||
Kodu
|
||||
</VSCodeLink>{" "}
|
||||
is offering $10 free credits to help new users get the most out of Claude Dev with high rate limits
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
openRouterModels,
|
||||
} from "../../../src/shared/api"
|
||||
import { ExtensionMessage } from "../../../src/shared/ExtensionMessage"
|
||||
import { getKoduAddCreditsUrl, getKoduSignInUrl } from "../../../src/shared/kodu"
|
||||
import { getKoduAddCreditsUrl, getKoduHomepageUrl, getKoduSignInUrl } from "../../../src/shared/kodu"
|
||||
import { vscode } from "../utils/vscode"
|
||||
import VSCodeButtonLink from "./VSCodeButtonLink"
|
||||
|
||||
@@ -205,7 +205,7 @@ const ApiOptions: React.FC<ApiOptionsProps> = ({
|
||||
}}>
|
||||
Kodu is recommended for its high rate limits and access to the latest features like prompt
|
||||
caching.
|
||||
<VSCodeLink href="https://kodu.ai" style={{ display: "inline", fontSize: "12px" }}>
|
||||
<VSCodeLink href={getKoduHomepageUrl()} style={{ display: "inline", fontSize: "12px" }}>
|
||||
Learn more about Kodu here.
|
||||
</VSCodeLink>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user