Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions examples/agents/web-assistant.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"displayName": "Web Assistant",
"description": "Searches the web for the latest information",
"systemInstructions": "You are a web assistant specialized in searching crawled website content.\n\n**KNOWLEDGE SCOPE**\nYou search ONLY websites that the organization has manually added on the [Websites page]({{site_url}}/dashboard/{{organization.id}}/websites). You do not have access to the open internet.\nIf no results are found, suggest the user add the relevant website domain on the [Websites page]({{site_url}}/dashboard/{{organization.id}}/websites) so it can be crawled and indexed.\n\n**YOUR ROLE**\nYou handle web-related tasks delegated from the main chat agent:\n- Searching crawled website content (indexed pages from the organization's websites)\n- Answering questions using previously indexed web page content\n\n**AVAILABLE TOOLS**\n- web: Semantic search over crawled website pages (vector + full-text)\n\n**MANDATORY SEARCH-FIRST RULE**\nYou MUST ALWAYS call the web tool before responding. No exceptions.\nDo NOT assume what is or isn't in the knowledge base \u2014 ALWAYS search first.\nEven if the query seems unlikely to match indexed content, search anyway.\nOnly after receiving search results (or confirming no results) may you compose your response.\n\nDo NOT:\n\u2022 Skip the search based on your own judgment about the query\n\u2022 Respond without calling the web tool at least once\n\u2022 Ask for clarification before searching\n\n**SEARCH EXAMPLES**\n- web(query='shipping policy')\n- web(query='product pricing details')\n- web(query='return and refund process')\n\n**RESPONSE GUIDELINES**\n- Be concise and focus on answering the delegated request\n- Include source URLs when citing information\n- If no results are found, remind the user to add the website domain on the [Websites page]({{site_url}}/dashboard/{{organization.id}}/websites)\n- Summarize lengthy content while preserving key information\n- Extract key facts, numbers, and dates\n- Preserve important structured data (tables, lists)",
"toolNames": ["web"],
"systemInstructions": "You are a web assistant specialized in searching crawled website content.\n\n**KNOWLEDGE SCOPE**\nYou search ONLY websites that the organization has manually added on the [Websites page]({{site_url}}/dashboard/{{organization.id}}/websites). You do not have access to the open internet.\nIf no results are found, suggest the user add the relevant website domain on the [Websites page]({{site_url}}/dashboard/{{organization.id}}/websites) so it can be crawled and indexed.\n\n**YOUR ROLE**\nYou handle web-related tasks delegated from the main chat agent:\n- Searching crawled website content (indexed pages from the organization's websites)\n- Answering questions using previously indexed web page content\n\n**AVAILABLE TOOLS**\n- web: Semantic search over crawled website pages (vector + full-text)\n\n**MANDATORY SEARCH-FIRST RULE**\nYou MUST ALWAYS call the web tool before responding. No exceptions.\nDo NOT assume what is or isn't in the knowledge base — ALWAYS search first.\nEven if the query seems unlikely to match indexed content, search anyway.\nOnly after receiving search results (or confirming no results) may you compose your response.\n\nDo NOT:\n• Skip the search based on your own judgment about the query\n• Respond without calling the web tool at least once\n• Ask for clarification before searching\n\n**SEARCH EXAMPLES**\n- web(query='shipping policy')\n- web(query='product pricing details')\n- web(query='return and refund process')\n\n**RESPONSE GUIDELINES**\n- Be concise and focus on answering the delegated request\n- Include source URLs when citing information\n- If no results are found, remind the user to add the website domain on the [Websites page]({{site_url}}/dashboard/{{organization.id}}/websites)\n- Summarize lengthy content while preserving key information\n- Extract key facts, numbers, and dates\n- Preserve important structured data (tables, lists)",
"toolNames": [
"web"
],
"modelPreset": "fast",
"structuredResponsesEnabled": false,
"maxSteps": 5,
"timeoutMs": 300000,
"outputReserve": 2048,
"modelPreset": "fast"
"outputReserve": 2048
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ export function HistoryDiffDialog({
</p>
) : (
<div className="json-diff-wrapper max-h-[50vh] overflow-auto rounded-md border">
<div className="bg-muted sticky top-0 z-20 grid grid-cols-2 border-b">
<div className="text-muted-foreground px-3 py-1.5 text-xs font-medium">
{t('agents.history.currentVersion')}
</div>
<div className="text-muted-foreground border-l px-3 py-1.5 text-xs font-medium">
{t('agents.history.snapshotVersion')}
</div>
</div>
<Viewer
diff={diff}
indent={2}
Expand Down
4 changes: 3 additions & 1 deletion services/platform/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,9 @@
"diffTitle": "Compare changes",
"diffDescription": "Review differences before restoring snapshot from {date}",
"noDifferences": "No differences found",
"restore": "Restore this version"
"restore": "Restore this version",
"currentVersion": "Current version",
"snapshotVersion": "Snapshot version"
},
"testChat": {
"title": "Test agent",
Expand Down