@drax/ai-back 3.39.0 → 3.40.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/dist/agents/DraxAgent.js
CHANGED
|
@@ -7,7 +7,7 @@ class DraxAgent {
|
|
|
7
7
|
this.description = description;
|
|
8
8
|
this.sessions = new Map();
|
|
9
9
|
this.config = {
|
|
10
|
-
systemPrompt: "Sos un asistente del sistema.
|
|
10
|
+
systemPrompt: "Sos un asistente del sistema. Respondé siempre en texto plano. No uses emojis, markdown, asteriscos, ni símbolos decorativos.",
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
configure(config) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.
|
|
6
|
+
"version": "3.40.0",
|
|
7
7
|
"description": "Ai utils",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "types/index.d.ts",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
47
|
"vitest": "^3.0.8"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "1165402155066a0da2db001923dd138ec774f8f7"
|
|
50
50
|
}
|
package/src/agents/DraxAgent.ts
CHANGED
|
@@ -21,7 +21,7 @@ import type {AgentSessionService} from "../services/AgentSessionService.js";
|
|
|
21
21
|
class DraxAgent {
|
|
22
22
|
protected sessions: Map<string, DraxAgentSession> = new Map();
|
|
23
23
|
protected config: DraxAgentConfig = {
|
|
24
|
-
systemPrompt: "Sos un asistente del sistema.
|
|
24
|
+
systemPrompt: "Sos un asistente del sistema. Respondé siempre en texto plano. No uses emojis, markdown, asteriscos, ni símbolos decorativos.",
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
constructor(
|