Skip to content

Commit

Permalink
fix(nvim): custom provider max_tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Nov 12, 2024
1 parent bc76ac2 commit 4c6118a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim.nix/config/ai.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
body = {
model = opts.model,
messages = require("avante.providers").copilot.parse_message(code_opts),
max_tokens = 2048,
max_tokens = opts.max_tokens,
stream = true,
},
}
Expand Down

0 comments on commit 4c6118a

Please sign in to comment.