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
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ body:
- DeepSeek
- Featherless AI
- Fireworks AI
- Glama
- Google Gemini
- Google Vertex AI
- Groq
Expand Down
1 change: 0 additions & 1 deletion packages/types/src/global-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ export type RooCodeSettings = GlobalSettings & ProviderSettings
*/
export const SECRET_STATE_KEYS = [
"apiKey",
"glamaApiKey",
"openRouterApiKey",
"awsAccessKey",
"awsApiKey",
Expand Down
11 changes: 0 additions & 11 deletions packages/types/src/provider-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const dynamicProviders = [
"io-intelligence",
"requesty",
"unbound",
"glama",
"roo",
"chutes",
] as const
Expand Down Expand Up @@ -206,11 +205,6 @@ const claudeCodeSchema = apiModelIdProviderModelSchema.extend({
claudeCodeMaxOutputTokens: z.number().int().min(1).max(200000).optional(),
})

const glamaSchema = baseProviderSettingsSchema.extend({
glamaModelId: z.string().optional(),
glamaApiKey: z.string().optional(),
})

const openRouterSchema = baseProviderSettingsSchema.extend({
openRouterApiKey: z.string().optional(),
openRouterModelId: z.string().optional(),
Expand Down Expand Up @@ -437,7 +431,6 @@ const defaultSchema = z.object({
export const providerSettingsSchemaDiscriminated = z.discriminatedUnion("apiProvider", [
anthropicSchema.merge(z.object({ apiProvider: z.literal("anthropic") })),
claudeCodeSchema.merge(z.object({ apiProvider: z.literal("claude-code") })),
glamaSchema.merge(z.object({ apiProvider: z.literal("glama") })),
openRouterSchema.merge(z.object({ apiProvider: z.literal("openrouter") })),
bedrockSchema.merge(z.object({ apiProvider: z.literal("bedrock") })),
vertexSchema.merge(z.object({ apiProvider: z.literal("vertex") })),
Expand Down Expand Up @@ -480,7 +473,6 @@ export const providerSettingsSchema = z.object({
apiProvider: providerNamesSchema.optional(),
...anthropicSchema.shape,
...claudeCodeSchema.shape,
...glamaSchema.shape,
...openRouterSchema.shape,
...bedrockSchema.shape,
...vertexSchema.shape,
Expand Down Expand Up @@ -537,7 +529,6 @@ export const PROVIDER_SETTINGS_KEYS = providerSettingsSchema.keyof().options

export const modelIdKeys = [
"apiModelId",
"glamaModelId",
"openRouterModelId",
"openAiModelId",
"ollamaModelId",
Expand Down Expand Up @@ -571,7 +562,6 @@ export const isTypicalProvider = (key: unknown): key is TypicalProvider =>
export const modelIdKeysByProvider: Record<TypicalProvider, ModelIdKey> = {
anthropic: "apiModelId",
"claude-code": "apiModelId",
glama: "glamaModelId",
openrouter: "openRouterModelId",
bedrock: "apiModelId",
vertex: "apiModelId",
Expand Down Expand Up @@ -727,7 +717,6 @@ export const MODELS_BY_PROVIDER: Record<
baseten: { id: "baseten", label: "Baseten", models: Object.keys(basetenModels) },

// Dynamic providers; models pulled from remote APIs.
glama: { id: "glama", label: "Glama", models: [] },
huggingface: { id: "huggingface", label: "Hugging Face", models: [] },
litellm: { id: "litellm", label: "LiteLLM", models: [] },
openrouter: { id: "openrouter", label: "OpenRouter", models: [] },
Expand Down
19 changes: 0 additions & 19 deletions packages/types/src/providers/glama.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/types/src/providers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export * from "./doubao.js"
export * from "./featherless.js"
export * from "./fireworks.js"
export * from "./gemini.js"
export * from "./glama.js"
export * from "./groq.js"
export * from "./huggingface.js"
export * from "./io-intelligence.js"
Expand Down Expand Up @@ -44,7 +43,6 @@ import { doubaoDefaultModelId } from "./doubao.js"
import { featherlessDefaultModelId } from "./featherless.js"
import { fireworksDefaultModelId } from "./fireworks.js"
import { geminiDefaultModelId } from "./gemini.js"
import { glamaDefaultModelId } from "./glama.js"
import { groqDefaultModelId } from "./groq.js"
import { ioIntelligenceDefaultModelId } from "./io-intelligence.js"
import { litellmDefaultModelId } from "./lite-llm.js"
Expand Down Expand Up @@ -81,8 +79,6 @@ export function getProviderDefaultModelId(
return openRouterDefaultModelId
case "requesty":
return requestyDefaultModelId
case "glama":
return glamaDefaultModelId
case "unbound":
return unboundDefaultModelId
case "litellm":
Expand Down
7 changes: 0 additions & 7 deletions src/activate/handleUri.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ export const handleUri = async (uri: vscode.Uri) => {
}

switch (path) {
case "/glama": {
const code = query.get("code")
if (code) {
await visibleProvider.handleGlamaCallback(code)
}
break
}
case "/openrouter": {
const code = query.get("code")
if (code) {
Expand Down
3 changes: 0 additions & 3 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type { ProviderSettings, ModelInfo, ToolProtocol } from "@roo-code/types"
import { ApiStream } from "./transform/stream"

import {
GlamaHandler,
AnthropicHandler,
AwsBedrockHandler,
CerebrasHandler,
Expand Down Expand Up @@ -126,8 +125,6 @@ export function buildApiHandler(configuration: ProviderSettings): ApiHandler {
return new AnthropicHandler(options)
case "claude-code":
return new ClaudeCodeHandler(options)
case "glama":
return new GlamaHandler(options)
case "openrouter":
return new OpenRouterHandler(options)
case "bedrock":
Expand Down
232 changes: 0 additions & 232 deletions src/api/providers/__tests__/glama.spec.ts

This file was deleted.

Loading
Loading