Changesets · Branches · Tags · Compare
| Changeset | ba721b89517974b868e604c0191051fa2b65e34a36748340dbada1b14efebf07 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-06-11 18:01 -07:00 |
| Committer | Dallin Romney <dallinromney@gmail.com> · 2025-06-11 18:01 -07:00 |
| Parents | 1edb336bdb82 |
15 files changed
modified .github/workflows/submit-github-dependency-graph.yml +13 −13
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | 4 | push: |
| 5 | - branches: ['main'] | |
| 5 | + branches: ["main"] | |
| 6 | 6 | |
| 7 | 7 | permissions: |
| 8 | 8 | contents: write |
| @@ -11,15 +11,15 @@ | ||
| 11 | 11 | dependency-submission: |
| 12 | 12 | runs-on: ubuntu-latest |
| 13 | 13 | steps: |
| 14 | - - name: Checkout sources | |
| 15 | - uses: actions/checkout@v4 | |
| 16 | - - name: Setup Java | |
| 17 | - uses: actions/setup-java@v4 | |
| 18 | - with: | |
| 19 | - distribution: 'temurin' | |
| 20 | - java-version: 17 | |
| 21 | - - name: Generate and submit dependency graph | |
| 22 | - uses: gradle/actions/dependency-submission@v4 | |
| 23 | - with: | |
| 24 | - # The gradle project is not in the root of the repository. | |
| 25 | - build-root-directory: extensions/intellij | |
| 14 | + - name: Checkout sources | |
| 15 | + uses: actions/checkout@v4 | |
| 16 | + - name: Setup Java | |
| 17 | + uses: actions/setup-java@v4 | |
| 18 | + with: | |
| 19 | + distribution: "temurin" | |
| 20 | + java-version: 17 | |
| 21 | + - name: Generate and submit dependency graph | |
| 22 | + uses: gradle/actions/dependency-submission@v4 | |
| 23 | + with: | |
| 24 | + # The gradle project is not in the root of the repository. | |
| 25 | + build-root-directory: extensions/intellij |
modified core/data/log.test.ts +11 −8
| @@ -20,17 +20,17 @@ | ||
| 20 | 20 | }; |
| 21 | 21 | |
| 22 | 22 | const TEST_AGENT_INTERACTION_EVENT: DevDataLogEvent = { |
| 23 | - name: 'chatInteraction', | |
| 23 | + name: "chatInteraction", | |
| 24 | 24 | data: { |
| 25 | 25 | prompt: "Hello, world!", |
| 26 | 26 | completion: "Hello, world!", |
| 27 | 27 | modelProvider: "openai", |
| 28 | 28 | modelTitle: "gpt-4", |
| 29 | 29 | sessionId: "1234", |
| 30 | - tools: ['test-tool1'] | |
| 30 | + tools: ["test-tool1"], | |
| 31 | 31 | }, |
| 32 | -} | |
| 33 | - | |
| 32 | +}; | |
| 33 | + | |
| 34 | 34 | const SCHEMA = "0.2.0"; |
| 35 | 35 | |
| 36 | 36 | describe("DataLogger", () => { |
| @@ -171,22 +171,25 @@ | ||
| 171 | 171 | expect(fileContent).toContain('"eventName":"tokensGenerated"'); |
| 172 | 172 | }); |
| 173 | 173 | |
| 174 | - it('should write agent interaction data to local file', async () => { | |
| 174 | + it("should write agent interaction data to local file", async () => { | |
| 175 | 175 | // Call the method to log data locally |
| 176 | 176 | await dataLogger.logLocalData(TEST_AGENT_INTERACTION_EVENT); |
| 177 | 177 | |
| 178 | 178 | // Verify the file was created |
| 179 | - const filepath = getDevDataFilePath(TEST_AGENT_INTERACTION_EVENT.name, SCHEMA); | |
| 179 | + const filepath = getDevDataFilePath( | |
| 180 | + TEST_AGENT_INTERACTION_EVENT.name, | |
| 181 | + SCHEMA, | |
| 182 | + ); | |
| 180 | 183 | expect(fs.existsSync(filepath)).toBe(true); |
| 181 | 184 | |
| 182 | 185 | // Read file contents and verify |
| 183 | 186 | const fileContent = fs.readFileSync(filepath, "utf8"); |
| 184 | - console.log('debug1 filecontent', fileContent) | |
| 187 | + console.log("debug1 filecontent", fileContent); | |
| 185 | 188 | expect(fileContent).toContain('"eventName":"chatInteraction"'); |
| 186 | 189 | expect(fileContent).toContain('"prompt":"Hello, world!"'); |
| 187 | 190 | expect(fileContent).toContain('"completion":"Hello, world!"'); |
| 188 | 191 | expect(fileContent).toContain('"tools":["test-tool1"]'); |
| 189 | - }) | |
| 192 | + }); | |
| 190 | 193 | }); |
| 191 | 194 | |
| 192 | 195 | describe("logDevData", () => { |
modified core/llm/llamaTokenizer.mjs +0 −0
Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.
modified core/llm/llamaTokenizerWorkerPool.mjs +5 −5
| @@ -2,14 +2,14 @@ | ||
| 2 | 2 | import llamaTokenizer from "./llamaTokenizer.mjs"; |
| 3 | 3 | |
| 4 | 4 | function encode(segment) { |
| 5 | - return llamaTokenizer.encode(segment); | |
| 5 | + return llamaTokenizer.encode(segment); | |
| 6 | 6 | } |
| 7 | 7 | |
| 8 | 8 | function decode(tokens) { |
| 9 | - return llamaTokenizer.decode(tokens); | |
| 9 | + return llamaTokenizer.decode(tokens); | |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | workerpool.worker({ |
| 13 | - decode, | |
| 14 | - encode, | |
| 15 | -}); | |
| No newline at the end of the file | ||
| 13 | + decode, | |
| 14 | + encode, | |
| 15 | +}); |
modified core/llm/tiktokenWorkerPool.mjs +5 −5
| @@ -4,14 +4,14 @@ | ||
| 4 | 4 | const tiktokenEncoding = _encodingForModel("gpt-4"); |
| 5 | 5 | |
| 6 | 6 | function encode(text) { |
| 7 | - return tiktokenEncoding.encode(text, "all", []); | |
| 7 | + return tiktokenEncoding.encode(text, "all", []); | |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | function decode(tokens) { |
| 11 | - return tiktokenEncoding.decode(tokens); | |
| 11 | + return tiktokenEncoding.decode(tokens); | |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | workerpool.worker({ |
| 15 | - decode, | |
| 16 | - encode, | |
| 17 | -}); | |
| No newline at the end of the file | ||
| 15 | + decode, | |
| 16 | + encode, | |
| 17 | +}); |
modified docs/docs/customize/deep-dives/autocomplete.mdx +3 −2
| @@ -135,12 +135,13 @@ | ||
| 135 | 135 | ### Is there a shortcut to accept one line at a time? |
| 136 | 136 | |
| 137 | 137 | This is a built-in feature of VS Code, but it's just a bit hidden. Follow these settings to reassign the keyboard shortcuts in VS Code: |
| 138 | + | |
| 138 | 139 | 1. Press `Ctrl+Shift+P`, type the command: `Preferences: Open Keyboard Shortcuts`, and enter the keyboard shortcuts settings page. |
| 139 | 140 | 2. Search for `editor.action.inlineSuggest.acceptNextLine`. |
| 140 | 141 | 3. Set the key binding to `Tab`. |
| 141 | 142 | 4. Set the trigger condition (when) to `inlineSuggestionVisible && !editorReadonly`. |
| 142 | -This will make multi-line completion (including continue and from VS Code built-in or other plugin snippets) still work, and you will see multi-line completion. However, Tab will only fill in one line at a time. Any unnecessary code can be canceled with `Esc`. | |
| 143 | -If you need to apply all the code, just press `Tab` multiple times. | |
| 143 | + This will make multi-line completion (including continue and from VS Code built-in or other plugin snippets) still work, and you will see multi-line completion. However, Tab will only fill in one line at a time. Any unnecessary code can be canceled with `Esc`. | |
| 144 | + If you need to apply all the code, just press `Tab` multiple times. | |
| 144 | 145 | |
| 145 | 146 | ### How to turn off autocomplete |
| 146 | 147 |
modified docs/docs/customize/model-providers/more/openvino_model_server.mdx +1 −2
| @@ -4,7 +4,7 @@ | ||
| 4 | 4 | [**OpenVINO™ Mode Server**](https://github.com/openvinotoolkit/model_server) is scalable inference server for models optimized with OpenVINO™ for Intel CPU, iGPU, GPU and NPU. |
| 5 | 5 | ::: |
| 6 | 6 | |
| 7 | -OpenVINO™ Mode Server supports text generation via OpenAI Chat Completions API. Simply select OpenAI provider to point `apiBase` to running OVMS instance. Refer [to this demo](https://docs.openvino.ai/2025/model-server/ovms_demos_code_completion_vsc.html) on official OVMS documentation to easily set up your own local server. | |
| 7 | +OpenVINO™ Mode Server supports text generation via OpenAI Chat Completions API. Simply select OpenAI provider to point `apiBase` to running OVMS instance. Refer [to this demo](https://docs.openvino.ai/2025/model-server/ovms_demos_code_completion_vsc.html) on official OVMS documentation to easily set up your own local server. | |
| 8 | 8 | |
| 9 | 9 | Example configuration once OVMS is launched: |
| 10 | 10 | |
| @@ -27,4 +27,3 @@ | ||
| 27 | 27 | roles: |
| 28 | 28 | - autocomplete |
| 29 | 29 | ``` |
| 30 | - |
modified docs/docs/customize/tutorials/llama3.1.mdx +1 −1
| @@ -153,7 +153,7 @@ | ||
| 153 | 153 | |
| 154 | 154 | SambaNova Cloud provides world record Llama3.1 70B/405B serving. |
| 155 | 155 | |
| 156 | -1. Create an account [here](http://cloud.sambanova.ai?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup ) | |
| 156 | +1. Create an account [here](http://cloud.sambanova.ai?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup) | |
| 157 | 157 | 2. Copy your API key |
| 158 | 158 | 3. Update your Continue config file like this: |
| 159 | 159 |
modified docs/docs/customize/tutorials/set-up-codestral.mdx +0 −1
| @@ -60,4 +60,3 @@ | ||
| 60 | 60 | </Tabs> |
| 61 | 61 | |
| 62 | 62 | 5. If you run into any issues or have any questions, please join our Discord and post in the `#help` channel [here](https://discord.gg/EfJEfdFnDQ) |
| 63 | - |
modified docs/docs/getting-started/overview.mdx +6 −5
| @@ -36,13 +36,14 @@ | ||
| 36 | 36 | |
| 37 | 37 | <TabItem value="edit" label="Edit"> |
| 38 | 38 | |
| 39 | - [Edit](../edit/how-to-use-it.md#how-to-use-it) is a convenient way to modify code without leaving your current file | |
| 39 | +[Edit](../edit/how-to-use-it.md#how-to-use-it) is a convenient way to modify code without leaving your current file | |
| 40 | 40 | |
| 41 | -  | |
| 41 | + | |
| 42 | 42 | |
| 43 | - <Admonition type="info" title="Learn more" icon="📚"> | |
| 44 | - Learn more about [Edit](../edit/how-to-use-it.md#how-to-use-it) | |
| 45 | - </Admonition> | |
| 43 | +{" "} | |
| 44 | +<Admonition type="info" title="Learn more" icon="📚"> | |
| 45 | + Learn more about [Edit](../edit/how-to-use-it.md#how-to-use-it) | |
| 46 | +</Admonition> | |
| 46 | 47 | |
| 47 | 48 | </TabItem> |
| 48 | 49 |
modified docs/docs/troubleshooting.mdx +1 −1
| @@ -120,7 +120,7 @@ | ||
| 120 | 120 | |
| 121 | 121 | You may also set `requestOptions.caBundlePath` to an array of paths to multiple certificates. |
| 122 | 122 | |
| 123 | -***Windows VS Code Users***: Installing the [win-ca](https://marketplace.visualstudio.com/items?itemName=ukoloff.win-ca) extension should also correct this issue. | |
| 123 | +**_Windows VS Code Users_**: Installing the [win-ca](https://marketplace.visualstudio.com/items?itemName=ukoloff.win-ca) extension should also correct this issue. | |
| 124 | 124 | |
| 125 | 125 | #### VS Code Proxy Settings |
| 126 | 126 |
modified gui/src/redux/thunks/streamNormalInput.ts +1 −1
| @@ -82,7 +82,7 @@ | ||
| 82 | 82 | modelProvider: selectedChatModel.underlyingProviderName, |
| 83 | 83 | modelTitle: selectedChatModel.title, |
| 84 | 84 | sessionId: state.session.id, |
| 85 | - ...(state.session.mode === 'agent' && { | |
| 85 | + ...(state.session.mode === "agent" && { | |
| 86 | 86 | tools: activeTools.map((tool) => tool.function.name), |
| 87 | 87 | }), |
| 88 | 88 | }, |
modified manual-testing-sandbox/test.html +26 −28
| @@ -1,30 +1,28 @@ | ||
| 1 | -<!DOCTYPE html> | |
| 1 | +<!doctype html> | |
| 2 | 2 | <html lang="en"> |
| 3 | + <head> | |
| 4 | + <meta charset="UTF-8" /> | |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| 6 | + <title>Sample Page</title> | |
| 7 | + <link rel="stylesheet" href="test.css" /> | |
| 8 | + </head> | |
| 3 | 9 | |
| 4 | -<head> | |
| 5 | - <meta charset="UTF-8"> | |
| 6 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| 7 | - <title>Sample Page</title> | |
| 8 | - <link rel="stylesheet" href="test.css"> | |
| 9 | -</head> | |
| 10 | - | |
| 11 | -<body> | |
| 12 | - <header> | |
| 13 | - <h1>Welcome to the Sample Page</h1> | |
| 14 | - <nav> | |
| 15 | - <a href="#home">Home</a> | |
| 16 | - <a href="#about">About</a> | |
| 17 | - <a href="#contact">Contact</a> | |
| 18 | - </nav> | |
| 19 | - </header> | |
| 20 | - <div class="container"> | |
| 21 | - <p>This is a sample paragraph.</p> | |
| 22 | - <ol> | |
| 23 | - <li>Item 1</li> | |
| 24 | - <li>Item 2</li> | |
| 25 | - <li>Item 3</li> | |
| 26 | - </ol> | |
| 27 | - </div> | |
| 28 | -</body> | |
| 29 | - | |
| 30 | -</html> | |
| No newline at the end of the file | ||
| 10 | + <body> | |
| 11 | + <header> | |
| 12 | + <h1>Welcome to the Sample Page</h1> | |
| 13 | + <nav> | |
| 14 | + <a href="#home">Home</a> | |
| 15 | + <a href="#about">About</a> | |
| 16 | + <a href="#contact">Contact</a> | |
| 17 | + </nav> | |
| 18 | + </header> | |
| 19 | + <div class="container"> | |
| 20 | + <p>This is a sample paragraph.</p> | |
| 21 | + <ol> | |
| 22 | + <li>Item 1</li> | |
| 23 | + <li>Item 2</li> | |
| 24 | + <li>Item 3</li> | |
| 25 | + </ol> | |
| 26 | + </div> | |
| 27 | + </body> | |
| 28 | +</html> |
modified packages/config-yaml/src/schemas/data/chatInteraction/index.ts +1 −1
| @@ -7,5 +7,5 @@ | ||
| 7 | 7 | prompt: z.string(), |
| 8 | 8 | completion: z.string(), |
| 9 | 9 | sessionId: z.string(), |
| 10 | - tools: z.array(z.string()).optional() | |
| 10 | + tools: z.array(z.string()).optional(), | |
| 11 | 11 | }); |
modified packages/config-yaml/src/schemas/data/chatInteraction/v0.2.0.ts +1 −1
| @@ -16,7 +16,7 @@ | ||
| 16 | 16 | modelTitle: true, |
| 17 | 17 | modelProvider: true, |
| 18 | 18 | sessionId: true, |
| 19 | - tools: true | |
| 19 | + tools: true, | |
| 20 | 20 | }); |
| 21 | 21 | |
| 22 | 22 | export const chatInteractionEventSchema_0_2_0_noCode = |