add openai model to config, rework logging to use appdirs logging dir
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from openai import OpenAI
|
||||
from src import settings
|
||||
import json
|
||||
from src import LOG_DIR
|
||||
|
||||
model = "gpt-4o"
|
||||
model = settings.openAI.model
|
||||
api_key = settings.openAI.api_key
|
||||
client = OpenAI(api_key = api_key)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user