Allow specifying OpenAI-Organization header: (#313)

See https://platform.openai.com/docs/api-reference/introduction

> For users who belong to multiple organizations, you can pass a header
> to specify which organization is used for an API request. Usage from
> these API requests will count against the specified organization's
> subscription quota.
This commit is contained in:
Burke Libbey authored and GitHub committed 2023-03-30 13:30:34 -06:00
1 parent 3631a5ac75
commit ef8c1b2c33
4 files changed
+10 -1

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
export interface ProcessEnv {
OPENAI_API_KEY: string;
OPENAI_API_HOST?: string;
OPENAI_ORGANIZATION?: string;
}