@sprucelabs/sprucebot-llm 13.1.8 → 13.1.9
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.
|
@@ -21,6 +21,13 @@ class SpruceError extends error_1.default {
|
|
|
21
21
|
3. Syntax error in tags with arguments. Make sure the callback is in the form of <<callbackName>>{{JSON arguments}}<</callbackName>> and not <<callbackName>>{{JSON arguments}}<</callbackName> (missing closing >> in the opening tag).
|
|
22
22
|
4. Syntax error in the JSON arguments. Make sure the JSON is valid and properly formatted.
|
|
23
23
|
|
|
24
|
+
Next steps:
|
|
25
|
+
|
|
26
|
+
1. Don't just takes stabs at it, review the syntax rules for callbacks and make sure your tags are properly formatted.
|
|
27
|
+
1a. <<callbackName/>> for callbacks with no arguments.
|
|
28
|
+
1b. <<callbackName>>{{JSON arguments}}<</callbackName>> for callbacks with arguments.
|
|
29
|
+
2. Check the list of valid callbacks (below) below to ensure the callback you are trying to invoke actually exists.
|
|
30
|
+
|
|
24
31
|
Valid callbacks:
|
|
25
32
|
|
|
26
33
|
${options.validCallbacks.map((name, idx) => `${idx + 1}: ${name}`).join('\n')}`;
|
|
@@ -16,6 +16,13 @@ export default class SpruceError extends BaseSpruceError {
|
|
|
16
16
|
3. Syntax error in tags with arguments. Make sure the callback is in the form of <<callbackName>>{{JSON arguments}}<</callbackName>> and not <<callbackName>>{{JSON arguments}}<</callbackName> (missing closing >> in the opening tag).
|
|
17
17
|
4. Syntax error in the JSON arguments. Make sure the JSON is valid and properly formatted.
|
|
18
18
|
|
|
19
|
+
Next steps:
|
|
20
|
+
|
|
21
|
+
1. Don't just takes stabs at it, review the syntax rules for callbacks and make sure your tags are properly formatted.
|
|
22
|
+
1a. <<callbackName/>> for callbacks with no arguments.
|
|
23
|
+
1b. <<callbackName>>{{JSON arguments}}<</callbackName>> for callbacks with arguments.
|
|
24
|
+
2. Check the list of valid callbacks (below) below to ensure the callback you are trying to invoke actually exists.
|
|
25
|
+
|
|
19
26
|
Valid callbacks:
|
|
20
27
|
|
|
21
28
|
${options.validCallbacks.map((name, idx) => `${idx + 1}: ${name}`).join('\n')}`;
|