From 95363a5b52f3bf73531ac76b00178fa79ca97661 Mon Sep 17 00:00:00 2001 From: Nate Sesti <33237525+sestinj@users.noreply.github.com> Date: Thu, 28 Sep 2023 01:02:52 -0700 Subject: Past input (#513) * feat: :construction: use ComboBox in place of UserInputContainer * feat: :construction: adding context to previous inputs steps * feat: :sparkles: preview context items on click * feat: :construction: more work on context items ui * style: :construction: working out the details of ctx item buttons * feat: :sparkles: getting the final details * fix: :bug: fix height of ctx items bar * fix: :bug: last couple of details * fix: :bug: pass model param through to hf inference api * fix: :loud_sound: better logging for timeout * feat: :sparkles: option to set the meilisearch url * fix: :bug: fix height of past inputs --- schema/json/ContinueConfig.json | 87 +++++++++++++++++++++++++++++------------ 1 file changed, 62 insertions(+), 25 deletions(-) (limited to 'schema/json/ContinueConfig.json') diff --git a/schema/json/ContinueConfig.json b/schema/json/ContinueConfig.json index 8666c420..e78bb3c9 100644 --- a/schema/json/ContinueConfig.json +++ b/schema/json/ContinueConfig.json @@ -15,7 +15,10 @@ "type": "string" } }, - "required": ["name", "arguments"] + "required": [ + "name", + "arguments" + ] }, "ChatMessage": { "title": "ChatMessage", @@ -23,7 +26,12 @@ "properties": { "role": { "title": "Role", - "enum": ["assistant", "user", "system", "function"], + "enum": [ + "assistant", + "user", + "system", + "function" + ], "type": "string" }, "content": { @@ -42,7 +50,10 @@ "$ref": "#/definitions/FunctionCall" } }, - "required": ["role", "summary"] + "required": [ + "role", + "summary" + ] }, "Step": { "title": "Step", @@ -139,6 +150,11 @@ "description": "Path to a custom CA bundle to use when making the HTTP request", "type": "string" }, + "proxy": { + "title": "Proxy", + "description": "Proxy URL to use when making the HTTP request", + "type": "string" + }, "prompt_templates": { "title": "Prompt Templates", "description": "A dictionary of prompt templates that can be used to customize the behavior of the LLM in certain situations. For example, set the \"edit\" key in order to change the prompt that is used for the /edit slash command. Each value in the dictionary is a string templated in mustache syntax, and filled in at runtime with the variables specific to the situation. See the documentation for more information.", @@ -151,7 +167,9 @@ "type": "string" } }, - "required": ["model"] + "required": [ + "model" + ] }, "src__continuedev__core__models__ContinueSDK": { "title": "ContinueSDK", @@ -166,13 +184,7 @@ "default": { "$ref": "#/definitions/LLM" }, - "small": { - "$ref": "#/definitions/LLM" - }, - "medium": { - "$ref": "#/definitions/LLM" - }, - "large": { + "summarize": { "$ref": "#/definitions/LLM" }, "edit": { @@ -181,8 +193,8 @@ "chat": { "$ref": "#/definitions/LLM" }, - "unused": { - "title": "Unused", + "saved": { + "title": "Saved", "default": [], "type": "array", "items": { @@ -193,7 +205,9 @@ "$ref": "#/definitions/src__continuedev__core__models__ContinueSDK" } }, - "required": ["default"] + "required": [ + "default" + ] }, "CustomCommand": { "title": "CustomCommand", @@ -212,7 +226,11 @@ "type": "string" } }, - "required": ["name", "prompt", "description"] + "required": [ + "name", + "prompt", + "description" + ] }, "SlashCommand": { "title": "SlashCommand", @@ -235,7 +253,11 @@ "type": "object" } }, - "required": ["name", "description", "step"] + "required": [ + "name", + "description", + "step" + ] }, "Policy": { "title": "Policy", @@ -263,7 +285,10 @@ "type": "string" } }, - "required": ["provider_title", "item_id"] + "required": [ + "provider_title", + "item_id" + ] }, "ContextItemDescription": { "title": "ContextItemDescription", @@ -282,7 +307,11 @@ "$ref": "#/definitions/ContextItemId" } }, - "required": ["name", "description", "id"] + "required": [ + "name", + "description", + "id" + ] }, "ContextItem": { "title": "ContextItem", @@ -307,7 +336,10 @@ "type": "boolean" } }, - "required": ["description", "content"] + "required": [ + "description", + "content" + ] }, "ContextProvider": { "title": "ContextProvider", @@ -359,7 +391,12 @@ } } }, - "required": ["title", "display_title", "description", "dynamic"] + "required": [ + "title", + "display_title", + "description", + "dynamic" + ] }, "src__continuedev__core__config__ContinueConfig": { "title": "ContinueConfig", @@ -403,13 +440,13 @@ "timeout": 300, "verify_ssl": null, "ca_bundle_path": null, + "proxy": null, "prompt_templates": {}, "api_key": null, "llm": null, "class_name": "OpenAIFreeTrial" }, - "small": null, - "medium": { + "summarize": { "title": null, "system_message": null, "context_length": 2048, @@ -418,15 +455,15 @@ "timeout": 300, "verify_ssl": null, "ca_bundle_path": null, + "proxy": null, "prompt_templates": {}, "api_key": null, "llm": null, "class_name": "OpenAIFreeTrial" }, - "large": null, "edit": null, "chat": null, - "unused": [] + "saved": [] }, "allOf": [ { @@ -516,4 +553,4 @@ } } } -} +} \ No newline at end of file -- cgit v1.2.3-70-g09d2