feat(weather): KMA forecasts for a later day (days_ahead, days)
getWeather takes days_ahead (days from today, up to 10) and days (a span, 2 for a weekend). Inside Korea with the app's KMA key: 단기예보 for today to 3 days ahead (morning and afternoon weather, lowest and highest, highest chance of rain), then 중기기온 and 중기육상 for the nearest of 32 KMA cities and its region. Days KMA does not give, and every KMA failure, come from open-meteo's daily forecast. days_ahead 0 with more days gives the weather now, then each day. Eval: evals/test_weather_forecast_days.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -86,8 +86,8 @@ manages the MCP servers it connects.
|
||||
`kmaApiKey`, never in the settings file or `config/brain.json`, and saving `mcpServers` keeps it.
|
||||
On start the app passes it to the worker in `JARVIS_KMA_API_KEY`; the worker takes that variable
|
||||
out of its environment before any child process starts, and only the weather tool uses it
|
||||
(current weather inside Korea from KMA, else open-meteo, then met.no). Without a key nothing
|
||||
changes.
|
||||
(the weather now and the forecast up to 10 days ahead inside Korea from KMA, else open-meteo;
|
||||
the weather now then met.no). Without a key nothing changes.
|
||||
- Each server's outcome (its tool count, or why it failed) is a worker line in the LLM log tab,
|
||||
also without debug logging. MCP servers are programs the PC runs; the screen says to add only
|
||||
trusted ones.
|
||||
|
||||
Reference in New Issue
Block a user