Compare commits

..
1 Commits
Author SHA1 Message Date
chris 2cde089e1e Update files 2026-09-02 20:21:07 +01:00
+6 -5
View File
@@ -46,11 +46,10 @@ return {
}, },
}, },
provider = 'openai_compatible', provider = 'openai_compatible',
request_timeout = 3, request_timeout = 2.5,
throttle = 500, -- Increase to reduce costs and avoid rate limits throttle = 1500, -- Increase to reduce costs and avoid rate limits
debounce = 400, -- Increase to reduce costs and avoid rate limits debounce = 600, -- Increase to reduce costs and avoid rate limits
n_completions = 1, n_completions = 1,
before_cursor_filter_length = 10,
provider_options = { provider_options = {
openai_compatible = { openai_compatible = {
api_key = 'COMPLETION_OPENAI_API_KEY', api_key = 'COMPLETION_OPENAI_API_KEY',
@@ -58,15 +57,17 @@ return {
model = vim.env.COMPLETION_MODEL, model = vim.env.COMPLETION_MODEL,
name = 'Openrouter', name = 'Openrouter',
optional = { optional = {
max_tokens = 300, max_tokens = 56,
top_p = 0.9, top_p = 0.9,
provider = { provider = {
-- Prioritize throughput for faster completion -- Prioritize throughput for faster completion
sort = 'throughput', sort = 'throughput',
}, },
reasoning_effort = 'none',
}, },
}, },
}, },
} }
end, end,
} }