@truefoundry/assistant-ui-runtime 0.1.3-rc.3 → 0.1.4

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
@@ -2809,7 +2809,6 @@ function findPausedAssistantMessage(messages) {
2809
2809
  }
2810
2810
 
2811
2811
  // src/streamTurn.ts
2812
- import "truefoundry-gateway-sdk/agents";
2813
2812
  function buildTurnInput(options) {
2814
2813
  if (options.inputs != null) {
2815
2814
  return options.inputs;
@@ -3694,8 +3693,7 @@ function useTrueFoundryAgentRuntimeImpl(options, pendingAgentSpecRef) {
3694
3693
  onError?.(error);
3695
3694
  throw error;
3696
3695
  }
3697
- const gateway = getGatewayFromPrivateClient(privateClient);
3698
- const response = await gateway.agents.downloadSandboxFile(sandboxId, { path });
3696
+ const response = await privateClient.downloadSandboxFile(sandboxId, { path });
3699
3697
  return await response.blob();
3700
3698
  },
3701
3699
  [privateClient, sandboxId, onError]