Skip to content

Commit a8a1962

Browse files
committed
add in cometapi
1 parent 1eb20d4 commit a8a1962

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

core/llm/llms/CometAPI.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { LLMOptions } from "../../index.js";
21
import { allModelProviders } from "@continuedev/llm-info";
2+
import { LLMOptions } from "../../index.js";
33
import OpenAI from "./OpenAI.js";
44

55
/**
@@ -204,6 +204,7 @@ class CometAPI extends OpenAI {
204204
"claude-3-5-haiku-latest",
205205

206206
// Gemini series
207+
"gemini-3-pro-preview",
207208
"gemini-2.5-pro",
208209
"gemini-2.5-flash",
209210
"gemini-2.5-flash-lite",

packages/llm-info/src/providers/cometapi.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,15 @@ export const CometAPI: ModelProvider = {
135135
},
136136

137137
// Gemini Series
138+
{
139+
model: "gemini-3-pro-preview",
140+
displayName: "Gemini 3 Pro Preview",
141+
contextLength: 2000000,
142+
maxCompletionTokens: 8192,
143+
description:
144+
"Gemini flagship model with high precision multimodal capabilities.",
145+
recommendedFor: ["chat"],
146+
},
138147
{
139148
model: "gemini-2.5-pro",
140149
displayName: "Gemini 2.5 Pro",

0 commit comments

Comments
 (0)