updated
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Weather Agent Memory
|
||||
|
||||
## API Configuration
|
||||
- Provider: Open-Meteo (free, no API key required)
|
||||
- Dubai coordinates: latitude 25.2048, longitude 55.2708
|
||||
- Celsius URL: `https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708¤t=temperature_2m&temperature_unit=celsius`
|
||||
- Fahrenheit URL: `https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708¤t=temperature_2m&temperature_unit=fahrenheit`
|
||||
- Temperature field: `current.temperature_2m`
|
||||
|
||||
## Recent Readings
|
||||
|
||||
| Date | Temperature | Unit |
|
||||
|------|-------------|------|
|
||||
| 2026-03-06 | 22.3 | Celsius |
|
||||
| 2026-03-06 | 22.5 | Celsius |
|
||||
@@ -32,11 +32,11 @@ Replace `[Celsius/Fahrenheit]`, `[value]`, and `[C/F]` with actual values.
|
||||
|
||||
### 2. Write SVG File
|
||||
|
||||
Write the SVG content to `orchestration-workflow/weather.svg`.
|
||||
First, read the existing `orchestration-workflow/weather.svg` file (if it exists). Then write the SVG content to `orchestration-workflow/weather.svg`.
|
||||
|
||||
### 3. Write Output Summary
|
||||
|
||||
Write to `orchestration-workflow/output.md`:
|
||||
First, read the existing `orchestration-workflow/output.md` file (if it exists). Then write to `orchestration-workflow/output.md`:
|
||||
|
||||
```markdown
|
||||
# Weather Result
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Weather Result
|
||||
|
||||
## Temperature
|
||||
30.8°C
|
||||
22.5°C
|
||||
|
||||
## Location
|
||||
Dubai, UAE
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 160" width="300" height="160">
|
||||
<rect width="300" height="160" rx="12" fill="#1a1a2e"/>
|
||||
<text x="150" y="45" text-anchor="middle" fill="#8892b0" font-family="system-ui" font-size="14">Unit: Celsius</text>
|
||||
<text x="150" y="100" text-anchor="middle" fill="#ccd6f6" font-family="system-ui" font-size="42" font-weight="bold">30.8°C</text>
|
||||
<text x="150" y="100" text-anchor="middle" fill="#ccd6f6" font-family="system-ui" font-size="42" font-weight="bold">22.5°C</text>
|
||||
<text x="150" y="140" text-anchor="middle" fill="#64ffda" font-family="system-ui" font-size="16">Dubai, UAE</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 522 B |
Reference in New Issue
Block a user