impact-chatbot 3.1.1 → 3.1.2
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.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -788,7 +788,7 @@ const uploadFile = async (payload) => {
|
|
|
788
788
|
* serve it and answers {name, version, characters, files, missing_files, trigger, trigger_said, turn_on}; a
|
|
789
789
|
* skill it refuses is a 422 whose detail says why. Errors reach the caller, which shows them. */
|
|
790
790
|
const uploadSkill = async (files, baseUrl) => {
|
|
791
|
-
return
|
|
791
|
+
return httpRequest({
|
|
792
792
|
url: `${baseUrl}/chatbot/agent/skills`,
|
|
793
793
|
method: 'POST',
|
|
794
794
|
data: { files },
|