Skip to content

Commit 65aecff

Browse files
committed
Revert url to organizations
1 parent 35a446e commit 65aecff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/fetchers/modelCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const getModels = async (options: GetModelsOptions): Promise<ModelRecord>
8484
openRouterBaseUrl:
8585
getKiloBaseUriFromToken(options.kilocodeToken ?? "") +
8686
(options.kilocodeOrganizationId
87-
? `/api/teams/${options.kilocodeOrganizationId}`
87+
? `/api/organizations/${options.kilocodeOrganizationId}`
8888
: "/api/openrouter"),
8989
headers: options.kilocodeToken ? { Authorization: `Bearer ${options.kilocodeToken}` } : undefined,
9090
})

0 commit comments

Comments
 (0)