mirror of
https://github.com/sstent/AICyclingCoach.git
synced 2026-04-05 04:22:53 +00:00
sync - still working on the TUI
This commit is contained in:
@@ -162,7 +162,7 @@ class AIService:
|
||||
timeout=30.0
|
||||
)
|
||||
response.raise_for_status()
|
||||
data = response.json()
|
||||
data = await response.json()
|
||||
return data["choices"][0]["message"]["content"]
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user