Skip to content

Commit 828d338

Browse files
Add resources
1 parent 182c5e2 commit 828d338

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

prompts/examples/mcp-sqlite.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ tools:
7272
- "-c"
7373
- "echo '{{insight|safe}}' >> /thread/insights.txt"
7474
volumes: *mounts
75+
resources:
76+
- name: Business Insights Memo
77+
description: A living document of discovered business insights
78+
uri: memo://insights
79+
mimeType: text/plain
80+
matches: resource:///thread/insights.txt
81+
default:
82+
text: "No business insights have been discovered yet."
7583
prompt-format: django
7684
parameter-values:
7785
topic: Ocean Conservation

prompts/lorax/speculative.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ tools:
88
properties:
99
host-dir:
1010
type: string
11+
user-source:
12+
type: string
1113
container:
1214
image: vonwig/speculative:latest
1315
mounts:
1416
- "{{host-dir|safe}}:/repo"
1517
commands:
1618
- sandbox
1719
- source
20+
- "-n"
21+
- "{{user-source}}"
1822
- /repo
1923
- name: sandbox-clone
2024
description: create a sandbox for a host repo and respond with the id of the new sandbox
@@ -23,12 +27,14 @@ tools:
2327
properties:
2428
sandbox-name:
2529
type: string
30+
user-source:
31+
type: string
2632
container:
2733
image: vonwig/speculative:latest
2834
commands:
2935
- sandbox
3036
- clone
31-
- "user-source"
37+
- "{{user-source}}"
3238
- "--name"
3339
- "{{sandbox-name}}"
3440
- name: sandbox-snapshot

0 commit comments

Comments
 (0)