fix: throw exception when accessing result props incorrectly

This commit is contained in:
Stevan Freeborn committed 2024-07-06 11:55:47 -05:00
1 parent 1d352a6f95
commit c538a3eb8c
8 files changed
+116 -26

No files matched your search

@@ -154,7 +154,7 @@ public class Examples(ConfigurationFixture config, ITestOutputHelper console) :
"Get Weather",
"Get the weather for a location in the specified units",
typeof(GetWeatherTool),
nameof(GetWeatherTool.GetWeather)
nameof(GetWeatherTool.GetWeatherStatically)
);
var response = await _client.CreateMessageAsync(new MessageRequest(