From 1e10b2bbcec01fa093e46fcea21178c9760b2157 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 24 Feb 2025 09:51:41 -0800 Subject: [PATCH] yaml-env-schemas --- core/index.d.ts | 8 +++---- core/package.json | 2 +- extensions/vscode/config_schema.json | 34 --------------------------- gui/package.json | 2 +- packages/openai-adapters/package.json | 2 +- 5 files changed, 7 insertions(+), 41 deletions(-) diff --git a/core/index.d.ts b/core/index.d.ts index 15482d95c..b742ded06 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -504,10 +504,10 @@ export interface LLMOptions { profile?: string; modelArn?: string; - // AWS and GCP Options + // AWS and VertexAI Options region?: string; - // GCP and Watsonx Options + // VertexAI and Watsonx Options projectId?: string; // IBM watsonx Options @@ -947,10 +947,10 @@ export interface EmbedOptions { // AWS options profile?: string; - // AWS and GCP Options + // AWS and VertexAI Options region?: string; - // GCP and Watsonx Options + // VertexAI and Watsonx Options projectId?: string; } diff --git a/core/package.json b/core/package.json index 1336c1bf3..adc9dd281 100644 --- a/core/package.json +++ b/core/package.json @@ -46,7 +46,7 @@ "@aws-sdk/client-sagemaker-runtime": "^3.621.0", "@aws-sdk/credential-providers": "^3.620.1", "@continuedev/config-types": "^1.0.13", - "@continuedev/config-yaml": "^1.0.38", + "@continuedev/config-yaml": "file:///users/dallin/documents/code/continuedev/continue/packages/config-yaml/dist", "@continuedev/fetch": "^1.0.4", "@continuedev/llm-info": "^1.0.2", "@continuedev/openai-adapters": "^1.0.10", diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index 259d3e7c8..229025d6d 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -1399,23 +1399,6 @@ } } }, - { - "if": { - "properties": { - "provider": { - "const": "llamafile" - } - }, - "required": ["provider"] - }, - "then": { - "properties": { - "llamafileCommand": { - "type": "string" - } - } - } - }, { "if": { "properties": { @@ -1433,23 +1416,6 @@ } } }, - { - "if": { - "properties": { - "provider": { - "enum": ["text-gen-webui"] - } - }, - "required": ["provider"] - }, - "then": { - "properties": { - "streamingUrl": { - "type": "string" - } - } - } - }, { "if": { "properties": { diff --git a/gui/package.json b/gui/package.json index 72ae605a3..75a5b7df5 100644 --- a/gui/package.json +++ b/gui/package.json @@ -15,7 +15,7 @@ "test:watch": "vitest" }, "dependencies": { - "@continuedev/config-yaml": "^1.0.38", + "@continuedev/config-yaml": "file:///users/dallin/documents/code/continuedev/continue/packages/config-yaml/dist", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", "@reduxjs/toolkit": "^2.3.0", diff --git a/packages/openai-adapters/package.json b/packages/openai-adapters/package.json index 3d8bf08e0..e2425a2bb 100644 --- a/packages/openai-adapters/package.json +++ b/packages/openai-adapters/package.json @@ -14,7 +14,7 @@ "dependencies": { "@azure/openai": "^1.0.0-beta.12", "@continuedev/config-types": "^1.0.5", - "@continuedev/config-yaml": "^1.0.32", + "@continuedev/config-yaml": "file:///users/dallin/documents/code/continuedev/continue/packages/config-yaml/dist", "@continuedev/fetch": "^1.0.3", "json-schema": "^0.4.0", "node-fetch": "^3.3.2",