import React from "react" import { useTranslation } from "react-i18next" import { MaxRequestsInput } from "./MaxRequestsInput" import { MaxCostInput } from "./MaxCostInput" export interface MaxLimitInputsProps { allowedMaxRequests?: number allowedMaxCost?: number onMaxRequestsChange: (value: number | undefined) => void onMaxCostChange: (value: number | undefined) => void } export const MaxLimitInputs: React.FC = ({ allowedMaxRequests, allowedMaxCost, onMaxRequestsChange, onMaxCostChange, }) => { const { t } = useTranslation() return (
{t("settings:autoApprove.maxLimits.description")}
) }