This commit is contained in:
parent
1d23f3270f
commit
447ff68d82
|
|
@ -20,6 +20,8 @@ import { Slider } from "./slider"
|
|||
import { TextareaAutosize } from "./textarea-autosize"
|
||||
import { WithTooltip } from "./with-tooltip"
|
||||
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
interface ChatSettingsFormProps {
|
||||
chatSettings: ChatSettings
|
||||
onChangeChatSettings: (value: ChatSettings) => void
|
||||
|
|
@ -37,6 +39,8 @@ export const ChatSettingsForm: FC<ChatSettingsFormProps> = ({
|
|||
|
||||
if (!profile) return null
|
||||
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div className="space-y-3">
|
||||
<div className="space-y-1">
|
||||
|
|
@ -115,6 +119,8 @@ const AdvancedContent: FC<AdvancedContentProps> = ({
|
|||
findOpenRouterModel(chatSettings.model)?.maxContext || 4096
|
||||
}
|
||||
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div className="mt-5">
|
||||
<div className="space-y-3">
|
||||
|
|
|
|||
Loading…
Reference in New Issue