@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.js
CHANGED
|
@@ -1159,7 +1159,7 @@ function createAgentsApi(cfg, relatedApis) {
|
|
|
1159
1159
|
return res.json();
|
|
1160
1160
|
};
|
|
1161
1161
|
const forkAgentFromTemplate = async (payload) => {
|
|
1162
|
-
const res = await doFetch(`${base}/agents
|
|
1162
|
+
const res = await doFetch(`${base}/agents/from-template`, {
|
|
1163
1163
|
method: "POST",
|
|
1164
1164
|
body: JSON.stringify(payload),
|
|
1165
1165
|
headers: jsonHeaders
|