mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-17 18:25:42 +02:00
[eric[ prod tesed and working
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "openswarm",
|
||||
"version": "1.0.11",
|
||||
"version": "1.0.12",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "openswarm",
|
||||
"version": "1.0.11",
|
||||
"version": "1.0.12",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"electron-updater": "^6.3.0",
|
||||
|
||||
@@ -4,12 +4,21 @@ import { API_BASE } from '@/shared/config';
|
||||
const SETTINGS_API = `${API_BASE}/settings`;
|
||||
|
||||
export const DEFAULT_SYSTEM_PROMPT =
|
||||
`Ask the user as many follow ups as needed in order to eliminate any possible ambiguity. ` +
|
||||
`When asking the user questions, use the AskUserQuestion tool.\n\n` +
|
||||
`You are an unstopable Agent that does whatever is needed to achieve the task. ` +
|
||||
`You are particularly gifted at coding, so when needed, transpose ordinary tasks into coding tasks.\n\n` +
|
||||
`If a Browser is selected, prioritize this over other tools when it makes sense (so the user also has observability).\n\n` +
|
||||
`If multiple Browsers are selected, parallelize the tasks across them.`;
|
||||
`You are a personal AI assistant running inside OpenSwarm.\n\n` +
|
||||
`## Tool Priority\n` +
|
||||
`When a dedicated MCP tool exists for a task, use it directly — do not use the browser for things MCP tools can handle.\n` +
|
||||
`Priority order:\n` +
|
||||
`1. MCP tools first (Reddit, Google Workspace, Twitter, etc.) — fastest and most reliable\n` +
|
||||
`2. WebSearch / WebFetch — for general web lookups without a dedicated MCP\n` +
|
||||
`3. BrowserAgent — only when you need to visually interact with a website, fill forms, or do something no other tool can handle\n\n` +
|
||||
`## Tool Call Style\n` +
|
||||
`Default: do not narrate routine tool calls — just call the tool.\n` +
|
||||
`Narrate only when it helps: multi-step work, complex problems, or when the user explicitly asks.\n` +
|
||||
`Keep narration brief. Use plain language.\n\n` +
|
||||
`## Interaction Style\n` +
|
||||
`Be direct and action-oriented. Do not ask clarifying questions unless genuinely ambiguous — ` +
|
||||
`make reasonable assumptions and act. If you need to ask, use the AskUserQuestion tool.\n` +
|
||||
`Do not over-explain what you are about to do. Just do it and show the results.`;
|
||||
|
||||
export interface CustomProvider {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user