Solved: Avante works; WIP: Avante markdown; Added: Programs
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{ pkgs, ... }: {
|
||||
# Avante: AI-powered coding assistant (Cursor-like experience in Neovim)
|
||||
programs.nixvim = {
|
||||
extraConfigLuaPre = ''
|
||||
vim.env.GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
||||
'';
|
||||
|
||||
#extraConfigLuaPre = ''
|
||||
# vim.env.GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
||||
#'';
|
||||
# TODO: Integrate CoPilot https://github.com/settings/copilot/features
|
||||
plugins.avante = {
|
||||
enable = true;
|
||||
autoLoad = true;
|
||||
@@ -13,21 +13,20 @@
|
||||
|
||||
providers.groq = {
|
||||
__inherited_from = "openai";
|
||||
api_key_name =
|
||||
"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";
|
||||
api_key_name = "GROQ_API_KEY";
|
||||
endpoint = "https://api.groq.com/openai/v1/";
|
||||
model = "llama-3.3-70b-versatile";
|
||||
model = "groq/compound-mini";
|
||||
disable_tools = true;
|
||||
extra_request_body = {
|
||||
temperature = 1;
|
||||
max_tokens = 32768;
|
||||
max_tokens = 8192;
|
||||
};
|
||||
};
|
||||
|
||||
auto_suggestions_provider = "copilot";
|
||||
# auto_suggestions_provider = "copilot";
|
||||
|
||||
behaviour = {
|
||||
auto_suggestions = true;
|
||||
auto_suggestions = false;
|
||||
auto_set_highlight_group = true;
|
||||
auto_set_keymaps = true;
|
||||
auto_apply_diff_after_generation = false;
|
||||
|
||||
Reference in New Issue
Block a user