|
@@ -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:
|