@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 +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/convertTurnMessages.test.ts +10 -10
- package/src/draftAgentConfig.test.ts +7 -7
- package/src/foldPeerThreads.test.ts +1 -1
- package/src/modelMessageImageContent.ts +3 -1
- package/src/private/truefoundryDraftThreadListAdapter.test.ts +1 -1
- package/src/streamTurn.test.ts +6 -3
- package/src/streamTurn.ts +7 -7
- package/src/useTrueFoundryAgentRuntime.ts +1 -4
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
|
|
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]
|