Do not let age to be either a string or an int

This commit is contained in:
mudler
2024-04-15 12:09:22 +02:00
parent f0bc2be678
commit 7db2b10bd2
2 changed files with 7 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ type PromptHUD struct {
type Character struct {
Name string `json:"name"`
Age string `json:"age"`
Age any `json:"age"`
Occupation string `json:"job_occupation"`
Hobbies []string `json:"hobbies"`
MusicTaste []string `json:"music_taste"`