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.esm.js
CHANGED
|
@@ -766,7 +766,7 @@ const uploadFile = async (payload) => {
|
|
|
766
766
|
* serve it and answers {name, version, characters, files, missing_files, trigger, trigger_said, turn_on}; a
|
|
767
767
|
* skill it refuses is a 422 whose detail says why. Errors reach the caller, which shows them. */
|
|
768
768
|
const uploadSkill = async (files, baseUrl) => {
|
|
769
|
-
return
|
|
769
|
+
return httpRequest({
|
|
770
770
|
url: `${baseUrl}/chatbot/agent/skills`,
|
|
771
771
|
method: 'POST',
|
|
772
772
|
data: { files },
|