File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 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
88args: number: An integer
99tools: myfunction
1010
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
1215
1316---
1417name: sub
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ vacation spot give the name and description.
77name: search
88description: Searches the internet for content
99args: query: The query to search for
10- tools: sys.http.text ?
10+ tools: sys.http.text 2 html ?
1111
1212First download the content of "https://html.duckduckgo.com/html/?q=${query}".
1313Look 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