Skip to content

Commit f9a4aae

Browse files
committed
PR feedback
1 parent d4cf951 commit f9a4aae

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

packages/types/npm/package.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@roo-code/types",
3-
"version": "1.55.0",
3+
"version": "1.56.0",
44
"description": "TypeScript type definitions for Roo Code.",
55
"publishConfig": {
66
"access": "public",

packages/types/src/provider-settings.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export const getApiProtocol = (provider: ProviderName | undefined, modelId?: str
438438
}
439439

440440
export const MODELS_BY_PROVIDER: Record<
441-
Exclude<ProviderName, "fake-ai" | "human-relay" | "claude-code">,
441+
Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "lmstudio" | "openai" | "ollama">,
442442
{ id: ProviderName; label: string; models: string[] }
443443
> = {
444444
anthropic: {
@@ -524,14 +524,10 @@ export const MODELS_BY_PROVIDER: Record<
524524
zai: { id: "zai", label: "Zai", models: Object.keys(internationalZAiModels) },
525525

526526
// Models pulled from the respective APIs.
527-
"gemini-cli": { id: "gemini-cli", label: "Gemini CLI", models: [] },
528527
glama: { id: "glama", label: "Glama", models: [] },
529528
huggingface: { id: "huggingface", label: "Hugging Face", models: [] },
530529
litellm: { id: "litellm", label: "LiteLLM", models: [] },
531-
lmstudio: { id: "lmstudio", label: "LM Studio", models: [] },
532-
ollama: { id: "ollama", label: "Ollama", models: [] },
533-
openai: { id: "openai", label: "OpenAI Compatible", models: [] },
534530
openrouter: { id: "openrouter", label: "OpenRouter", models: [] },
535531
requesty: { id: "requesty", label: "Requesty", models: [] },
536532
unbound: { id: "unbound", label: "Unbound", models: [] },
537-
} as Record<Exclude<ProviderName, "fake-ai" | "human-relay">, { id: ProviderName; label: string; models: string[] }>
533+
}

packages/types/src/providers/vscode-llm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export type VscodeLlmModelId = keyof typeof vscodeLlmModels
44

55
export const vscodeLlmDefaultModelId: VscodeLlmModelId = "claude-3.5-sonnet"
66

7+
// https://docs.cline.bot/provider-config/vscode-language-model-api
78
export const vscodeLlmModels = {
89
"gpt-3.5-turbo": {
910
contextWindow: 12114,

0 commit comments

Comments
 (0)