This commit is contained in:
Lanta 2025-10-02 17:46:05 +02:00
parent 5993f6fd76
commit 4c347e42af

View file

@ -393,6 +393,7 @@ async def ask(ctx, *, vraag: str):
custom_str = json.dumps(data_laststat.get("custom", []), indent=2)
"""Stuur een vraag naar OpenAI"""
try:
async with ctx.typing():
response = client.chat.completions.create(
model="gpt-5-nano",
messages=[