Skip to content

Commit aca6592

Browse files
committed
Fix requesty model listing
1 parent 8367b1a commit aca6592

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/spotty-queens-crash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Fix requesty model listing

src/api/providers/fetchers/requesty.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export async function getRequestyModels(baseUrl?: string, apiKey?: string): Prom
1616
}
1717

1818
const resolvedBaseUrl = toRequestyServiceUrl(baseUrl)
19-
const modelsUrl = new URL("models", resolvedBaseUrl)
19+
const modelsUrl = new URL("v1/models", resolvedBaseUrl)
2020

2121
const response = await axios.get(modelsUrl.toString(), { headers })
2222
const rawModels = response.data.data

0 commit comments

Comments
 (0)