disable graph selector dropdown UI, set with env by default

This commit is contained in:
starmorph
2025-05-27 12:14:40 -07:00
parent 35bd3deb5c
commit a37a1c5905
2 changed files with 8 additions and 2 deletions
-2
View File
@@ -14,7 +14,6 @@ import {
} from "@/components/ui/navigation-menu";
import { Sheet, SheetContent, SheetTrigger } from "@/components/ui/sheet";
import { UserInfoSignOut } from "@/features/user-auth-status";
import { GraphDropdown } from "@/features/graph-dropdown";
import { CreditBalance } from "@/components/credits/credit-balance";
export function Navbar() {
@@ -53,7 +52,6 @@ export function Navbar() {
<div className="hidden items-center space-x-3 md:flex">
<CreditBalance />
<UserInfoSignOut />
<GraphDropdown />
</div>
<Sheet>
<SheetTrigger asChild>
+8
View File
@@ -12,6 +12,14 @@ import { getDeployments } from "@/lib/environment/deployments";
import { Deployment } from "@/app/types/deployment";
import { Badge } from "@/components/ui/badge";
/**
* GraphDropdown component - Currently not in use
*
* This component has been removed from the UI in favor of using
* process.env.NEXT_PUBLIC_ASSISTANT_ID to set the graph behind the scenes.
* The Stream and Thread providers automatically fall back to the environment
* variable when no assistantId query state is present.
*/
export function GraphDropdown() {
const { session } = useAuthContext();
const jwt = session?.accessToken;