File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import ChatbotOutliner from "./chatbot-outliner.tsx";
1818import { default as Note } from "./note.tsx" ;
1919import BacklinksIndex , { type MentionableCharm } from "./backlinks-index.tsx" ;
2020import ChatList from "./chatbot-list-view.tsx" ;
21+ import { calculator , readWebpage , searchWeb } from "./common-tools.tsx" ;
2122
2223export type Charm = {
2324 [ NAME ] ?: string ;
@@ -112,7 +113,17 @@ export default recipe<CharmsListInput, CharmsListOutput>(
112113
113114 const omnibot = Chatbot ( {
114115 messages : [ ] ,
115- tools : undefined ,
116+ tools : {
117+ searchWeb : {
118+ pattern : searchWeb ,
119+ } ,
120+ readWebpage : {
121+ pattern : readWebpage ,
122+ } ,
123+ calculator : {
124+ pattern : calculator ,
125+ } ,
126+ } ,
116127 } ) ;
117128
118129 return {
You can’t perform that action at this time.
0 commit comments