@aituber-onair/core
Version:
Core library for AITuber OnAir providing voice synthesis and chat processing
24 lines • 857 B
JavaScript
export const ENDPOINT_OPENAI_CHAT_COMPLETIONS_API = 'https://api.openai.com/v1/chat/completions';
// gpt model
export const MODEL_GPT_4_1 = 'gpt-4.1';
export const MODEL_GPT_4_1_MINI = 'gpt-4.1-mini';
export const MODEL_GPT_4_1_NANO = 'gpt-4.1-nano';
export const MODEL_GPT_4O_MINI = 'gpt-4o-mini';
export const MODEL_GPT_4O = 'gpt-4o';
export const MODEL_O3_MINI = 'o3-mini';
export const MODEL_O1_MINI = 'o1-mini';
export const MODEL_O1 = 'o1';
// deprecated
export const MODEL_GPT_4_5_PREVIEW = 'gpt-4.5-preview';
// Vision support for models
export const VISION_SUPPORTED_MODELS = [
MODEL_GPT_4_1,
MODEL_GPT_4_1_MINI,
MODEL_GPT_4_1_NANO,
MODEL_GPT_4O_MINI,
MODEL_GPT_4O,
MODEL_GPT_4_5_PREVIEW,
MODEL_O1,
// MODEL_O3_MINI and MODEL_O1_MINI is not included as it doesn't support vision
];
//# sourceMappingURL=openai.js.map