zhou zhou
1 天以前 eb49fb9a98d6dd4e4361daf4eac4f9313236b8e8
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;