diff --git a/foodie_utils.py b/foodie_utils.py index 46f8eb2..5c399d5 100644 --- a/foodie_utils.py +++ b/foodie_utils.py @@ -136,7 +136,7 @@ def generate_article_tweet(author, post, persona): ) response = openai.chat.completions.create( - model="gpt-4o", + model=SUMMARY_MODEL, messages=[ {"role": "system", "content": "You are a social media expert crafting engaging tweets."}, {"role": "user", "content": prompt}