feat: Update responseHandler method to accept AgentContext

This commit is contained in:
extio-de
2025-12-08 22:31:42 +01:00
parent 6b93479b36
commit 55c8e43fb3
4 changed files with 18 additions and 6 deletions

View File

@@ -555,7 +555,7 @@ public class BlogPostAgent implements BaseAgent {
// OPTIONAL: How to parse/store the response (default: TextAgentResponseHandler("response"))
@Override
public AgentResponseHandler responseHandler() {
public AgentResponseHandler responseHandler(final AgentContext ctx) {
return new TextAgentResponseHandler("blogPost");
}