Skip to content

Commit b975ae7

Browse files
committed
feat: add openai chat model type to env configuration
1 parent fdd7462 commit b975ae7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/interfaces/utils/env.utils.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
import type { ChatModel } from 'openai/resources';
2+
13
import type { SetupContextEnum } from '../commands/setup';
24
import type { ProviderEnum } from '../provider';
35

46
export type Env = {
57
PROVIDER?: ProviderEnum;
8+
SETUP_CONTEXT: SetupContextEnum;
9+
610
OPENAI_API_KEY?: string;
711
OPENAI_N_COMMITS?: number | string;
8-
SETUP_CONTEXT: SetupContextEnum;
12+
OPENAI_CHAT_MODEL?: ChatModel;
913

1014
CONFIG_COMMIT_LANGUAGE: string;
1115
CONFIG_MAX_COMMIT_CHARACTERS: string | number;

0 commit comments

Comments
 (0)