AgentResponse agentResponse = null; if (this.user != null) { agentResponse = agent.process(new AgentRequest(new Request(request.getText(), this.user, request.getId()))); } else { agentResponse = agent.process(new AgentRequest(request));
AgentResponse agentResponse = null; if (this.user != null) { agentResponse = agent.process(new AgentRequest(new Request(request.getText(), this.user, request.getId()))); } else { agentResponse = agent.process(new AgentRequest(request));