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


##########
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:
   Good point on durability. `WorkflowAgent` runs the same tool loop on the 
Workflow runtime, so it needs that runtime and a store, and the agent's 
conversation and workflow copy would also have to be saved for a restart to 
pick them up. That needs its own design, so I'd like to leave it out of this PR 
and stay on `ToolLoopAgent` for now.
   



-- 
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