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 ab8cee2 commit f2beec9Copy full SHA for f2beec9
src/app/components/audiochat.tsx
@@ -216,6 +216,26 @@ const AudioChat: React.FC = () => {
216
}
217
);
218
219
+ // 직원 호출 툴
220
+ client.addTool(
221
+ {
222
+ name: 'call_manager',
223
+ description: 'Call manager',
224
+ parameters: {
225
+ type: 'object',
226
+ properties: {},
227
+ required: [],
228
+ }
229
+ },
230
+ () => {
231
+ console.log("Function calling: call_manager");
232
+
233
+ fetch('/api/call');
234
235
+ return "Successfully called manager";
236
237
+ )
238
239
// 메뉴 추가 툴
240
client.addTool(
241
{
0 commit comments