We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1b3f8 commit 5cc2693Copy full SHA for 5cc2693
lua/codecompanion/adapters/openai_compatible.lua
@@ -66,7 +66,7 @@ end
66
local function get_completion_url(self, opts)
67
local adapter = require("codecompanion.adapters").resolve(self)
68
local url = adapter.env_replaced.chat_url
69
- if not adapter.env_replaced.chat_url then
+ if not url then
70
url = "/v1/chat/completions"
71
end
72
return url
0 commit comments