mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-08 22:48:14 -05:00
Changed droppable to connectionDroppable
This commit is contained in:
@@ -89,7 +89,7 @@ export function LongInput({
|
||||
className={cn(
|
||||
'w-full resize-none placeholder:text-muted-foreground/50 allow-scroll text-transparent caret-foreground break-words whitespace-pre-wrap',
|
||||
isConnecting &&
|
||||
config?.droppable !== false &&
|
||||
config?.connectionDroppable !== false &&
|
||||
'focus-visible:ring-blue-500 ring-2 ring-blue-500 ring-offset-2'
|
||||
)}
|
||||
rows={4}
|
||||
|
||||
@@ -110,7 +110,7 @@ export function ShortInput({
|
||||
className={cn(
|
||||
'w-full placeholder:text-muted-foreground/50 allow-scroll text-transparent caret-foreground',
|
||||
isConnecting &&
|
||||
config?.droppable !== false &&
|
||||
config?.connectionDroppable !== false &&
|
||||
'focus-visible:ring-blue-500 ring-2 ring-blue-500 ring-offset-2'
|
||||
)}
|
||||
placeholder={placeholder ?? ''}
|
||||
|
||||
@@ -98,7 +98,7 @@ export const AgentBlock: BlockConfig<ChatResponse> = {
|
||||
layout: "full",
|
||||
placeholder: "Enter your API key",
|
||||
password: true,
|
||||
droppable: false
|
||||
connectionDroppable: false
|
||||
},
|
||||
{
|
||||
id: 'responseFormat',
|
||||
|
||||
@@ -45,7 +45,7 @@ export interface SubBlockConfig {
|
||||
columns?: string[]
|
||||
placeholder?: string
|
||||
password?: boolean
|
||||
droppable?: boolean
|
||||
connectionDroppable?: boolean
|
||||
}
|
||||
|
||||
export interface BlockConfig<T extends ToolResponse = ToolResponse> {
|
||||
|
||||
Reference in New Issue
Block a user