mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-06-19 12:45:34 +00:00
AI model changes
This commit is contained in:
parent
44697ec5bf
commit
38d5c4a29c
|
@ -1,4 +1,4 @@
|
|||
function aisearch --wraps aichat
|
||||
set -lx AICHAT_PATCH_GEMINI_CHAT_COMPLETIONS '{".*":{"body":{"tools":[{"google_search":{}}]}}}'
|
||||
aichat -r search -s $argv
|
||||
aichat -r search $argv
|
||||
end
|
||||
|
|
|
@ -17,6 +17,7 @@ function define_aliases -a uname -d 'Defines aliases for commonly used commands'
|
|||
alias nv 'neovide --fork; and clear'
|
||||
alias hx helix
|
||||
alias ai aichat
|
||||
alias ais aisearch
|
||||
|
||||
switch "$uname"
|
||||
case Linux
|
||||
|
|
|
@ -389,6 +389,20 @@ require("lazy").setup({
|
|||
cmd = { adapter = "gemini_deep" },
|
||||
},
|
||||
adapters = {
|
||||
anthro = function()
|
||||
return require("codecompanion.adapters").extend("anthropic", {
|
||||
schema = {
|
||||
model = { default = "claude-3-5-haiku-20241022" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
anthro_deep = function()
|
||||
return require("codecompanion.adapters").extend("anthropic", {
|
||||
schema = {
|
||||
model = { default = "claude-3-7-sonnet-20250219" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
gemini_deep = function()
|
||||
return require("codecompanion.adapters").extend("gemini", {
|
||||
schema = {
|
||||
|
|
Loading…
Reference in a new issue