File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ export function ApiKeys({ onOpenChange, registerCloseHandler }: ApiKeysProps) {
657657 if ( createError ) setCreateError ( null )
658658 } }
659659 disabled = { ! allowPersonalApiKeys }
660- className = 'h-8 data-[variant=outline]:border-border data-[variant=outline]:bg-background data-[variant=outline]:text-foreground data-[variant=outline]:hover:bg-muted dark:data-[variant=outline]:border-border dark:data-[variant=outline]:bg-background dark:data-[variant=outline]:text-foreground dark:data-[variant=outline]:hover:bg-muted/80 disabled:opacity-60 disabled:cursor-not-allowed '
660+ className = 'h-8 disabled:cursor-not-allowed disabled:opacity-60 data-[variant=outline]:border-border data-[variant=outline]:bg-background data-[variant=outline]:text-foreground data-[variant=outline]:hover:bg-muted dark:data-[variant=outline]:border-border dark:data-[variant=outline]:bg-background dark:data-[variant=outline]:text-foreground dark:data-[variant=outline]:hover:bg-muted/80'
661661 >
662662 Personal
663663 </ Button >
Original file line number Diff line number Diff line change @@ -672,7 +672,7 @@ export function Subscription({ onOpenChange }: SubscriptionProps) {
672672 </ SelectTrigger >
673673 < SelectContent align = 'start' >
674674 < SelectGroup >
675- < SelectLabel className = 'px-3 py-1 text-muted-foreground text- [11px] uppercase' >
675+ < SelectLabel className = 'px-3 py-1 text-[11px] text-muted-foreground uppercase' >
676676 Workspace admins
677677 </ SelectLabel >
678678 { workspaceAdmins . map ( ( admin ) => (
Original file line number Diff line number Diff line change @@ -472,7 +472,12 @@ async function handleInternalRequest(
472472 // For custom tools, validate parameters on the client side before sending
473473 if ( toolId . startsWith ( 'custom_' ) && tool . request . body ) {
474474 const requestBody = tool . request . body ( params )
475- if ( requestBody . schema && requestBody . params ) {
475+ if (
476+ typeof requestBody === 'object' &&
477+ requestBody !== null &&
478+ 'schema' in requestBody &&
479+ 'params' in requestBody
480+ ) {
476481 try {
477482 validateClientSideParams ( requestBody . params , requestBody . schema )
478483 } catch ( validationError ) {
You can’t perform that action at this time.
0 commit comments