mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 20:35:39 -06:00
b34eb16071
* fix(copilot): add OpenClaw prompt guidance Copilot append-mode system messages included credential safety, workspace bootstrap, and extra context but omitted OpenClaw delegation and reply-delivery policy. Build guidance from the final policy-filtered tool surface so visible delegated work, Skill Workshop, and source replies follow the same behavior as Codex. * fix(copilot): break prompt guidance import cycle The CI architecture gate detected a cycle through attempt-config and prompt-guidance. Isolate raw-run mode detection in a leaf module.
4 lines
170 B
TypeScript
4 lines
170 B
TypeScript
export function isRawCopilotModelRun(params: { modelRun?: boolean; promptMode?: string }): boolean {
|
|
return params.modelRun === true || params.promptMode === "none";
|
|
}
|