Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Live calls: keep the Azure setup prompt on screen
prantikmedhia3aa4543f452
diff --git a/src/components/CallView.tsx b/src/components/CallView.tsxindex cb561a2cfd..3242f38c58 100644--- a/src/components/CallView.tsx+++ b/src/components/CallView.tsx@@ -329,7 +329,7 @@ export function CallTargetButton({<divref={keyRef}id={keyId}- className={cn("animate-pop-in absolute right-0 z-30 w-[340px] max-w-[90vw] rounded-xl shadow-2xl", composer ? "bottom-full mb-1.5" : "top-full mt-1.5")}+ className={cn("animate-pop-in absolute right-0 z-30 max-h-[calc(100dvh-80px)] w-[340px] max-w-[90vw] overflow-y-auto overscroll-contain rounded-xl shadow-2xl", composer ? "bottom-full mb-1.5" : "top-full mt-1.5")}><LiveKeyNeeded /></div>diff --git a/src/components/LiveKeyNeeded.tsx b/src/components/LiveKeyNeeded.tsxindex a9ad524b73..e16ff524eb 100644--- a/src/components/LiveKeyNeeded.tsx+++ b/src/components/LiveKeyNeeded.tsx@@ -14,6 +14,7 @@ export function LiveKeyNeeded() {const titleId = useId();const live = state.config?.live;const azure = live?.provider === "azure";+ const keyForm = azure && live?.keySource !== "live";return <section aria-labelledby={titleId} className="flex flex-col gap-2.5 rounded-xl border border-hairline bg-panel p-4 text-left text-[13px]"><div className="flex items-start gap-2.5"><KeyRound size={16} className="mt-0.5 shrink-0 text-ink-secondary" aria-hidden="true" />@@ -21,10 +22,9 @@ export function LiveKeyNeeded() {</div><LiveProviderSettings />{azure && <DismissWhenReady ready={live?.configured === true} />}- {azure- ? live?.keySource !== "live" && <LiveKeySetup compact onSaved={() => {}} />- : <button type="button" className="ui-button ui-button-primary self-start" onClick={() => { dismissLiveNotice(); dispatch(openKeySettings("openai", "liveCalls")); }}>{t("call.live.openApiKeys")}</button>}- <p className="text-[12px] leading-[1.45] text-ink-tertiary">{liveDisclosure({ cloudHome: state.config?.cloudHome === true, azure })} {t(azure ? "call.live.azureCost" : "call.live.cost")}</p>+ {keyForm && <LiveKeySetup compact onSaved={() => {}} />}+ {!azure && <button type="button" className="ui-button ui-button-primary self-start" onClick={() => { dismissLiveNotice(); dispatch(openKeySettings("openai", "liveCalls")); }}>{t("call.live.openApiKeys")}</button>}+ <p className="text-[12px] leading-[1.45] text-ink-tertiary">{!keyForm && `${liveDisclosure({ cloudHome: state.config?.cloudHome === true, azure })} `}{t(azure ? "call.live.azureCost" : "call.live.cost")}</p></section>;}