@astralform/js 7.4.0 → 7.4.1

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.cjs CHANGED
@@ -2653,23 +2653,8 @@ var StreamManager = class {
2653
2653
  this.setState("streaming");
2654
2654
  try {
2655
2655
  await this.session.send(content, {
2656
- // Address the send explicitly. `ChatSession.send` otherwise falls back
2657
- // to `session.conversationId`, which LAGS this pointer: a restore
2658
- // assigns it synchronously but only reaches the next switch's own
2659
- // `loadConversation` an await later, so between the two the session
2660
- // still names the conversation the user left. The manager's pointer
2661
- // moved the moment the user clicked; it is the authority.
2662
- conversationId: target ?? void 0,
2663
- agentName: options?.agentName,
2664
- uploadIds: options?.uploadIds,
2665
- planMode: options?.planMode,
2666
- imageMode: options?.imageMode,
2667
- videoMode: options?.videoMode,
2668
- goal: options?.goal,
2669
- provider: options?.provider,
2670
- model: options?.model,
2671
- reasoningEffort: options?.reasoningEffort,
2672
- temperature: options?.temperature
2656
+ ...options,
2657
+ conversationId: target ?? void 0
2673
2658
  });
2674
2659
  } catch {
2675
2660
  }