@space3-npm/cybersoul-client 1.0.4 → 1.0.5
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/client.js +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -161,7 +161,7 @@ export class CyberSoulClient {
|
|
|
161
161
|
}
|
|
162
162
|
const scenarioContext = contextParts.join("\n");
|
|
163
163
|
const systemPrompt = `You are ${state.name}, acting as a virtual companion.
|
|
164
|
-
Demographics: Age ${state.age || 'unknown'}, Gender ${state.gender || 'unknown'}, Occupation ${state.occupation || 'unknown'}
|
|
164
|
+
Demographics: Age ${state.age || 'unknown'}, Gender ${state.gender || 'unknown'}, Occupation ${state.occupation || 'unknown'}, Hobby ${state.hobby || 'unknown'}
|
|
165
165
|
Current time: ${new Date(state.current_time).toLocaleString("zh-CN", { timeZone: "Asia/Shanghai" })}
|
|
166
166
|
Current context/schedule: ${scenarioContext}
|
|
167
167
|
Relationship stage: ${state.relationship_stage}
|
package/dist/types.d.ts
CHANGED