@space3-npm/cybersoul-client 1.0.8 → 1.0.9
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 +2 -2
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -120,7 +120,7 @@ Output strictly valid JSON ONLY. No markdown, no conversational filler. Return e
|
|
|
120
120
|
content: `Scene Description: "${params.sceneDescription}"\n\n**CRITICAL REMINDER**: You MUST output your final response exactly in the JSON format specified in the system prompt. DO NOT output plain text dialogue directly. For 'imageParams', ALL values MUST be in ENGLISH ONLY without exception, and you MUST use the exact English enum strings provided.`,
|
|
121
121
|
},
|
|
122
122
|
];
|
|
123
|
-
const llmRes = await this.llm.generate(promptMessages,
|
|
123
|
+
const llmRes = await this.llm.generate(promptMessages, 800, 0.4);
|
|
124
124
|
console.log("[CyberSoulClient ImageGen] Raw LLM Response:", llmRes);
|
|
125
125
|
try {
|
|
126
126
|
const parsedImageArgs = robustJsonParse(llmRes, "generateImage args fallback");
|
|
@@ -153,7 +153,7 @@ Output strictly valid JSON ONLY. No markdown, no conversational filler. Return e
|
|
|
153
153
|
content: `Text: "${params.text}"\n\n**CRITICAL REMINDER**: You MUST output your final response exactly in the JSON format specified in the system prompt. DO NOT output plain text dialogue directly.`,
|
|
154
154
|
},
|
|
155
155
|
];
|
|
156
|
-
const llmRes = await this.llm.generate(promptMessages,
|
|
156
|
+
const llmRes = await this.llm.generate(promptMessages, 800, 0.3);
|
|
157
157
|
console.log("[CyberSoulClient VoiceGen] Raw LLM Response:", llmRes);
|
|
158
158
|
try {
|
|
159
159
|
dynamicArgs = robustJsonParse(llmRes, "generateVoice args fallback");
|