File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ description: A function taking an integer as argument and returns an integer
8
8
args: number: An integer
9
9
tools: myfunction
10
10
11
- If ${number} is 0 return 1 . Otherwise return myfunction(${number}-1 ) * ${number}
11
+ Do the following in strict order:
12
+ 1 . If ${number} is 0 skip the remaining steps and return 1
13
+ 2 . Calculate the myfunction of (${number} - 1 )
14
+ 3 . Return ${number} multiply the result of the previous step
12
15
13
16
---
14
17
name: sub
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ vacation spot give the name and description.
7
7
name: search
8
8
description: Searches the internet for content
9
9
args: query: The query to search for
10
- tools: sys.http.text ?
10
+ tools: sys.http.text 2 html ?
11
11
12
12
First download the content of "https://html.duckduckgo.com/html/?q=${query}".
13
13
Look for the first 5 search results. Download each search result and look for content
You can’t perform that action at this time.
0 commit comments