mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
19 lines
534 B
TypeScript
19 lines
534 B
TypeScript
import LLMSettingsForm from "@/components/settings/llm-settings-form"
|
|
import { getCurrentUser } from "@/lib/auth"
|
|
import { getFields } from "@/models/fields"
|
|
import { getSettings } from "@/models/settings"
|
|
|
|
export default async function LlmSettingsPage() {
|
|
const user = await getCurrentUser()
|
|
const settings = await getSettings(user.id)
|
|
const fields = await getFields(user.id)
|
|
|
|
return (
|
|
<>
|
|
<div className="w-full max-w-2xl">
|
|
<LLMSettingsForm settings={settings} fields={fields} />
|
|
</div>
|
|
</>
|
|
)
|
|
}
|