[PR #1] [MERGED] Add wttr.in and OpenWeatherMap as alternative weather API providers #1

Closed
opened 2026-10-15 13:27:55 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SillyTavern/Extension-Weather/pull/1
Author: @Copilot
Created: 2/24/2026
Status: ✅ Merged
Merged: 2/24/2026
Merged by: @Cohee1207

Base: main ← Head: copilot/add-additional-weather-apis


📝 Commits (10+)

  • dbfc95b Initial plan
  • b88fa5d Add wttr.in and OpenWeatherMap weather providers
  • eb1a4a9 Add clarifying comment for wttr.in hourly indices
  • bf25c3d Address code review feedback: fix wttr.in night description and OWM precipitation units
  • a0bee09 Improve OpenWeatherMap API error parsing to surface error messages
  • 1b7013b Downgrade OpenWeatherMap API from One Call 3.0 to free 2.5 API
  • 320bb24 Add note about OWM API key activation delay in README
  • 233ca42 Add class="text_pole" to provider select element
  • 7c6a591 Add emoji indicators and A-Z ordering to provider select options
  • 99fea73 Add class="text_pole" to accuweather_units select

📊 Changes

3 files changed (+336 additions, -37 deletions)

View changed files

📝 README.md (+22 -3)
📝 index.js (+313 -33)
📝 manifest.json (+1 -1)

📄 Description

  • Add weather API provider setting (accuweather default, wttr.in, openweathermap)
  • Add OpenWeatherMap API key setting
  • Add wttr.in weather/forecast implementation (no API key, JSON mode)
  • Add OpenWeatherMap weather/forecast implementation (2.5 API — current weather + 5-day/3-hour forecast)
  • Update settings UI with provider selector, conditional API key inputs
  • Update /weather and /forecast slash commands to route through selected provider
  • Update function tool registration to work with all providers
  • Update manifest.json display name
  • Update README.md
  • Improve OpenWeatherMap API error parsing to surface error messages from the API response
  • Add note about OWM API key activation delay (~2 hours) in README
  • Code review and security scan

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SillyTavern/Extension-Weather/pull/1 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 2/24/2026 **Status:** ✅ Merged **Merged:** 2/24/2026 **Merged by:** [@Cohee1207](https://github.com/Cohee1207) **Base:** `main` ← **Head:** `copilot/add-additional-weather-apis` --- ### 📝 Commits (10+) - [`dbfc95b`](https://github.com/SillyTavern/Extension-Weather/commit/dbfc95b6aa2dc1e1f1b068c062c0d55e61249251) Initial plan - [`b88fa5d`](https://github.com/SillyTavern/Extension-Weather/commit/b88fa5daedbf55d7df59c77239590f81e81fb16b) Add wttr.in and OpenWeatherMap weather providers - [`eb1a4a9`](https://github.com/SillyTavern/Extension-Weather/commit/eb1a4a94b1167e3d48f048bd856b8ac31d70551e) Add clarifying comment for wttr.in hourly indices - [`bf25c3d`](https://github.com/SillyTavern/Extension-Weather/commit/bf25c3dce14a30c315d289b7de95a81725133b2c) Address code review feedback: fix wttr.in night description and OWM precipitation units - [`a0bee09`](https://github.com/SillyTavern/Extension-Weather/commit/a0bee09e6de78785c7e3049c044911a2c4df2535) Improve OpenWeatherMap API error parsing to surface error messages - [`1b7013b`](https://github.com/SillyTavern/Extension-Weather/commit/1b7013b4f111490a4f63c3a96d9d6a83dfaa75cf) Downgrade OpenWeatherMap API from One Call 3.0 to free 2.5 API - [`320bb24`](https://github.com/SillyTavern/Extension-Weather/commit/320bb2478da76c1778c2ed0dd5105395fcadc70e) Add note about OWM API key activation delay in README - [`233ca42`](https://github.com/SillyTavern/Extension-Weather/commit/233ca428831e0371ba8cb12a313bb996bbb26666) Add class="text_pole" to provider select element - [`7c6a591`](https://github.com/SillyTavern/Extension-Weather/commit/7c6a59112eb8a0f1c712712dc504b56bc7c627f6) Add emoji indicators and A-Z ordering to provider select options - [`99fea73`](https://github.com/SillyTavern/Extension-Weather/commit/99fea739a37327c3346629cf624d32ab8327ad2a) Add class="text_pole" to accuweather_units select ### 📊 Changes **3 files changed** (+336 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+22 -3) 📝 `index.js` (+313 -33) 📝 `manifest.json` (+1 -1) </details> ### 📄 Description - [x] Add weather API provider setting (`accuweather` default, `wttr.in`, `openweathermap`) - [x] Add OpenWeatherMap API key setting - [x] Add wttr.in weather/forecast implementation (no API key, JSON mode) - [x] Add OpenWeatherMap weather/forecast implementation (2.5 API — current weather + 5-day/3-hour forecast) - [x] Update settings UI with provider selector, conditional API key inputs - [x] Update `/weather` and `/forecast` slash commands to route through selected provider - [x] Update function tool registration to work with all providers - [x] Update manifest.json display name - [x] Update README.md - [x] Improve OpenWeatherMap API error parsing to surface error messages from the API response - [x] Add note about OWM API key activation delay (~2 hours) in README - [x] Code review and security scan <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 13:27:55 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/Extension-Weather#1
No description provided.