@outputai/llm 0.1.4-dev.0 → 0.1.5-next.24b9996.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/package.json +2 -2
- package/src/ai_model.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outputai/llm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5-next.24b9996.0",
|
|
4
4
|
"description": "Framework abstraction to interact with LLM models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"decimal.js": "10.6.0",
|
|
23
23
|
"gray-matter": "4.0.3",
|
|
24
24
|
"liquidjs": "10.25.0",
|
|
25
|
-
"@outputai/core": "0.1.
|
|
25
|
+
"@outputai/core": "0.1.5-next.24b9996.0"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"publishConfig": {
|
package/src/ai_model.js
CHANGED
|
@@ -73,7 +73,7 @@ export function loadTools( prompt ) {
|
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
if ( typeof toolsConfig !== 'object'
|
|
76
|
+
if ( typeof toolsConfig !== 'object' ) {
|
|
77
77
|
throw new Error(
|
|
78
78
|
`tools must be an object, got ${typeof toolsConfig}. ` +
|
|
79
79
|
'Use "tools: { googleSearch: {} }"'
|