|
|
@@ -595,7 +595,8 @@ const OhMyOpenCodeLite: Plugin = async (ctx) => {
|
|
|
// Some providers (e.g. Qwen3.5 via DashScope) reject multiple system
|
|
|
// messages. Sub-hooks above may push additional entries; join them
|
|
|
// back into one element so OpenCode emits a single system message.
|
|
|
- output.system = [output.system.join('\n\n')];
|
|
|
+ const joined = output.system.join('\n\n');
|
|
|
+ output.system = joined ? [joined] : [];
|
|
|
},
|
|
|
|
|
|
// Inject phase reminder and filter available skills before sending to API (doesn't show in UI)
|