mirror of
https://github.com/open-webui/computer.git
synced 2026-12-02 09:47:48 -05:00
refac
This commit is contained in:
1 parent
ad54ec5d1e
commit
1c792cbf37
2 files changed
+5
-3
No files matched your search
@@ -54,7 +54,7 @@
|
||||
|
||||
const DEFAULT_PROMPT_PLACEHOLDER = `You are a helpful coding assistant. You have access to tools to read, search, and modify files in the workspace. Use them to help the user with their coding tasks.
|
||||
|
||||
For complex tasks, create an implementation plan first using create_artifact, then wait for approval before coding.
|
||||
For complex tasks, create an implementation plan first using create_artifact. Then wait for an explicit approval message before using tools or implementing.
|
||||
|
||||
{{INSTRUCTIONS}}
|
||||
|
||||
|
||||
@@ -34,7 +34,8 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
PLAN_MODE_PROMPT = (
|
||||
"[Plan Mode] Research the codebase with read-only tools, then present your plan "
|
||||
"using create_artifact. Wait for approval before coding."
|
||||
"using create_artifact. Then wait for an explicit approval message before using "
|
||||
"tools or implementing."
|
||||
)
|
||||
|
||||
# ── Task registry ───────────────────────────────────────────
|
||||
@@ -327,7 +328,8 @@ DEFAULT_SYSTEM_PROMPT = (
|
||||
"You have access to tools to read, search, and modify files in the workspace. "
|
||||
"Use them to help the user with their coding tasks.\n\n"
|
||||
"For complex tasks, create an implementation plan first using "
|
||||
"create_artifact, then wait for approval before coding."
|
||||
"create_artifact. Then wait for an explicit approval message before using "
|
||||
"tools or implementing."
|
||||
"\n\n{{INSTRUCTIONS}}"
|
||||
"\n\n{{SKILLS}}"
|
||||
"\n\nWorkspace: {{WORKSPACE_NAME}}"
|
||||
|
||||
Reference in new issue
Block a user