smoltalk 0.0.58 → 0.0.59
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/functions.js +2 -1
- package/package.json +1 -1
package/dist/functions.js
CHANGED
|
@@ -8,7 +8,7 @@ function getStrategy(model) {
|
|
|
8
8
|
return fromJSON(model);
|
|
9
9
|
}
|
|
10
10
|
export function splitConfig(config) {
|
|
11
|
-
const { openAiApiKey, googleApiKey, ollamaApiKey, anthropicApiKey, ollamaHost, model: rawModel, provider, logLevel, statelog, ...promptConfig } = config;
|
|
11
|
+
const { openAiApiKey, googleApiKey, ollamaApiKey, anthropicApiKey, ollamaHost, model: rawModel, provider, logLevel, statelog, metadata, ...promptConfig } = config;
|
|
12
12
|
const _model = new Model(rawModel);
|
|
13
13
|
const model = _model.getResolvedModel();
|
|
14
14
|
return {
|
|
@@ -22,6 +22,7 @@ export function splitConfig(config) {
|
|
|
22
22
|
provider,
|
|
23
23
|
logLevel,
|
|
24
24
|
statelog,
|
|
25
|
+
metadata,
|
|
25
26
|
},
|
|
26
27
|
promptConfig,
|
|
27
28
|
};
|