Skip to content

Commit ed78c12

Browse files
jingyun19tomayac
andauthored
Update README.md
Co-authored-by: Thomas Steiner <[email protected]>
1 parent 8e076f7 commit ed78c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Because of their special behavior of being preserved on context window overflow,
141141

142142
The Prompt API supports **tool use** via the `tools` option, allowing you to define external capabilities that a language model can invoke in a model-agnostic way. Each tool is represented by an object that includes an `execute` member that specifies the JavaScript function to be called. When the language model initiates a tool use request, the user agent calls the corresponding `execute` function and sends the result back to the model.
143143

144-
There are 2 tool use modes: with automatic execution (closed loop) and without automatic execution (open loop)
144+
There are two tool use modes: with automatic execution (closed loop) and without automatic execution (open loop).
145145

146146
Regardless of with or without automatic execution, the session creation and appending signature are the same. Here’s an example:
147147

0 commit comments

Comments
 (0)