This commit is contained in:
parent
97bbace6f0
commit
0db2014164
|
|
@ -2,6 +2,7 @@ import { Input } from "@/components/ui/input"
|
||||||
import { Label } from "@/components/ui/label"
|
import { Label } from "@/components/ui/label"
|
||||||
import { FC } from "react"
|
import { FC } from "react"
|
||||||
import { Button } from "../ui/button"
|
import { Button } from "../ui/button"
|
||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
interface APIStepProps {
|
interface APIStepProps {
|
||||||
openaiAPIKey: string
|
openaiAPIKey: string
|
||||||
|
|
@ -68,6 +69,8 @@ export const APIStep: FC<APIStepProps> = ({
|
||||||
onUseAzureOpenaiChange,
|
onUseAzureOpenaiChange,
|
||||||
onOpenrouterAPIKeyChange
|
onOpenrouterAPIKeyChange
|
||||||
}) => {
|
}) => {
|
||||||
|
const { t } = useTranslation()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="mt-5 space-y-2">
|
<div className="mt-5 space-y-2">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue