Skip to content

Commit 663479e

Browse files
committed
Added vertex_ai
1 parent 8145c0e commit 663479e

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

src/shared/api.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ export const vertexModels = {
620620
inputPrice: 0.15,
621621
outputPrice: 0.6,
622622
},
623+
"gemini-2.0-flash": {
624+
maxTokens: 8192,
625+
contextWindow: 1_048_576,
626+
supportsImages: true,
627+
supportsPromptCache: false,
628+
inputPrice: 0.15,
629+
outputPrice: 0.6,
630+
},
623631
"gemini-2.0-pro-exp-02-05": {
624632
maxTokens: 8192,
625633
contextWindow: 2_097_152,

src/shared/pearaiApi.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// CHANGE AS NEEDED FOR DEVELOPMENT
22
// PROD:
3-
export const PEARAI_URL = "https://server.trypear.ai/pearai-server-api2/integrations/cline"
3+
// export const PEARAI_URL = "https://server.trypear.ai/pearai-server-api2/integrations/cline"
44
// DEV:
5-
// export const PEARAI_URL = "http://localhost:8000/integrations/cline"
5+
export const PEARAI_URL = "http://localhost:8000/integrations/cline"
66

77
import {
88
anthropicModels,
@@ -86,7 +86,7 @@ export const allModels: { [key: string]: ModelInfo } = {
8686
...Object.entries(vertexModels).reduce(
8787
(acc, [key, value]) => ({
8888
...acc,
89-
[`vertex/${key}`]: value,
89+
[`vertex_ai/${key}`]: value,
9090
}),
9191
{},
9292
),

0 commit comments

Comments
 (0)