Merge branch 'dev' into pe/jb-misc-fixes

This commit is contained in:
Patrick Erichsen 2024-10-23 16:54:07 -07:00 • committed by GitHub
commit 022eab2eb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 25 additions and 11 deletions

View file

@ -1,3 +1,4 @@
import { BaseContextProvider } from "../";
import {
ContextItem,
ContextProviderDescription,
@ -11,7 +12,6 @@ import {
getUniqueFilePath,
groupByLastNPathParts,
} from "../../util/";
import { BaseContextProvider } from "../";
const MAX_SUBMENU_ITEMS = 10_000;
@ -21,7 +21,6 @@ class FileContextProvider extends BaseContextProvider {
displayTitle: "Files",
description: "Type to search",
type: "submenu",
dependsOnIndexing: true,
};
async getContextItems(

View file

@ -34,7 +34,6 @@ class FileTreeContextProvider extends BaseContextProvider {
description: "Attach a representation of the file tree",
type: "normal",
renderInlineAs: "",
dependsOnIndexing: true,
};
async getContextItems(

View file

@ -7,9 +7,9 @@ import {
LoadSubmenuItemsArgs,
} from "../../";
import {
groupByLastNPathParts,
getBasename,
getUniqueFilePath,
groupByLastNPathParts,
} from "../../util";
import generateRepoMap from "../../util/generateRepoMap";
@ -25,7 +25,6 @@ class RepoMapContextProvider extends BaseContextProvider {
displayTitle: "Repository Map",
description: "Select a folder",
type: "submenu",
dependsOnIndexing: true,
};
async getContextItems(

View file

@ -3,6 +3,14 @@ title: Azure OpenAI
slug: ../azure
---
Azure OpenAI is a cloud-based service that provides access to OpenAI's models, integrated with the security and enterprise features of the Microsoft Azure platform. To get started, create an Azure OpenAI resource in the [Azure portal](https://portal.azure.com).
:::info
For details on model setup, see [General model configuration](#general-model-configuration).
:::
## Chat model
We recommend configuring **GPT-4o** as your chat model.

View file

@ -3,6 +3,8 @@ title: Amazon Bedrock
slug: ../bedrock
---
Amazon Bedrock is a fully managed service on AWS that provides access to foundation models from various AI companies through a single API.
## Chat model
We recommend configuring **Claude 3.5 Sonnet** as your chat model.

View file

@ -3,6 +3,8 @@ title: Ollama
slug: ../ollama
---
Ollama is an open-source tool that allows to run large language models (LLMs) locally on their own computers. To use Ollama, you can install it [here](https://ollama.ai/download) and download the model you want to run with the `ollama run` command.
## Chat model
We recommend configuring **Llama3.1 8B** as your chat model.

View file

@ -7,11 +7,11 @@ This file is for contribution guidelines specific to the JetBrains extension. Se
- [Architecture Overview](#architecture-overview)
- [Environment Setup](#environment-setup)
- [IDE Installation](#ide-installation)
- [IDE configuration](#ide-configuration)
- [Node.js Requirements](#nodejs-requirements)
- [Install all dependencies](#install-all-dependencies)
- [Misc](#misc)
- [IDE Installation](#ide-installation)
- [IDE configuration](#ide-configuration)
- [Node.js Requirements](#nodejs-requirements)
- [Install all dependencies](#install-all-dependencies)
- [Misc](#misc)
- [Development Workflow](#development-workflow)
- [Running the extension in debug mode](#running-the-extension-in-debug-mode)
- [Reloading changes](#reloading-changes)
@ -66,11 +66,16 @@ Select the "Run Continue" task in the top right corner of the IDE and then selec
This should open a new instance on IntelliJ with the extension installed.
### Accessing files in the `.continue` directory
When running the `Start Dev Server (core)` task, we set the location of your Continue directory to `./binary/.continue`. This is to
allow for changes to your `config.json` and other files during development, without affecting your actual configuration.
### Reloading changes
- `extensions/intellij`: Attempt to reload changed classes by selecting
_Run | Debugging Actions | Reload Changed Classes`_
- This will often fail on new imports, schema changes etc. In that case, you need to stop and restart the extension
- This will often fail on new imports, schema changes etc. In that case, you need to stop and restart the extension
- `gui`: Changes will be reloaded automatically
- `core`: Run `npm run build` from the `binary` directory (requires restarting the `Start Dev Server (core)` task)