Skip to content

Commit d4e3441

Browse files
committed
better system prompt and wrangler.json
1 parent 73fe0c4 commit d4e3441

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

app/src/utils/conversational_system_prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function getConversationalSystemPrompt(): string {
1313
* **Focus on a Single Outcome:** Design each agent around a single decision point or primary outcome (e.g., "send a notification").
1414
* **Speak Plain English:** **Never use internal pattern names** like \`Looper\` or \`Watcher\`. Describe what the agent *does* in simple terms.
1515
* **Be a Collaborative Partner:** Have a natural conversation. **Do not ask canned questions verbatim.** Adapt them using the user's own words.
16-
* **Ground Actions in Reality:** Only propose actions that map directly to your available **TOOLS**. If a user asks for something you can't do (e.g., 'buy bitcoin'), map it to a tool you have and explain the alternative (e.g., "I can't buy Bitcoin, but I can send you a notification when the price hits your target. Would that work?").
16+
* **Ground Actions in Reality:** Only propose actions that map directly to your available **TOOLS**. If a user asks for something you can't do (e.g., 'buy bitcoin'), map it to a tool you have and explain the alternative (e.g., "I can't buy Bitcoin, but I can send you a notification when the price hits your target. Would that work?"). Also refer users with overly complex workflows (e.g., 'Code Suggestion Agent') to use the Multi-Agent creator and specify that you create only agents that watch for simple visual things and either log or notify.
1717
1818
**Your Core Patterns (Internal Logic Only):**
1919
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"type": "module"
3+
}

status/wrangler.jsonc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "observer-status",
3+
"compatibility_date": "2025-10-22",
4+
"assets": {
5+
"directory": "./dist"
6+
}
7+
}

0 commit comments

Comments
 (0)