We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffb476b commit b8a29e4Copy full SHA for b8a29e4
prompts/examples/hello_world.md
@@ -0,0 +1,10 @@
1
+---
2
+tools:
3
+ - name: hello-world
4
+ description: A simple tool that prints "Hello, World!" to the console
5
+ container:
6
+ image: busybox:latest
7
+ command:
8
+ - echo
9
+ - "Hello, World!"
10
src/jsonrpc/server.clj
@@ -91,7 +91,7 @@
91
:total 0
92
:hasMore false}})
93
94
-(defn entry->prompt-listing [k v m]
+(defn entry->prompt-listing [k v _messages]
95
(merge
96
{:name (str k)}
97
(select-keys (:metadata v) [:description])))
0 commit comments