@maximem/synap-js-sdk 0.5.18 → 0.5.19
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2040,7 +2040,7 @@ function createInstanceNamespace(credentials, cache, onTurn, agentModel = () =>
|
|
|
2040
2040
|
}
|
|
2041
2041
|
|
|
2042
2042
|
// src/version.ts
|
|
2043
|
-
var SDK_VERSION = "0.5.
|
|
2043
|
+
var SDK_VERSION = "0.5.19";
|
|
2044
2044
|
|
|
2045
2045
|
// src/registry.ts
|
|
2046
2046
|
var instances = /* @__PURE__ */ new Map();
|
|
@@ -4135,6 +4135,8 @@ var SynapClient = (_class4 = class _SynapClient {
|
|
|
4135
4135
|
this.#transport.setRetryPolicy(_nullishCoalesce(_nullishCoalesce(options.retryPolicy, () => ( options.retry_policy)), () => ( null)));
|
|
4136
4136
|
}
|
|
4137
4137
|
if (options.logger !== void 0) this.#logger = options.logger;
|
|
4138
|
+
const historyModel = options.history_search_model !== void 0 ? options.history_search_model : options.historySearchModel;
|
|
4139
|
+
if (historyModel !== void 0 && !this.#localModelStarted) this.#localModelName = historyModel;
|
|
4138
4140
|
const model = _nullishCoalesce(options.agent_model, () => ( options.agentModel));
|
|
4139
4141
|
const window = _nullishCoalesce(options.agent_context_window, () => ( options.agentContextWindow));
|
|
4140
4142
|
if (model !== void 0 || window !== void 0) {
|