feat: Allow customization of OpenAI host with environment variable (#152)
This commit modifies the OpenAI host configuration to support customization through an environment variable. This change is particularly useful in scenarios where access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs.
This commit is contained in:
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
OPENAI_API_KEY: string;
|
||||
OPENAI_API_HOST?: string;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user