my-fix-branch
Shane 7 months ago
parent 96cf98c2cf
commit 86c27e4334
  1. 2
      foodie_utils.py

@ -136,7 +136,7 @@ def generate_article_tweet(author, post, persona):
) )
response = openai.chat.completions.create( response = openai.chat.completions.create(
model="gpt-4o", model=SUMMARY_MODEL,
messages=[ messages=[
{"role": "system", "content": "You are a social media expert crafting engaging tweets."}, {"role": "system", "content": "You are a social media expert crafting engaging tweets."},
{"role": "user", "content": prompt} {"role": "user", "content": prompt}

Loading…
Cancel
Save