Skip to content

Commit 2a8143a

Browse files
committed
Fix the baseURL
1 parent e75585b commit 2a8143a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/providers/roo.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { t } from "../../i18n"
77

88
export class RooHandler extends BaseOpenAiCompatibleProvider<RooModelId> {
99
constructor(options: ApiHandlerOptions) {
10-
// Check if CloudService is available and get the session token
10+
// Check if CloudService is available and get the session token.
1111
if (!CloudService.hasInstance()) {
1212
throw new Error(t("common:errors.roo.authenticationRequired"))
1313
}
@@ -21,7 +21,7 @@ export class RooHandler extends BaseOpenAiCompatibleProvider<RooModelId> {
2121
super({
2222
...options,
2323
providerName: "Roo Code Cloud",
24-
baseURL: "https://api.roocode.com/v1",
24+
baseURL: "https://api.roocode.com/proxy/v1",
2525
apiKey: sessionToken,
2626
defaultProviderModelId: rooDefaultModelId,
2727
providerModels: rooModels,
@@ -37,7 +37,7 @@ export class RooHandler extends BaseOpenAiCompatibleProvider<RooModelId> {
3737
return { id: modelId as RooModelId, info: modelInfo }
3838
}
3939

40-
// Return the requested model ID even if not found, with fallback info
40+
// Return the requested model ID even if not found, with fallback info.
4141
return {
4242
id: modelId as RooModelId,
4343
info: {

0 commit comments

Comments
 (0)