sshiv012 commented on code in PR #9494:
URL: https://github.com/apache/texera/pull/9494#discussion_r4638018367


##########
agent-service/src/agent/texera-agent.ts:
##########
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-import { generateText, type ModelMessage, type LanguageModel, stepCountIs } 
from "ai";
+import { ToolLoopAgent, isStepCount, type ModelMessage, type LanguageModel } 
from "ai";

Review Comment:
   For durability reasons, can we consider evaluating WorkflowAgent before 
adopting ToolLoopAgent (in-memory) here? 
[WorkflowAgent](https://ai-sdk.dev/docs/agents/workflow-agent) provides durable 
execution through the Workflow runtime, which also supports OpenTelemetry 
integration with our observability layer. Could you explain the intended 
durability architecture and why ToolLoopAgent is the appropriate choice?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to