change reports + chage pricing

This commit is contained in:
Emily
2025-04-25 18:36:00 +02:00
parent 407c84f59c
commit 82b0f6aac4
18 changed files with 123 additions and 73 deletions

View File

@@ -91,6 +91,10 @@ type ElaborateResponseCallbacks = {
onChatId?: (chat_id: string) => any
}
export function getInstance() {
return openai;
}
async function elaborateResponse(messages: OpenAI.Chat.Completions.ChatCompletionMessageParam[], pid: string, time_offset: number, chat_id: string, callbacks?: ElaborateResponseCallbacks) {
console.log('[ELABORATING RESPONSE]');