Procházet zdrojové kódy

修复定时任务

boweniac před 2 měsíci
rodič
revize
76713e4fa4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      batch_task/update_llm_intent.py

+ 1 - 1
batch_task/update_llm_intent.py

@@ -101,7 +101,7 @@ async def update_llm_intent():
             """
             }
         ]
-        response_data = generate_json(org_data.api_key, org_data.openai_base, messages, intent_schema)
+        response_data = generate_json(org_data.openai_key, org_data.openai_base, messages, intent_schema)
         if response_data and isinstance(response_data.choices, list) and len(response_data.choices) > 0:
             first_choice = response_data.choices[0]
             if first_choice and first_choice.message: