Flexibles KI Prompt System #48

Merged
Lars merged 56 commits from develop into main 2026-03-26 14:49:48 +01:00
Showing only changes of commit 811ba8b3dc - Show all commits

View File

@ -184,7 +184,7 @@ def get_protein_ziel_low(profile_id: str) -> str:
) )
row = cur.fetchone() row = cur.fetchone()
if row: if row:
return f"{int(row['weight'] * 1.6)}" return f"{int(float(row['weight']) * 1.6)}"
return "nicht verfügbar" return "nicht verfügbar"
@ -199,7 +199,7 @@ def get_protein_ziel_high(profile_id: str) -> str:
) )
row = cur.fetchone() row = cur.fetchone()
if row: if row:
return f"{int(row['weight'] * 2.2)}" return f"{int(float(row['weight']) * 2.2)}"
return "nicht verfügbar" return "nicht verfügbar"