tuna-agent 0.1.7 → 0.1.8
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.
|
@@ -185,7 +185,7 @@ export async function handleGenerateScript(ws, code, taskId, idea, topic, style,
|
|
|
185
185
|
const resolvedStyle = style || 'short-form';
|
|
186
186
|
const resolvedDuration = duration || 60;
|
|
187
187
|
const resolvedLanguage = language || 'vi';
|
|
188
|
-
console.log(`[generate_script] Received: style=${style} duration=${duration} (resolved=${resolvedDuration}) language=${language}`);
|
|
188
|
+
console.log(`[generate_script] Received: style=${style} duration=${duration} (resolved=${resolvedDuration}) language=${language} styleName=${styleName || '(none)'} styleGuidance=${styleGuidance ? styleGuidance.length + ' chars' : '(none)'}`);
|
|
189
189
|
const expandedTemplate = template
|
|
190
190
|
.replace(/\$ARGUMENTS/g, idea)
|
|
191
191
|
.replace(/\$IDEA/g, idea)
|