mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Fix requesty model listing (#7378)
* Fix requesty model listing * Delete .changeset/spotty-queens-crash.md --------- Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
This commit is contained in:
parent
8367b1ac92
commit
0c481a3cf9
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ export async function getRequestyModels(baseUrl?: string, apiKey?: string): Prom
|
|||
}
|
||||
|
||||
const resolvedBaseUrl = toRequestyServiceUrl(baseUrl)
|
||||
const modelsUrl = new URL("models", resolvedBaseUrl)
|
||||
const modelsUrl = new URL("v1/models", resolvedBaseUrl)
|
||||
|
||||
const response = await axios.get(modelsUrl.toString(), { headers })
|
||||
const rawModels = response.data.data
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue