File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
typescript-sdk/apps/dojo/src/app/[integrationId]/feature/agentic_chat Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -29,34 +29,6 @@ const AgenticChat: React.FC<AgenticChatProps> = ({ params }) => {
2929const Chat = ( ) => {
3030 const [ background , setBackground ] = useState < string > ( "--copilot-kit-background-color" ) ;
3131
32- useCopilotAction ( {
33- name : "lookup_weather" ,
34- description : "Lookup the weather for a given city" ,
35- parameters : [
36- {
37- name : "city" ,
38- type : "string" ,
39- description : "The city to lookup the weather for" ,
40- } ,
41- {
42- name : "weather" ,
43- type : "string" ,
44- description : "The weather for the city" ,
45- } ,
46- ] ,
47- render : ( { status, args } ) => {
48- return (
49- < div >
50- < div >
51- Looked up weather for { args . city } : { args . weather }
52- </ div >
53- < div > Status: { status } </ div >
54- </ div >
55- ) ;
56- } ,
57- followUp : false ,
58- } ) ;
59-
6032 useCopilotAction ( {
6133 name : "change_background" ,
6234 description :
You can’t perform that action at this time.
0 commit comments