zhou zhou
昨天 5d16d9a0e7240ff4e6346bfee4890159da5a764e
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;