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 }) => {
29
29
const Chat = ( ) => {
30
30
const [ background , setBackground ] = useState < string > ( "--copilot-kit-background-color" ) ;
31
31
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
-
60
32
useCopilotAction ( {
61
33
name : "change_background" ,
62
34
description :
You can’t perform that action at this time.
0 commit comments