This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-dev-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new ab16f63  2025/11/15 11:23:50: Generated dev website from 
groovy-website@4bbb512
ab16f63 is described below

commit ab16f632d8254b60d16c2a3c63cfeee4d5982df8
Author: jenkins <[email protected]>
AuthorDate: Sat Nov 15 11:23:51 2025 +0000

    2025/11/15 11:23:50: Generated dev website from groovy-website@4bbb512
---
 blog/groovy-ai.html | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/blog/groovy-ai.html b/blog/groovy-ai.html
index e744044..abeb72b 100644
--- a/blog/groovy-ai.html
+++ b/blog/groovy-ai.html
@@ -466,6 +466,16 @@ a more reliable job calling tools correctly. The tools are 
annotation with <code
 and will be automatically found.</p>
 </div>
 <div class="paragraph">
+<p>The <code>getWeather</code> tool has return type <code>Weather</code> which 
is another domain object:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="prettyprint highlight"><code 
data-lang="groovy">@ToString(includePackage = false)
+record Weather(String forecast, int minTemp, int maxTemp) {
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
 <p>The output might look something like:</p>
 </div>
 <div class="listingblock">

Reply via email to