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

@@ -204,7 +204,8 @@ M.get_provider = function(provider)
end
end
M.BASE_PROVIDER_KEYS = { "endpoint", "model", "local", "deployment", "api_version", "proxy", "allow_insecure" }
M.BASE_PROVIDER_KEYS =
{ "endpoint", "model", "local", "deployment", "api_version", "proxy", "allow_insecure", "api_key_name" }
---@return {width: integer, height: integer}
function M.get_sidebar_layout_options()