Update sway and nvim
This commit is contained in:
@@ -14,19 +14,29 @@ return {
|
||||
-- of 512, serves as an good starting point to estimate your computing
|
||||
-- power. Once you have a reliable estimate of your local computing power,
|
||||
-- you should adjust the context window to a larger value.
|
||||
context_window = 512,
|
||||
context_window = 1024,
|
||||
provider_options = {
|
||||
openai_fim_compatible = {
|
||||
-- For Windows users, TERM may not be present in environment variables.
|
||||
-- Consider using APPDATA instead.
|
||||
api_key = 'TERM',
|
||||
name = 'Ollama',
|
||||
end_point = 'http://localhost:11434/v1/completions',
|
||||
model = 'qwen2.5-coder:7b',
|
||||
name = 'Llama.cpp',
|
||||
end_point = 'http://localhost:1234/v1/completions',
|
||||
model = 'qwen/qwen2.5-coder-14b',
|
||||
optional = {
|
||||
max_tokens = 56,
|
||||
top_p = 0.9,
|
||||
},
|
||||
template = {
|
||||
prompt = function(context_before_cursor, context_after_cursor, _)
|
||||
return '<|fim_prefix|>'
|
||||
.. context_before_cursor
|
||||
.. '<|fim_suffix|>'
|
||||
.. context_after_cursor
|
||||
.. '<|fim_middle|>'
|
||||
end,
|
||||
suffix = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -21,6 +21,8 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
XDG_CURRENT_DESKTOP=sway \
|
||||
WAYLAND_DISPLAY
|
||||
|
||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# Official Catppuccin Mocha Colors (from catppuccin.com)
|
||||
|
||||
set $rosewater #f5e0dc
|
||||
|
||||
Reference in New Issue
Block a user