tweak: background agent prompting to avoid polling issues (#30790)
This commit is contained in:
parent
fe5ac304b5
commit
cc9b73b0bd
2 changed files with 7 additions and 6 deletions
|
|
@ -29,14 +29,15 @@ const BACKGROUND_DESCRIPTION = [
|
|||
"You will be notified automatically when it finishes.",
|
||||
].join(" ")
|
||||
const BACKGROUND_STARTED = [
|
||||
"Background task started. You will be notified automatically when it finishes.",
|
||||
"Do not poll for progress, ask the task for status, or duplicate its work by investigating the same files or topic yourself.",
|
||||
"Continue only with non-overlapping work, or briefly tell the user what you launched and stop.",
|
||||
"The task is working in the background. You will be notified automatically when it finishes.",
|
||||
"Do not poll for progress, ask the task for status, or duplicate this task's work — avoid working with the same files or topics it is using.",
|
||||
"Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.",
|
||||
].join("\n")
|
||||
const BACKGROUND_UPDATED = [
|
||||
"Additional context sent to the running background task.",
|
||||
"The task is still running; wait for the automatic completion notification.",
|
||||
"Do not poll for progress or duplicate its work.",
|
||||
"The task is still working in the background. You will be notified automatically when it finishes.",
|
||||
"Do not poll for progress, ask the task for status, or duplicate this task's work — avoid working with the same files or topics it is using.",
|
||||
"Work on non-overlapping tasks, or briefly tell the user what you sent and end your response.",
|
||||
].join("\n")
|
||||
|
||||
const BaseParameterFields = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue