This commit is contained in:
DeveloperDurp 2025-04-02 05:53:11 -05:00
parent dcd5677fb1
commit 8524b70fef
3 changed files with 6 additions and 5 deletions

View file

@ -1 +1 @@
"wired"
"display"

View file

@ -10,8 +10,8 @@ return {
config = true,
opts = {
strategies = {
chat = { adapter = "openai" },
inline = { adapter = "mistral" },
chat = { adapter = "ollama" },
inline = { adapter = "ollama" },
},
adapters = {
opts = {
@ -19,6 +19,7 @@ return {
},
openai = function()
return require("codecompanion.adapters").extend("openai", {
name = "openai",
schema = {
model = {
default = "gpt-4o-mini",
@ -32,7 +33,7 @@ return {
end,
ollama = function()
return require("codecompanion.adapters").extend("ollama", {
name = "mistral",
name = "ollama",
schema = {
model = {
default = "mistral:latest",

@ -1 +1 @@
Subproject commit 94a01170b121faaa633aaefa3c78abbb888f2f6a
Subproject commit 448e81adfb2d48a4ca10616287f91536b6549dce