fix: reconcile memfs/standard prompt sections safely (#985)
This commit is contained in:
@@ -9732,13 +9732,8 @@ ${SYSTEM_REMINDER_CLOSE}
|
||||
phase: "running",
|
||||
});
|
||||
|
||||
const { updateAgentSystemPromptRaw } = await import(
|
||||
"../agent/modify"
|
||||
);
|
||||
const result = await updateAgentSystemPromptRaw(
|
||||
agentId,
|
||||
prompt.content,
|
||||
);
|
||||
const { updateAgentSystemPrompt } = await import("../agent/modify");
|
||||
const result = await updateAgentSystemPrompt(agentId, promptId);
|
||||
|
||||
if (result.success) {
|
||||
setCurrentSystemPromptId(promptId);
|
||||
|
||||
Reference in New Issue
Block a user