Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions packages/types/src/provider-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const providerNames = [
"vscode-lm",
"lmstudio",
"gemini",
"gemini-cli",
"openai-native",
"mistral",
"deepseek",
Expand Down Expand Up @@ -159,11 +158,6 @@ const geminiSchema = apiModelIdProviderModelSchema.extend({
googleGeminiBaseUrl: z.string().optional(),
})

const geminiCliSchema = apiModelIdProviderModelSchema.extend({
geminiCliOAuthPath: z.string().optional(),
geminiCliProjectId: z.string().optional(),
})

const openAiNativeSchema = apiModelIdProviderModelSchema.extend({
openAiNativeApiKey: z.string().optional(),
openAiNativeBaseUrl: z.string().optional(),
Expand Down Expand Up @@ -229,7 +223,6 @@ export const providerSettingsSchemaDiscriminated = z.discriminatedUnion("apiProv
vsCodeLmSchema.merge(z.object({ apiProvider: z.literal("vscode-lm") })),
lmStudioSchema.merge(z.object({ apiProvider: z.literal("lmstudio") })),
geminiSchema.merge(z.object({ apiProvider: z.literal("gemini") })),
geminiCliSchema.merge(z.object({ apiProvider: z.literal("gemini-cli") })),
openAiNativeSchema.merge(z.object({ apiProvider: z.literal("openai-native") })),
mistralSchema.merge(z.object({ apiProvider: z.literal("mistral") })),
deepSeekSchema.merge(z.object({ apiProvider: z.literal("deepseek") })),
Expand Down Expand Up @@ -257,7 +250,6 @@ export const providerSettingsSchema = z.object({
...vsCodeLmSchema.shape,
...lmStudioSchema.shape,
...geminiSchema.shape,
...geminiCliSchema.shape,
...openAiNativeSchema.shape,
...mistralSchema.shape,
...deepSeekSchema.shape,
Expand Down
110 changes: 0 additions & 110 deletions packages/types/src/providers/gemini-cli.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/types/src/providers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export * from "./chutes.js"
export * from "./claude-code.js"
export * from "./deepseek.js"
export * from "./gemini.js"
export * from "./gemini-cli.js"
export * from "./glama.js"
export * from "./groq.js"
export * from "./lite-llm.js"
Expand Down
3 changes: 0 additions & 3 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
OllamaHandler,
LmStudioHandler,
GeminiHandler,
GeminiCliHandler,
OpenAiNativeHandler,
DeepSeekHandler,
MistralHandler,
Expand Down Expand Up @@ -86,8 +85,6 @@ export function buildApiHandler(configuration: ProviderSettings): ApiHandler {
return new LmStudioHandler(options)
case "gemini":
return new GeminiHandler(options)
case "gemini-cli":
return new GeminiCliHandler(options)
case "openai-native":
return new OpenAiNativeHandler(options)
case "deepseek":
Expand Down
Loading
Loading