chore: Add --system flag for existing agents + update system prompt variable names (#328)
This commit is contained in:
@@ -3916,8 +3916,10 @@ ${recentCommits}
|
||||
refreshDerived();
|
||||
|
||||
// Update the agent's system prompt
|
||||
const { updateAgentSystemPrompt } = await import("../agent/modify");
|
||||
const result = await updateAgentSystemPrompt(
|
||||
const { updateAgentSystemPromptRaw } = await import(
|
||||
"../agent/modify"
|
||||
);
|
||||
const result = await updateAgentSystemPromptRaw(
|
||||
agentId,
|
||||
selectedPrompt.content,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user