From 430cb916a200c3eaee7157011f1acb752104264c Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 29 Oct 2024 21:50:28 -0700 Subject: [PATCH] tweaks --- docs/docs/reference.md | 26 ++------------------------ extensions/vscode/config_schema.json | 19 +++---------------- 2 files changed, 5 insertions(+), 40 deletions(-) diff --git a/docs/docs/reference.md b/docs/docs/reference.md index 6468eb85f..51c29cc6e 100644 --- a/docs/docs/reference.md +++ b/docs/docs/reference.md @@ -40,7 +40,7 @@ Parameters that control the behavior of text generation and completion settings. - `frequencePenalty`: Penalizes tokens based on their frequency in the text, reducing repetition. - `mirostat`: Enables Mirostat sampling, which controls the perplexity during text generation. Supported by Ollama, LM Studio, and llama.cpp providers (default: `0`, where `0` = disabled, `1` = Mirostat, and `2` = Mirostat 2.0). - `stop`: An array of stop tokens that, when encountered, will terminate the completion. Allows specifying multiple end conditions. -- `maxTokens`: The maximum number of tokens to generate in a completion (default: `600`). +- `maxTokens`: The maximum number of tokens to generate in a completion (default: `2048`). - `numThreads`: The number of threads used during the generation process. Available only for Ollama as `num_thread`. - `keepAlive`: For Ollama, this parameter sets the number of seconds to keep the model loaded after the last request, unloading it from memory if inactive (default: `1800` seconds, or 30 minutes). @@ -285,7 +285,7 @@ Custom commands initiated by typing "/" in the sidebar. Commands include predefi **Properties:** -- `name`: The command name. Options include "issue", "share", "cmd", "edit", "comment", "http", "commit", "review", or a custom name. +- `name`: The command name. Options include "issue", "share", "cmd", "edit", "comment", "http", "commit", and "review". - `description`: Brief description of the command. - `step`: (Deprecated) Used for built-in commands; set the name for pre-configured options. - `params`: Additional parameters to configure command behavior (command-specific - see code for command) @@ -400,28 +400,6 @@ Example: } ``` -### `analytics` - -You can set up Continue to route analytics to your own provider. - -**Properties:** - -- `provider` (**required**): Specifies the analytics provider, options are "posthog" or "logstash" -- `url`: The URL where analytics data is sent -- `clientKey`: Key for identifying the client within analytics - -Example: - -```json title="config.json" -{ - "analytics": { - "provider": "posthog", - "url": "https://analytics.example.com", - "clientKey": "CLIENT_KEY" - } -} -``` - ### `allowAnonymousTelemetry` When `true`, anonymous usage data is collected using Posthog, to improve features. Default is `true`. diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index 945d0277f..9ffe9dfb1 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -368,7 +368,7 @@ "presencePenalty": null, "frequencyPenalty": null, "stop": null, - "maxTokens": 600 + "maxTokens": 2048 }, "allOf": [ { @@ -2851,12 +2851,11 @@ "properties": { "provider": { "type": "string", - "enum": ["posthog", "logstash"], + "enum": ["posthog"], "description": "The 3rd party analytics provider to use.", "default": "posthog", "markdownEnumDescriptions": [ - "### Posthog\nTo use Posthog, set up an account, obtain your client key, and enter it in the client key field.", - "### Logstash\nContinue's Logstash integration uses the TCP input at the specified URL" + "### Posthog\nTo use Posthog, set up an account, obtain your client key, and enter it in the client key field." ] }, "url": { @@ -2881,18 +2880,6 @@ "then": { "required": ["clientKey"] } - }, - { - "if": { - "properties": { - "provider": { - "enum": ["logstash"] - } - } - }, - "then": { - "required": ["url"] - } } ] },