Skip to content

Commit ce52bc4

Browse files
committed
ci
1 parent 1e3b275 commit ce52bc4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.4]
16+
php: [8.4, 8.5]
1717
stability: [prefer-lowest, prefer-stable]
1818

1919
name: PHP${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}

src/Tools/Prebuilt/OpenMeteoWeatherTool.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function invoke(ToolCall|array $toolCall = [], ?RuntimeConfig $config = n
4040

4141
$location = $arguments['location'];
4242

43+
/** @var \Illuminate\Http\Client\Response $geocodeResponse */
4344
$geocodeResponse = Http::get('https://geocoding-api.open-meteo.com/v1/search', [
4445
'name' => $location,
4546
'count' => 1,
@@ -56,6 +57,7 @@ public function invoke(ToolCall|array $toolCall = [], ?RuntimeConfig $config = n
5657

5758
$windSpeedUnit = $config?->context?->get('wind_speed_unit') ?? 'mph';
5859

60+
/** @var \Illuminate\Http\Client\Response $weatherResponse */
5961
$weatherResponse = Http::get('https://api.open-meteo.com/v1/forecast', [
6062
'latitude' => $latitude,
6163
'longitude' => $longitude,

0 commit comments

Comments
 (0)