feat: add AvanteModels command (#1575)
This commit is contained in:
19
README.md
19
README.md
@@ -680,15 +680,16 @@ return {
|
||||
| Command | Description | Examples |
|
||||
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
|
||||
| `:AvanteAsk [question] [position]` | Ask AI about your code. Optional `position` set window position and `ask` enable/disable direct asking mode | `:AvanteAsk position=right Refactor this code here` |
|
||||
| `:AvanteBuild` | Build dependencies for the project |
|
||||
| `:AvanteChat` | Start a chat session with AI about your codebase. Default is `ask`=false |
|
||||
| `:AvanteClear` | Clear the chat history |
|
||||
| `:AvanteEdit` | Edit the selected code blocks |
|
||||
| `:AvanteFocus` | Switch focus to/from the sidebar |
|
||||
| `:AvanteRefresh` | Refresh all Avante windows |
|
||||
| `:AvanteSwitchProvider` | Switch AI provider (e.g. openai) |
|
||||
| `:AvanteShowRepoMap` | Show repo map for project's structure |
|
||||
| `:AvanteToggle` | Toggle the Avante sidebar |
|
||||
| `:AvanteBuild` | Build dependencies for the project | |
|
||||
| `:AvanteChat` | Start a chat session with AI about your codebase. Default is `ask`=false | |
|
||||
| `:AvanteClear` | Clear the chat history | |
|
||||
| `:AvanteEdit` | Edit the selected code blocks | |
|
||||
| `:AvanteFocus` | Switch focus to/from the sidebar | |
|
||||
| `:AvanteRefresh` | Refresh all Avante windows | |
|
||||
| `:AvanteSwitchProvider` | Switch AI provider (e.g. openai) | |
|
||||
| `:AvanteShowRepoMap` | Show repo map for project's structure | |
|
||||
| `:AvanteToggle` | Toggle the Avante sidebar | |
|
||||
| `:AvanteModels` | Show model list | |
|
||||
|
||||
## Highlight Groups
|
||||
|
||||
|
||||
@@ -154,3 +154,4 @@ end, {
|
||||
complete = function(_, _, _) return { "history", "memory", "cache" } end,
|
||||
})
|
||||
cmd("ShowRepoMap", function() require("avante.repo_map").show() end, { desc = "avante: show repo map" })
|
||||
cmd("Models", function() require("avante.model_selector").open() end, { desc = "avante: show models" })
|
||||
|
||||
Reference in New Issue
Block a user