2025-09-09 14:37:32 +05:30
|
|
|
"use client";
|
|
|
|
|
|
2026-04-08 19:20:31 +05:30
|
|
|
import { ServiceConfigurationForm } from "@/components/ServiceConfigurationForm";
|
2025-09-09 14:37:32 +05:30
|
|
|
import { useUserConfig } from "@/context/UserConfigContext";
|
|
|
|
|
|
|
|
|
|
export default function ServiceConfiguration() {
|
2026-04-08 19:20:31 +05:30
|
|
|
const { saveUserConfig } = useUserConfig();
|
2026-03-31 21:42:03 +05:30
|
|
|
|
2025-11-29 15:39:57 +05:30
|
|
|
return (
|
|
|
|
|
<div className="w-full max-w-2xl mx-auto">
|
|
|
|
|
<div className="mb-6">
|
|
|
|
|
<h1 className="text-3xl font-bold mb-2">AI Models Configuration</h1>
|
|
|
|
|
<p className="text-muted-foreground">
|
|
|
|
|
Configure your AI model, voice, and transcription services.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-04-08 19:20:31 +05:30
|
|
|
<ServiceConfigurationForm
|
|
|
|
|
mode="global"
|
|
|
|
|
onSave={async (config) => {
|
|
|
|
|
await saveUserConfig(config);
|
|
|
|
|
}}
|
|
|
|
|
/>
|
2025-09-09 14:37:32 +05:30
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|