Update files
This commit is contained in:
@@ -46,11 +46,10 @@ return {
|
||||
},
|
||||
},
|
||||
provider = 'openai_compatible',
|
||||
request_timeout = 3,
|
||||
throttle = 500, -- Increase to reduce costs and avoid rate limits
|
||||
debounce = 400, -- Increase to reduce costs and avoid rate limits
|
||||
request_timeout = 2.5,
|
||||
throttle = 1500, -- Increase to reduce costs and avoid rate limits
|
||||
debounce = 600, -- Increase to reduce costs and avoid rate limits
|
||||
n_completions = 1,
|
||||
before_cursor_filter_length = 10,
|
||||
provider_options = {
|
||||
openai_compatible = {
|
||||
api_key = 'COMPLETION_OPENAI_API_KEY',
|
||||
@@ -58,15 +57,17 @@ return {
|
||||
model = vim.env.COMPLETION_MODEL,
|
||||
name = 'Openrouter',
|
||||
optional = {
|
||||
max_tokens = 300,
|
||||
max_tokens = 56,
|
||||
top_p = 0.9,
|
||||
provider = {
|
||||
-- Prioritize throughput for faster completion
|
||||
sort = 'throughput',
|
||||
},
|
||||
reasoning_effort = 'none',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user