continue-custom/core/config/default.ts
Nate Sesti 41046700d3
Nate/atwoods law (#753)
* 👷 basic skeleton for building with pkg

* ⚡️ first attempt at syncing in .ts

* 🎨 change lancedb storage format

* 🚧 add chunking to LanceDbIndex

* 🔥 move transformers.js from gui to core

* 🐛 fix tsc build

* 🐛 fix bugs loading native modules in vscode extension

* 👷 copy wasms and fix other syncing bugs

* 👷 esbuild modification to allow importMetaUrl for transformers.js

* 👷 add sharp as external module so transformers.js can be loade

* 🐛 more indexing fixes

* ✨ retrieve from lancedb

* 🎨 respect .gitignore when traversing file tree

* 🐛 fix logic bugs in indexing

* 🐛 fix prompt construction bug causing doubling of context items

* 🔥 remove legacy files

* 📌 vendor transformers.js to avoid dependency on sharp

* 👷 package necessary native modules

* 🎨 respect multi-root workspaces when indexing/retrieving

* 🔥 only ship onnxruntime-node binaries for current platform

* 🎨 trigger re-indexing on git branch change

* 🎨 make indexing resumable

* ✨ add folder context provider

* ✨ folders context provider in dropdown

* 🐛 polishing folders context provider
2024-01-16 00:33:02 -08:00

63 lines
1.5 KiB
TypeScript

import { SerializedContinueConfig } from "..";
const defaultConfig: SerializedContinueConfig = {
models: [
{
title: "GPT-4",
provider: "free-trial",
model: "gpt-4",
},
{
title: "GPT-3.5-Turbo",
provider: "free-trial",
model: "gpt-3.5-turbo",
},
{
title: "Phind CodeLlama",
provider: "free-trial",
model: "phind-codellama-34b",
},
{
title: "Gemini Pro",
provider: "free-trial",
model: "gemini-pro",
},
],
slashCommands: [
{
name: "edit",
description: "Edit selected code",
},
{
name: "comment",
description: "Write comments for the selected code",
},
{
name: "share",
description: "Download and share this session",
},
{
name: "cmd",
description: "Generate a shell command",
},
],
customCommands: [
{
name: "test",
prompt:
"Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
description: "Write unit tests for highlighted code",
},
],
contextProviders: [
{ name: "diff", params: {} },
{
name: "open",
params: {},
},
{ name: "terminal", params: {} },
{ name: "problems", params: {} },
],
};
export default defaultConfig;