Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Disables send button in demo when no app ID is present

elijahbenizzya3c6fad5199c
diff --git a/telemetry/ui/src/examples/Chatbot.tsx b/telemetry/ui/src/examples/Chatbot.tsx
index 0e16b02e..4af38ee6 100644
--- a/telemetry/ui/src/examples/Chatbot.tsx
+++ b/telemetry/ui/src/examples/Chatbot.tsx
@@ -193,7 +193,7 @@ export const Chatbot = (props: { projectId: string; appId: string | undefined })
sendPrompt();
}
}}
- disabled={isChatWaiting}
+ disabled={isChatWaiting || props.appId === undefined}
/>
<Button
className="w-min cursor-pointer h-full"