-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
FeatureNew feature or requestNew feature or request
Description
Which destkop app does this feature request relate to?
- Select a project 👇
- Agent-TARS (cli, server, agent, tool etc.)
- UI-TARS Desktop
What problem does this feature solve?
Description
Currently, when creating Computer Operation tasks and Browser Operation tasks in the project, there is no built-in support for setting default pre-prompts (either task-type-specific or universal for these two task types). Users have to manually input repetitive guiding prompts for each individual task, which reduces operational efficiency and may cause inconsistent execution standards for the same type of tasks.
To solve this problem, we request the addition of default pre-prompt configuration capabilities for Computer Operation and Browser Operation tasks, including two core requirements:
- Add task-type-specific custom default pre-prompts: Separate configuration entries for Computer Operation tasks and Browser Operation tasks, allowing users to set unique, fixed default pre-prompts that are automatically prepended to all tasks of the corresponding type.
- Add universal global default pre-prompt for these two task types: A unified configuration entry for both Computer Operation and Browser Operation tasks, allowing users to set a shared default pre-prompt that is automatically prepended to all tasks of these two types (works with the above task-type-specific pre-prompts).
Use Cases
- Scenario 1 (Task-type-specific pre-prompt):
- For Computer Operation tasks, the default pre-prompt could be: "Please operate the computer in accordance with the system's security regulations, and do not modify or delete system core files without authorization."
- For Browser Operation tasks, the default pre-prompt could be: "Please use the specified browser to complete the operation, clear the browser cache before execution, and record the operation steps in detail."
Users no longer need to manually copy these prompts for each task.
- Scenario 2 (Universal global pre-prompt for two task types):
The team requires that all Computer Operation and Browser Operation tasks must follow the rule: "If the operation encounters an error, stop execution immediately and output the error information in detail." A universal global pre-prompt can uniformly enforce this rule for both task types without separate configuration.
What does the proposed features look like?
Proposed Solution
- Add a dedicated configuration section (e.g., named
Default Pre-prompts for Computer & Browser Tasks) in the project settings panel. - In this section, design three clear configuration items (all supporting text editing and saving):
Computer Operation Task Custom Default Pre-prompt: A text area exclusively for setting the default pre-prompt of Computer Operation tasks (takes effect for all such tasks).Browser Operation Task Custom Default Pre-prompt: A text area exclusively for setting the default pre-prompt of Browser Operation tasks (takes effect for all such tasks).Universal Global Pre-prompt for Computer & Browser Tasks: A text area for setting the shared pre-prompt that applies to both two task types.
- Define a clear merging order of pre-prompts (to avoid conflicts and ensure rationality):
Universal Global Pre-prompt (for both tasks) → Task-type-specific Custom Default Pre-prompt → Task-specific Manual Prompt (if any)
The merged pre-prompts will be displayed in the task details page for user confirmation. - Support manual override: Add a checkbox (e.g., "Override default pre-prompts") on the task creation page, allowing users to ignore the global and task-type-specific default pre-prompts when needed.
Acceptance Criteria
- Users can configure and save task-type-specific custom default pre-prompts for Computer Operation tasks and Browser Operation tasks respectively.
- Users can configure and save a universal global default pre-prompt applicable to both Computer Operation and Browser Operation tasks.
- When creating a Computer Operation or Browser Operation task, the pre-prompts are automatically merged in the order of "universal global → task-type-specific" and prepended to the task.
- Users can manually override the default pre-prompts (global and task-type-specific) on the individual task creation page.
- The final merged pre-prompt content is visible and editable (if needed) in the task details page before task submission/execution.
Additional Context
- This feature will greatly improve the efficiency of creating Computer Operation and Browser Operation tasks, and ensure the consistency of execution guidelines for these tasks.
- It is recommended that the configuration of pre-prompts supports plain text format first; support for markdown format can be considered as an enhanced requirement in the future.
029527
Metadata
Metadata
Assignees
Labels
FeatureNew feature or requestNew feature or request