diff --git a/README.md b/README.md index d8968d7..876555a 100644 --- a/README.md +++ b/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 diff --git a/plugin/avante.lua b/plugin/avante.lua index bf24d6c..679eb4c 100644 --- a/plugin/avante.lua +++ b/plugin/avante.lua @@ -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" })