2 Comments
User's avatar
Rakhmad Azhari's avatar

Hi,

I tried to follow your tutorial, and it seems you are missing @ApplicationScoped annotation for DnsTools class. It will return java.lang.IllegalStateException: Unknown tool: error if no annotation added.

Expand full comment
Markus Eisele's avatar

Hi! Thanks for the feedback! You were right. I forgot to add that to the blog. The class in the example repo had it: https://github.com/myfear/ejq_substack_articles/blob/main/dns-ai/src/main/java/org/acme/DnsTools.java

I'll try to be more diligent. It happens, when I develop first and try to adopt the blog after :)

Expand full comment