We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0460e87 commit b2309baCopy full SHA for b2309ba
typescript-sdk/apps/dojo/src/app/[integrationId]/feature/backend_tool_rendering/page.tsx
@@ -29,7 +29,7 @@ const Chat = () => {
29
useCopilotAction({
30
name: "get_weather",
31
available: "disabled",
32
- parameters: [{ name: "city", type: "string", required: true }],
+ parameters: [{ name: "location", type: "string", required: true }],
33
render: ({ args, result, status }) => {
34
if (status !== "complete") {
35
return (
@@ -51,7 +51,7 @@ const Chat = () => {
51
52
53
<WeatherCard
54
- location={args.city}
+ location={args.location}
55
themeColor={themeColor}
56
result={weatherResult}
57
status={status || "complete"}
0 commit comments