@mastra/react 0.5.1 → 0.5.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2139,9 +2139,10 @@ var useChat = ({
2139
2139
  const agent = clientWithAbort.getAgent(agentId);
2140
2140
  const streamWithLegacyRoute = async () => {
2141
2141
  const runId = v4();
2142
- const response = await agent.streamUntilIdle(coreUserMessages, {
2142
+ const response = await agent.stream(coreUserMessages, {
2143
2143
  runId,
2144
2144
  maxSteps,
2145
+ untilIdle: true,
2145
2146
  modelSettings: {
2146
2147
  frequencyPenalty,
2147
2148
  presencePenalty,