@eko-ai/eko 1.1.3 → 1.1.4
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 +2 -1
- package/dist/index.esm.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8956,6 +8956,7 @@ class OpenaiProvider {
|
|
|
8956
8956
|
}
|
|
8957
8957
|
return {
|
|
8958
8958
|
stream: stream,
|
|
8959
|
+
stream_options: stream ? { include_usage: true } : undefined,
|
|
8959
8960
|
model: params.model || this.defaultModel,
|
|
8960
8961
|
max_tokens: params.maxTokens || 4096,
|
|
8961
8962
|
temperature: params.temperature,
|
|
@@ -10519,7 +10520,7 @@ class Eko {
|
|
|
10519
10520
|
this.prompt = "";
|
|
10520
10521
|
this.tabs = [];
|
|
10521
10522
|
this.workflow = undefined;
|
|
10522
|
-
console.info("using Eko@" + "
|
|
10523
|
+
console.info("using Eko@" + "51bc8c13f40aa7f870c443e92c811fbf0185f828");
|
|
10523
10524
|
console.warn("this version is POC, should not used for production");
|
|
10524
10525
|
this.llmProvider = LLMProviderFactory.buildLLMProvider(llmConfig);
|
|
10525
10526
|
this.ekoConfig = this.buildEkoConfig(ekoConfig);
|
package/dist/index.esm.js
CHANGED
|
@@ -8952,6 +8952,7 @@ class OpenaiProvider {
|
|
|
8952
8952
|
}
|
|
8953
8953
|
return {
|
|
8954
8954
|
stream: stream,
|
|
8955
|
+
stream_options: stream ? { include_usage: true } : undefined,
|
|
8955
8956
|
model: params.model || this.defaultModel,
|
|
8956
8957
|
max_tokens: params.maxTokens || 4096,
|
|
8957
8958
|
temperature: params.temperature,
|
|
@@ -10515,7 +10516,7 @@ class Eko {
|
|
|
10515
10516
|
this.prompt = "";
|
|
10516
10517
|
this.tabs = [];
|
|
10517
10518
|
this.workflow = undefined;
|
|
10518
|
-
console.info("using Eko@" + "
|
|
10519
|
+
console.info("using Eko@" + "51bc8c13f40aa7f870c443e92c811fbf0185f828");
|
|
10519
10520
|
console.warn("this version is POC, should not used for production");
|
|
10520
10521
|
this.llmProvider = LLMProviderFactory.buildLLMProvider(llmConfig);
|
|
10521
10522
|
this.ekoConfig = this.buildEkoConfig(ekoConfig);
|