[PR #72] [MERGED] feat: add weather widget #225

Closed
opened 2026-02-15 19:16:47 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/72
Author: @thucpn
Created: 5/2/2024
Status: Merged
Merged: 5/10/2024
Merged by: @marcusschiesser

Base: mainHead: feat/add-weather-widget


📝 Commits (10+)

📊 Changes

24 files changed (+804 additions, -148 deletions)

View changed files

.changeset/poor-eels-beam.md (+5 -0)
📝 helpers/python.ts (+43 -33)
📝 helpers/tools.ts (+27 -2)
📝 helpers/typescript.ts (+1 -1)
templates/components/engines/python/agent/tools.py (+0 -35)
templates/components/engines/python/agent/tools/__init__.py (+56 -0)
templates/components/engines/python/agent/tools/weather.py (+72 -0)
📝 templates/components/engines/typescript/agent/chat.ts (+10 -2)
templates/components/engines/typescript/agent/tools/index.ts (+26 -0)
templates/components/engines/typescript/agent/tools/weather.ts (+81 -0)
📝 templates/types/streaming/express/package.json (+3 -2)
📝 templates/types/streaming/express/src/controllers/chat.controller.ts (+3 -19)
📝 templates/types/streaming/express/src/controllers/stream-helper.ts (+59 -1)
📝 templates/types/streaming/fastapi/app/api/routers/chat.py (+4 -10)
📝 templates/types/streaming/fastapi/app/api/routers/messaging.py (+69 -14)
📝 templates/types/streaming/nextjs/app/api/chat/route.ts (+3 -19)
📝 templates/types/streaming/nextjs/app/api/chat/stream-helper.ts (+59 -1)
📝 templates/types/streaming/nextjs/app/components/chat-section.tsx (+2 -1)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message.tsx (+12 -2)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx (+10 -3)

...and 4 more files

📄 Description

Summary by CodeRabbit

  • New Features

    • Introduced new tools for weather information and mathematical calculations.
    • Added dynamic tool loading capabilities across various components to enhance configurability.
    • Implemented new functionalities for handling tool calls and displaying outputs in chat interfaces.
  • Enhancements

    • Updated dependencies for better performance and compatibility.
    • Enhanced tool management in Python and TypeScript environments, allowing for more flexible tool integration.
  • Bug Fixes

    • Refined event handling in chat APIs to improve response accuracy and efficiency.

🔄 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/run-llama/create-llama/pull/72 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 5/2/2024 **Status:** ✅ Merged **Merged:** 5/10/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `feat/add-weather-widget` --- ### 📝 Commits (10+) - [`afad2e0`](https://github.com/run-llama/create-llama/commit/afad2e0383af420df66e617977a55abb02fd6082) feat: add weather widget - [`62a4199`](https://github.com/run-llama/create-llama/commit/62a4199ec910e17d4170be5b199278db97e971f4) fix: add draft weather card - [`b849d67`](https://github.com/run-llama/create-llama/commit/b849d678685b381bc9e7ed4e458f781f56aa6185) feat: copy function tools - [`9fc29c6`](https://github.com/run-llama/create-llama/commit/9fc29c6dfe1d8a5cefbba235f526fc2da99f9deb) append tool event and data - [`c62edd3`](https://github.com/run-llama/create-llama/commit/c62edd362d78ea7705866f1358263c2c52dc8793) fix: lint - [`8ccf38d`](https://github.com/run-llama/create-llama/commit/8ccf38de7feab1fff6906fdc64f87e816eb63d2a) fix import - [`29200e3`](https://github.com/run-llama/create-llama/commit/29200e3735a8f57cadabaa6940186a6bcf1de99f) upgrade to llamaindex 0.3.7 - [`a5eb404`](https://github.com/run-llama/create-llama/commit/a5eb4042f44117b1326a1175ceabd099e83a6fcb) adding prompt weather code for weather tool - [`284d2c5`](https://github.com/run-llama/create-llama/commit/284d2c52756f11b694f6842b725c4c7a07424624) enhance UI for weather widget - [`abc13d6`](https://github.com/run-llama/create-llama/commit/abc13d6c1e668167766e1e5744e29d179dec528b) Create poor-eels-beam.md ### 📊 Changes **24 files changed** (+804 additions, -148 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/poor-eels-beam.md` (+5 -0) 📝 `helpers/python.ts` (+43 -33) 📝 `helpers/tools.ts` (+27 -2) 📝 `helpers/typescript.ts` (+1 -1) ➖ `templates/components/engines/python/agent/tools.py` (+0 -35) ➕ `templates/components/engines/python/agent/tools/__init__.py` (+56 -0) ➕ `templates/components/engines/python/agent/tools/weather.py` (+72 -0) 📝 `templates/components/engines/typescript/agent/chat.ts` (+10 -2) ➕ `templates/components/engines/typescript/agent/tools/index.ts` (+26 -0) ➕ `templates/components/engines/typescript/agent/tools/weather.ts` (+81 -0) 📝 `templates/types/streaming/express/package.json` (+3 -2) 📝 `templates/types/streaming/express/src/controllers/chat.controller.ts` (+3 -19) 📝 `templates/types/streaming/express/src/controllers/stream-helper.ts` (+59 -1) 📝 `templates/types/streaming/fastapi/app/api/routers/chat.py` (+4 -10) 📝 `templates/types/streaming/fastapi/app/api/routers/messaging.py` (+69 -14) 📝 `templates/types/streaming/nextjs/app/api/chat/route.ts` (+3 -19) 📝 `templates/types/streaming/nextjs/app/api/chat/stream-helper.ts` (+59 -1) 📝 `templates/types/streaming/nextjs/app/components/chat-section.tsx` (+2 -1) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message.tsx` (+12 -2) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx` (+10 -3) _...and 4 more files_ </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced new tools for weather information and mathematical calculations. - Added dynamic tool loading capabilities across various components to enhance configurability. - Implemented new functionalities for handling tool calls and displaying outputs in chat interfaces. - **Enhancements** - Updated dependencies for better performance and compatibility. - Enhanced tool management in Python and TypeScript environments, allowing for more flexible tool integration. - **Bug Fixes** - Refined event handling in chat APIs to improve response accuracy and efficiency. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:47 -05:00
yindo closed this issue 2026-02-15 19:16:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#225