Skip to content

Commit c90312f

Browse files
committed
👌 IMPROVE: Docs
1 parent b56eb71 commit c90312f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎apps/baseai.dev/content/docs/api-reference/pipe-run.mdx‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ The BaseAI core package provides a `pipe.run()` function that you can use in you
8383
```ts {{title: 'RunOptions Object'}}
8484
interface RunOptions {
8585
messages?: Message[];
86+
runTools?: boolean;
8687
variables?: Variable[];
8788
threadId?: string;
8889
rawResponse?: boolean;
@@ -106,7 +107,6 @@ The BaseAI core package provides a `pipe.run()` function that you can use in you
106107
role: 'user' | 'assistant' | 'system'| 'tool';
107108
content: string | null;
108109
name?: string;
109-
runTools?: boolean;
110110
tool_call_id?: string;
111111
tool_calls?: ToolCall[];
112112
}
@@ -124,9 +124,6 @@ The BaseAI core package provides a `pipe.run()` function that you can use in you
124124
<Property name="name" type="string">
125125
The name of the tool called by LLM
126126
</Property>
127-
<Property name="runTools" type="boolean">
128-
Enable if you want BaseAI to automically run tools.
129-
</Property>
130127
<Property name="tool_call_id" type="string">
131128
The id of the tool called by LLM
132129
</Property>
@@ -159,6 +156,14 @@ The BaseAI core package provides a `pipe.run()` function that you can use in you
159156

160157
---
161158

159+
### runTools
160+
161+
<Properties>
162+
<Property name="runTools" type="boolean">
163+
Enable if you want BaseAI to automically run tools**.**
164+
</Property>
165+
</Properties>
166+
162167
### variables
163168

164169
<Properties>

0 commit comments

Comments
 (0)