diff --git a/core/context/retrieval/repoMapRequest.ts b/core/context/retrieval/repoMapRequest.ts index 618be4808..e4b3e072e 100644 --- a/core/context/retrieval/repoMapRequest.ts +++ b/core/context/retrieval/repoMapRequest.ts @@ -6,6 +6,7 @@ import generateRepoMap from "../../util/generateRepoMap"; const SUPPORTED_MODEL_TITLE_FAMILIES = [ "claude-3", "llama3.1", + "llama3.2", "gemini-1.5", "gpt-4", ]; diff --git a/docs/docs/customize/deep-dives/codebase.md b/docs/docs/customize/deep-dives/codebase.md index 5acf4e857..7734f0596 100644 --- a/docs/docs/customize/deep-dives/codebase.md +++ b/docs/docs/customize/deep-dives/codebase.md @@ -75,4 +75,4 @@ If you need to force a refresh of the index, reload the VS Code window with `cmd ## Repository map -Models in the Claude 3, Llama 3.1, Gemini 1.5, and GPT-4o families will automatically use a [repository map](../context-providers.md#repository-map) during codebase retrieval, which allows the model to understand the structure of your codebase and use it to answer questions. Currently, the repository map only contains the filepaths in the codebase. +Models in the Claude 3, Llama 3.1/3.2, Gemini 1.5, and GPT-4o families will automatically use a [repository map](../context-providers.md#repository-map) during codebase retrieval, which allows the model to understand the structure of your codebase and use it to answer questions. Currently, the repository map only contains the filepaths in the codebase. diff --git a/docs/docs/customize/model-providers/more/cerebras.md b/docs/docs/customize/model-providers/more/cerebras.md index 57d549830..d9cbd31dc 100644 --- a/docs/docs/customize/model-providers/more/cerebras.md +++ b/docs/docs/customize/model-providers/more/cerebras.md @@ -1,6 +1,6 @@ # Cerebras Inference -Cerebras Inference uses specialized silicon to provides fast inference for the Llama3.1 8B and Llama3.1 70B models. +Cerebras Inference uses specialized silicon to provides fast inference. 1. Create an account in the portal [here](https://cloud.cerebras.ai/). 2. Create and copy the API key for use in Continue. diff --git a/docs/docs/customize/tutorials/llama3.1.md b/docs/docs/customize/tutorials/llama3.1.md index 1ad6a1dc9..2cec71cda 100644 --- a/docs/docs/customize/tutorials/llama3.1.md +++ b/docs/docs/customize/tutorials/llama3.1.md @@ -4,7 +4,7 @@ description: How to use Llama 3.1 with Continue keywords: [llama, meta, togetherai, ollama, replicate] --- -Continue makes it easy to code with the latest open-source models, including the entire Llama 3.1 family of models. +Continue makes it easy to code with the latest open-source models, including the entire Llama 3.1 family of models. Llama 3.2 models are also supported but not recommended for chat, because they are specifically designed to be small or multi-modal. If you haven't already installed Continue, you can do that [here for VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) or [here for JetBrains](https://plugins.jetbrains.com/plugin/22707-continue). For more general information on customizing Continue, read [our customization docs](../overview.md). diff --git a/extensions/vscode/src/webviewProtocol.ts b/extensions/vscode/src/webviewProtocol.ts index 89524a371..be309e390 100644 --- a/extensions/vscode/src/webviewProtocol.ts +++ b/extensions/vscode/src/webviewProtocol.ts @@ -30,8 +30,7 @@ export async function showTutorial() { } export class VsCodeWebviewProtocol - implements IMessenger -{ + implements IMessenger { listeners = new Map< keyof FromWebviewProtocol, ((message: Message) => any)[] @@ -125,7 +124,7 @@ export class VsCodeWebviewProtocol message = message.split("\n").filter((l: string) => l !== "")[1]; try { message = JSON.parse(message).message; - } catch {} + } catch { } if (message.includes("exceeded")) { message += " To keep using Continue, you can set up a local model or use your own API key."; @@ -179,7 +178,7 @@ export class VsCodeWebviewProtocol }); } - constructor(private readonly reloadConfig: () => void) {} + constructor(private readonly reloadConfig: () => void) { } invoke( messageType: T, data: FromWebviewProtocol[T][0], diff --git a/gui/public/logos/ibm.png b/gui/public/logos/ibm.png index be88ec2ed..7a465290a 100644 Binary files a/gui/public/logos/ibm.png and b/gui/public/logos/ibm.png differ diff --git a/gui/public/logos/ibmold.png b/gui/public/logos/ibmold.png new file mode 100644 index 000000000..be88ec2ed Binary files /dev/null and b/gui/public/logos/ibmold.png differ diff --git a/gui/src/components/modelSelection/ModelSelectionListbox.tsx b/gui/src/components/modelSelection/ModelSelectionListbox.tsx index 629463943..a28410eb4 100644 --- a/gui/src/components/modelSelection/ModelSelectionListbox.tsx +++ b/gui/src/components/modelSelection/ModelSelectionListbox.tsx @@ -79,13 +79,13 @@ export const StyledListboxOptions = styled(Listbox.Options)` } `; -export const StyledListboxOption = styled(Listbox.Option)<{ +export const StyledListboxOption = styled(Listbox.Option) <{ selected: boolean; }>` background-color: ${({ selected }) => selected ? vscListActiveBackground : vscInputBackground}; cursor: pointer; - padding: 6px 8px; + padding: 6px 8px 6px 12px; display: flex; gap: 8px; @@ -121,11 +121,10 @@ function ModelSelectionListbox({ {window.vscMediaUrl && selectedProvider.icon && ( )} - {selectedProvider.title} + {selectedProvider.title} {({ selected }) => ( <> {option.title === "Autodetect" ? ( - + ) : ( window.vscMediaUrl && option.icon && ( ) )} - {option.title} + {option.title} {selected && ( diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 1bca2efff..18abdab7b 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -572,7 +572,7 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo title: "SambaNova Cloud", provider: "sambanova", refPage: "sambanova", - description: "Use SambaNova Cloud for Llama3.1 fast inference performance", + description: "Use SambaNova Cloud for fast inference performance", icon: "sambanova.png", longDescription: `The SambaNova Cloud is a cloud platform for running large AI models with the world record Llama 3.1 70B/405B performance. You can sign up [here](https://cloud.sambanova.ai/)`, tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],