Skip to content

Commit 38a2c25

Browse files
committed
remove unused action
1 parent 8e80e70 commit 38a2c25

File tree

1 file changed

+0
-28
lines changed
  • typescript-sdk/apps/dojo/src/app/[integrationId]/feature/agentic_chat

1 file changed

+0
-28
lines changed

typescript-sdk/apps/dojo/src/app/[integrationId]/feature/agentic_chat/page.tsx

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,6 @@ const AgenticChat: React.FC<AgenticChatProps> = ({ params }) => {
2929
const 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:

0 commit comments

Comments
 (0)