Przeglądaj źródła

[2.8.1] remove useless parameter to call_openai_api()

Penta 3 tygodni temu
rodzic
commit
0214ebc4fd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      chatbot.py

+ 1 - 1
chatbot.py

@@ -290,7 +290,7 @@ async def call_for_image_analysis(image_data, user_name, user_text=None):
     return analysis.choices[0].message.content
 
 
-async def call_openai_api(user_text, user_name, detail='high'):
+async def call_openai_api(user_text, user_name):
     # Préparer le contenu pour l'appel API
     message_to_send = {
         "role": "user",