feat: add weather widget and weather tool (#72)
--------- Co-authored-by:leehuwuj <leehuwuj@gmail.com> Co-authored-by:
Marcus Schiesser <mail@marcusschiesser.de>
Showing
- .changeset/poor-eels-beam.md 5 additions, 0 deletions.changeset/poor-eels-beam.md
- helpers/python.ts 43 additions, 33 deletionshelpers/python.ts
- helpers/tools.ts 27 additions, 2 deletionshelpers/tools.ts
- helpers/typescript.ts 1 addition, 1 deletionhelpers/typescript.ts
- templates/components/engines/python/agent/tools.py 0 additions, 35 deletionstemplates/components/engines/python/agent/tools.py
- templates/components/engines/python/agent/tools/__init__.py 56 additions, 0 deletionstemplates/components/engines/python/agent/tools/__init__.py
- templates/components/engines/python/agent/tools/weather.py 72 additions, 0 deletionstemplates/components/engines/python/agent/tools/weather.py
- templates/components/engines/typescript/agent/chat.ts 10 additions, 2 deletionstemplates/components/engines/typescript/agent/chat.ts
- templates/components/engines/typescript/agent/tools/index.ts 26 additions, 0 deletionstemplates/components/engines/typescript/agent/tools/index.ts
- templates/components/engines/typescript/agent/tools/weather.ts 81 additions, 0 deletions...ates/components/engines/typescript/agent/tools/weather.ts
- templates/types/streaming/express/package.json 3 additions, 2 deletionstemplates/types/streaming/express/package.json
- templates/types/streaming/express/src/controllers/chat.controller.ts 3 additions, 19 deletions...ypes/streaming/express/src/controllers/chat.controller.ts
- templates/types/streaming/express/src/controllers/stream-helper.ts 59 additions, 1 deletion.../types/streaming/express/src/controllers/stream-helper.ts
- templates/types/streaming/fastapi/app/api/routers/chat.py 4 additions, 10 deletionstemplates/types/streaming/fastapi/app/api/routers/chat.py
- templates/types/streaming/fastapi/app/api/routers/messaging.py 69 additions, 14 deletions...ates/types/streaming/fastapi/app/api/routers/messaging.py
- templates/types/streaming/nextjs/app/api/chat/route.ts 3 additions, 19 deletionstemplates/types/streaming/nextjs/app/api/chat/route.ts
- templates/types/streaming/nextjs/app/api/chat/stream-helper.ts 59 additions, 1 deletion...ates/types/streaming/nextjs/app/api/chat/stream-helper.ts
- templates/types/streaming/nextjs/app/components/chat-section.tsx 2 additions, 1 deletion...es/types/streaming/nextjs/app/components/chat-section.tsx
- templates/types/streaming/nextjs/app/components/ui/chat/chat-message.tsx 12 additions, 2 deletions.../streaming/nextjs/app/components/ui/chat/chat-message.tsx
- templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx 10 additions, 3 deletions...streaming/nextjs/app/components/ui/chat/chat-messages.tsx
Loading
Please register or sign in to comment