natureco-sdk 1.0.1 → 1.0.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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NatureCo JavaScript SDK
|
|
3
|
-
* @version 1.0.
|
|
3
|
+
* @version 1.0.2
|
|
4
4
|
* @description Official JavaScript SDK for NatureCo API
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -105,7 +105,7 @@ class BotsModule {
|
|
|
105
105
|
if (systemPrompt) data.system_prompt = systemPrompt;
|
|
106
106
|
if (model) data.model = model;
|
|
107
107
|
|
|
108
|
-
return this.client.request('
|
|
108
|
+
return this.client.request('PUT', `/bots/${botId}`, data);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
async delete(botId) {
|