@getsupervisor/agents-studio-sdk 1.30.0 → 1.31.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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1215,7 +1215,7 @@ function createAgentsApi(cfg, relatedApis) {
|
|
|
1215
1215
|
return res.json();
|
|
1216
1216
|
};
|
|
1217
1217
|
const forkAgentFromTemplate = async (payload) => {
|
|
1218
|
-
const res = await doFetch(`${base}/agents
|
|
1218
|
+
const res = await doFetch(`${base}/agents/from-template`, {
|
|
1219
1219
|
method: "POST",
|
|
1220
1220
|
body: JSON.stringify(payload),
|
|
1221
1221
|
headers: jsonHeaders
|