zhou zhou
2026-04-03 5454bbe86b1a22e9f05b6bc43f7ed7e9d6c4dc14
1
2
3
4
5
6
7
8
9
10
11
12
13
import React from "react";
import { Create, SimpleForm } from "react-admin";
import AiParamForm from "./AiParamForm";
 
const AiParamCreate = () => (
    <Create redirect="list">
        <SimpleForm defaultValues={{ providerType: "OPENAI_COMPATIBLE", temperature: 0.7, topP: 1, timeoutMs: 60000, streamingEnabled: true, status: 1 }}>
            <AiParamForm />
        </SimpleForm>
    </Create>
);
 
export default AiParamCreate;