@istarry/dsh-assistant-profile 0.5.0 → 0.5.1
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/lib/index.js +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import z from "@deepseek-ai/schemastery";
|
|
2
|
-
import {
|
|
2
|
+
import { Service } from "@deepseek-ai/cordis";
|
|
3
3
|
import { defineTool } from "@deepseek-ai/dsh-tools";
|
|
4
4
|
import "@deepseek-ai/dsh-llm";
|
|
5
5
|
import "@deepseek-ai/dsh-session";
|
|
@@ -2690,7 +2690,7 @@ const MEMORY_ADD_VALUE_SCHEMA = {
|
|
|
2690
2690
|
* 记忆的存储、注入、两个开关、`memory_add` 工具和按钮提炼都在这里;
|
|
2691
2691
|
* 客户端只负责设置页与弹窗。
|
|
2692
2692
|
*/
|
|
2693
|
-
var AssistantProfile = class extends
|
|
2693
|
+
var AssistantProfile = class extends Service {
|
|
2694
2694
|
config;
|
|
2695
2695
|
static inject = [
|
|
2696
2696
|
"systemPrompt",
|
|
@@ -2701,7 +2701,7 @@ var AssistantProfile = class extends TypertRemoteService {
|
|
|
2701
2701
|
/** `memory_add` 工具的注册 disposer,只在开关允许时存在。 */
|
|
2702
2702
|
toolDisposer;
|
|
2703
2703
|
constructor(ctx, config) {
|
|
2704
|
-
super(ctx
|
|
2704
|
+
super(ctx);
|
|
2705
2705
|
this.config = config;
|
|
2706
2706
|
live.config = config;
|
|
2707
2707
|
ctx.inject(["settings"], (child) => {
|
package/package.json
CHANGED