Skip to content

Commit

Permalink
Update coordinator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ITSpecialist111 committed Oct 20, 2024
1 parent 453b32f commit 037283c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ai_automation_suggester/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def cloud_ai_analysis(self, ai_input_data):

prompt = self.generate_prompt(ai_input_data)
try:
response = openai.ChatCompletion.create(
response = openai.chat.completions.create(
model="gpt-4o-mini",
messages=[
{
Expand Down

0 comments on commit 037283c

Please sign in to comment.