Skip to content

Commit a45905f

Browse files
No way of creating dirs in thread volume
1 parent ac91411 commit a45905f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

prompts/examples/qrencode.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ parameter-values:
1313

1414
# prompt
1515

16-
Generate a QR code for the content '{{content}}' and write the output to the file `/thread/resources/qrcode.png`.
16+
Generate a QR code for the content '{{content}}' and write the output to the file `/thread/qrcode.png`.
1717
If the command fails, read the man page and try again.
1818
If successful, output the path to the generated image in markdown syntax.
1919

src/volumes.clj

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@
3333
{:image "vonwig/bb:latest"
3434
:thread-id thread-id
3535
:command [(json/generate-string
36-
{:directory "/thread/resources"} keyword)
36+
{:directory "/thread"} keyword)
3737
(script/read "src/volumes/collect.clj")]})
3838
:pty-output
3939
(json/parse-string keyword))
4040
(catch Throwable t
4141
(logger/error t "error collecting mcp resources")
4242
{})))
4343

44+
(comment
45+
(script/read "src/volumes/collect.clj"))
46+
4447
(comment
4548
(->
4649
(docker/run-container

0 commit comments

Comments
 (0)