Changed system prompt with the help of Gemini.

This commit is contained in:
2026-03-15 22:47:36 -04:00
parent fef44df6a1
commit f0d493c065
4 changed files with 36 additions and 36 deletions

View File

@@ -9,8 +9,9 @@ label start:
show anita happy with dissolve
$ response = fetch_llm('Start the conversation.')[0]
$ emotion, line = parse_emotion(response)
show expression f'anita {emotion}'
$ sanitized = sanitize_speech(response)
$ emotion, line = parse_emotion(sanitized)
show anita happy
a "[line]"
while True:
@@ -20,9 +21,10 @@ label start:
while i < len(response):
$ r = response[i].strip()
$ s = sanitize_speech(r)
if r != '':
$ emotion, line = parse_emotion(r)
if s != '':
$ emotion, line = parse_emotion(s)
if emotion is not None:
show expression f'anita {emotion}'
a "[line]"