zhou zhou
8 天以前 d2386afe5adb6bb6ed2ab04d4ce6417643e86220
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;