From 0760f8ca67931bd3b977c9b24963150b88c5d5c3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 20 Dec 2025 17:45:08 -0600 Subject: [PATCH] fix time pronunciation in spoken responses changed prompt instruction to use natural spoken format for times instead of numeric format, preventing LLM from saying "three thousand thirty-four" instead of "three thirty-four" --- custom_components/groqd/conversation.py | 2 +- custom_components/groqd/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/groqd/conversation.py b/custom_components/groqd/conversation.py index 682b90d..9afb5fe 100644 --- a/custom_components/groqd/conversation.py +++ b/custom_components/groqd/conversation.py @@ -406,7 +406,7 @@ class GroqdConversationEntity( formatted_time = now.strftime("%-I:%M %p") prompt_parts.append( f"Current local time: {formatted_time}. " - "Always express time exactly in this numeric format; do not spell out numbers." + "When reading times aloud, use natural spoken format (e.g., 'three thirty-four' not 'three thousand thirty-four')." ) if options.get(CONF_AUTO_FETCH_URLS, DEFAULT_AUTO_FETCH_URLS): diff --git a/custom_components/groqd/manifest.json b/custom_components/groqd/manifest.json index f1ec77a..18dd3ff 100644 --- a/custom_components/groqd/manifest.json +++ b/custom_components/groqd/manifest.json @@ -1,7 +1,7 @@ { "domain": "groqd", "name": "groqd", - "version": "0.1.0", + "version": "0.1.1", "config_flow": true, "documentation": "https://github.com/sudoxreboot/groqd", "issue_tracker": "https://github.com/sudoxreboot/groqd/issues",