Skip to content

Instantly share code, notes, and snippets.

@eagleusb
Last active November 9, 2024 19:31
Show Gist options
  • Save eagleusb/e90a8113fce0116cbb2e79a6cfcad259 to your computer and use it in GitHub Desktop.
Save eagleusb/e90a8113fce0116cbb2e79a6cfcad259 to your computer and use it in GitHub Desktop.
vscode-continue-llm-chat-autocomplete-embedding

continue

{
  "models": [
    {
      "model": "AUTODETECT",
      "title": "Autodetect",
      "provider": "ollama"
    },
    {
      "title": "Claude 3.5 Sonnet",
      "provider": "vertexai",
      "model": "claude-3-5-sonnet-20240620",
      "projectId": "${PROJECT_ID}",
      "region": "us-east1"
    },
    {
      "title": "Gemini 1.5 Pro",
      "provider": "gemini",
      "model": "gemini-1.5-pro-latest",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Gemini 1.5 Flash",
      "provider": "gemini",
      "model": "gemini-1.5-flash-latest",
      "apiKey": "${API_KEY}"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Codestral (Vertex AI)",
    "provider": "vertexai",
    "model": "codestral",
    "projectId": "${PROJECT_ID}",
    "region": "us-east1"
  },
  "embeddingsProvider": {
    "provider": "gemini",
    "model": "models/text-embedding-004",
    "apiKey": "${API_KEY}"
  },
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite 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": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment