Update llm lua to include phi4
This commit is contained in:
parent
ba187eae92
commit
cd709ec0f4
@ -10,13 +10,23 @@ require("codecompanion").setup({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
phi4 = function()
|
||||||
|
return require("codecompanion.adapters").extend("ollama", {
|
||||||
|
name = "phi4", -- Give this adapter a different name to differentiate it from the default ollama adapter
|
||||||
|
schema = {
|
||||||
|
model = {
|
||||||
|
default = "phi4:latest",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
strategies = {
|
strategies = {
|
||||||
chat = {
|
chat = {
|
||||||
adapter= "llama3_2",
|
adapter= "phi4",
|
||||||
},
|
},
|
||||||
inline = {
|
inline = {
|
||||||
adapter="llama3_2",
|
adapter="phi4",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user