Skip to content

Commit bbdc81c

Browse files
francipclaude
andcommitted
Remove config.json and improve voice UX per PR review
- Delete config.json (handled by platform at runtime) - Voice audit: soften error messages, improve spoken output naturalness Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a237954 commit bbdc81c

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

community/kortexa-weather/config.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

community/kortexa-weather/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def run(self):
6363
location = await self._get_location()
6464
if not location:
6565
await self.capability_worker.speak(
66-
"Couldn't determine your location. Is Porch running?"
66+
"I can't find your location. Is Porch running?"
6767
)
6868
return
6969

@@ -82,7 +82,7 @@ async def run(self):
8282
# Fetch weather from Open-Meteo (no API key needed)
8383
weather = await self._fetch_weather(lat, lon, use_fahrenheit)
8484
if not weather:
85-
await self.capability_worker.speak(f"Couldn't get weather data for {city}.")
85+
await self.capability_worker.speak(f"Sorry, couldn't get the weather for {city}.")
8686
return
8787

8888
current = weather["current"]
@@ -107,12 +107,12 @@ async def run(self):
107107
# Speak a short summary
108108
await self.capability_worker.speak(
109109
f"It's {temp} degrees and {condition.lower()} in {city}. "
110-
f"Feels like {feels_like}. Humidity {humidity} percent."
110+
f"Feels like {feels_like}, with {humidity} percent humidity."
111111
)
112112

113113
except Exception as err:
114114
self.worker.editor_logging_handler.error(f"{TAG} error: {err}")
115-
await self.capability_worker.speak("Something went wrong getting the weather.")
115+
await self.capability_worker.speak("Sorry, something went wrong with the weather.")
116116
finally:
117117
self.capability_worker.resume_normal_flow()
118118

0 commit comments

Comments
 (0)