Skip to content

Commit

Permalink
Update scripts/proofread.py
Browse files Browse the repository at this point in the history
  • Loading branch information
felker authored Dec 3, 2024
1 parent 9496908 commit 6424a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/proofread.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def main():
original_content = f.read()

# Use OpenAI API to proofread the content
response = openai.chat_completions.create(
response = openai.chat.completions.create(
model="gpt-4",
messages=[
{"role": "system", "content": "You are a helpful assistant that proofreads and corrects markdown text."},
Expand Down

0 comments on commit 6424a39

Please sign in to comment.