zhou zhou
4 天以前 d5884d0974d17d96225a5d80e432de33a5ee6552
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;