KI-Tracking vollständig, Cloud-Limit 20/Woche, Statusmail täglich 06:00 — SW by-v434, APP_VER 413
- ki.complete() zählt sich selbst (user_id-Parameter, _track_usage) - CLOUD_WEEKLY_LIMIT=20, geprüft vor jedem Cloud-Call - user_id durchgereicht in health, diary, knigge, notes, ki-route - Admin-Panel: 7-Tage-Ansicht, Limit-Info, Top-Cloud-User-Tabelle - Statusmail täglich 06:00 CEST statt alle 2h
This commit is contained in:
parent
85836e4e6e
commit
570dcd4e93
11 changed files with 135 additions and 78 deletions
|
|
@ -265,7 +265,7 @@ async def create_diary(dog_id: int, data: DiaryCreate,
|
|||
# KI: Auto-Tags wenn Text vorhanden (lokal, kostenlos)
|
||||
if data.text and len(data.text) > 10:
|
||||
try:
|
||||
ai_tags = await KI.diary_tags(data.text)
|
||||
ai_tags = await KI.diary_tags(data.text, user_id=user["id"])
|
||||
tags = list(set(tags + ai_tags))
|
||||
except Exception:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue