Skip to content

Commit 308f09d

Browse files
committed
reinstate altair function and search grounding
1 parent d24c754 commit 308f09d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/components/altair/Altair.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,8 @@ function AltairComponent() {
5757
},
5858
tools: [
5959
// there is a free-tier quota for search
60-
//{ googleSearch: {} },
61-
{
62-
functionDeclarations: [
63-
{
64-
name: "take_photo",
65-
description: "Call to trigger taking a photo",
66-
},
67-
],
68-
},
60+
{ googleSearch: {} },
61+
{ functionDeclarations: [declaration] },
6962
],
7063
});
7164
}, [setConfig]);

0 commit comments

Comments
 (0)