@gonzih/cc-discord 0.2.32 → 0.2.34
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.
|
@@ -348,7 +348,7 @@ export function createMetaAgentManager() {
|
|
|
348
348
|
if (!session)
|
|
349
349
|
return;
|
|
350
350
|
try {
|
|
351
|
-
// --input-format stream-json expects
|
|
351
|
+
// --input-format stream-json expects: {"role":"user","content":"..."}
|
|
352
352
|
const payload = JSON.stringify({ role: "user", content: line });
|
|
353
353
|
session.proc.stdin.write(`${payload}\n`);
|
|
354
354
|
}
|