fix(llm): persistent key check for override class (#158)

* fix(llm): make sure to allow passing custom module

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix: correct custom class

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix: correct attribute

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-22 23:52:49 -04:00
committed by GitHub
parent 49fabfc358
commit 6475407d0d
9 changed files with 24 additions and 26 deletions

View File

@@ -142,7 +142,7 @@ H.generate_headers = function(token, sessionid, machineid)
return headers
end
M.API_KEY = P.AVANTE_INTERNAL_KEY
M.api_key_name = P.AVANTE_INTERNAL_KEY
M.has = function()
if Utils.has("copilot.lua") or Utils.has("copilot.vim") or H.find_config_path() then