diff --git a/src/ai/openai/openai.ts b/src/ai/openai/openai.ts index 08d7abc..69a5c82 100644 --- a/src/ai/openai/openai.ts +++ b/src/ai/openai/openai.ts @@ -5,6 +5,7 @@ import { countTokens, estimatedCost } from '../../utils/countTokens' import { ChatCompletion, ChatRequest, MessageCompletion } from '../../types' let _openAI: OpenAI | null = null +const openAIModel = 'gpt-4' export async function openAI() { if (!_openAI) { let api_key = process.env.OPENAI_API_KEY @@ -43,7 +44,7 @@ export const chatGPTPrompt = async (options: Partial): Promise): Promise