@@ -63,6 +63,7 @@ interface Input { value?: string onValueChange?: (value: string) => void predictedPrice?: string | null + isChatBot?: boolean } export const ModelInput: FC = ({ @@ -81,6 +82,7 @@ export const ModelInput: FC = ({ value: externalValue, onValueChange: externalOnChange, predictedPrice, + isChatBot = false, }: Input) => { const [disabled, setDisabled] = React.useState(true) const [required, setRequired] = React.useState<(string | null)[]>([]) @@ -211,7 +213,7 @@ export const ModelInput: FC = ({ >
- + {isChatBot && } {typeVersions['image'] && (typeVersions['image'].length === 0 || typeVersions['image'].includes(currentVersion)) && ( @@ -137,6 +137,7 @@ function Chat({ viewMobileSettings={openMobileFilters} input_types={input_types} styles={'chats'} + isChatBot={true} loading={loading} desktop={desktop} blocked={blocked}