perf: use envvar whenever possible, and use cmd only as fallback (#228)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
@@ -213,13 +213,15 @@ end
|
||||
M.BASE_PROVIDER_KEYS = {
|
||||
"endpoint",
|
||||
"model",
|
||||
"local",
|
||||
"deployment",
|
||||
"api_version",
|
||||
"proxy",
|
||||
"allow_insecure",
|
||||
"api_key_name",
|
||||
"timeout",
|
||||
-- internal
|
||||
"local",
|
||||
"_shellenv",
|
||||
}
|
||||
|
||||
---@return {width: integer, height: integer}
|
||||
|
||||
Reference in New Issue
Block a user