Skip to content

Commit b2309ba

Browse files
committed
fix rendering
1 parent 0460e87 commit b2309ba

File tree

1 file changed

+2
-2
lines changed
  • typescript-sdk/apps/dojo/src/app/[integrationId]/feature/backend_tool_rendering

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const Chat = () => {
2929
useCopilotAction({
3030
name: "get_weather",
3131
available: "disabled",
32-
parameters: [{ name: "city", type: "string", required: true }],
32+
parameters: [{ name: "location", type: "string", required: true }],
3333
render: ({ args, result, status }) => {
3434
if (status !== "complete") {
3535
return (
@@ -51,7 +51,7 @@ const Chat = () => {
5151

5252
return (
5353
<WeatherCard
54-
location={args.city}
54+
location={args.location}
5555
themeColor={themeColor}
5656
result={weatherResult}
5757
status={status || "complete"}

0 commit comments

Comments
 (0)