Skip to content

Commit

Permalink
feat: Added gpt-4o-mini support
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Oct 14, 2024
1 parent 9ed820c commit 89a4171
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upsonic_on_prem/api/utils/ai/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ def completion(self, input_text, model):
result = self.gpt(input_text, model=model)
elif model == "gpt-4o":
result = self.gpt(input_text, model=model)
elif model == "gpt-4o-mini":
result = self.gpt(input_text, model=model)

if active_ai_history:
save_ai_call(input_text, result, model)
Expand Down

0 comments on commit 89a4171

Please sign in to comment.