@@ -49,7 +49,7 @@ const postApplication: (
4949 * @param 参数
5050 */
5151const putApplication : (
52- application_id : String ,
52+ application_id : string ,
5353 data : ApplicationFormType ,
5454 loading ?: Ref < boolean > ,
5555) => Promise < Result < any > > = ( application_id , data , loading ) => {
@@ -61,7 +61,7 @@ const putApplication: (
6161 * @param 参数 application_id
6262 */
6363const delApplication : (
64- application_id : String ,
64+ application_id : string ,
6565 loading ?: Ref < boolean > ,
6666) => Promise < Result < boolean > > = ( application_id , loading ) => {
6767 return del ( `${ prefix } /${ application_id } ` , undefined , { } , loading )
@@ -177,7 +177,7 @@ const postWorkflowChatOpen: (data: ApplicationFormType) => Promise<Result<any>>
177177 ]
178178 }
179179 */
180- const getChatOpen : ( application_id : String ) => Promise < Result < any > > = ( application_id ) => {
180+ const getChatOpen : ( application_id : string ) => Promise < Result < any > > = ( application_id ) => {
181181 return get ( `${ prefix } /${ application_id } /chat/open` )
182182}
183183/**
@@ -305,7 +305,7 @@ const getApplicationTTIModel: (
305305 * @param 参数
306306 */
307307const putPublishApplication : (
308- application_id : String ,
308+ application_id : string ,
309309 data : ApplicationFormType ,
310310 loading ?: Ref < boolean > ,
311311) => Promise < Result < any > > = ( application_id , data , loading ) => {
@@ -317,7 +317,7 @@ const putPublishApplication: (
317317 * @param loading
318318 * @returns
319319 */
320- const listFunctionLib : ( application_id : String , loading ?: Ref < boolean > ) => Promise < Result < any > > = (
320+ const listFunctionLib : ( application_id : string , loading ?: Ref < boolean > ) => Promise < Result < any > > = (
321321 application_id ,
322322 loading ,
323323) => {
@@ -343,8 +343,8 @@ export const getApplicationList: (
343343 * @returns
344344 */
345345const getFunctionLib : (
346- application_id : String ,
347- function_lib_id : String ,
346+ application_id : string ,
347+ function_lib_id : string ,
348348 loading ?: Ref < boolean > ,
349349) => Promise < Result < any > > = ( application_id , function_lib_id , loading ) => {
350350 return get ( `${ prefix } /${ application_id } /function_lib/${ function_lib_id } ` , undefined , loading )
@@ -358,8 +358,8 @@ const getMcpTools: (data: any, loading?: Ref<boolean>) => Promise<Result<any>> =
358358}
359359
360360const getApplicationById : (
361- application_id : String ,
362- app_id : String ,
361+ application_id : string ,
362+ app_id : string ,
363363 loading ?: Ref < boolean > ,
364364) => Promise < Result < any > > = ( application_id , app_id , loading ) => {
365365 return get ( `${ prefix } /${ application_id } /application/${ app_id } ` , undefined , loading )
@@ -372,8 +372,8 @@ const getApplicationById: (
372372 * @returns
373373 */
374374const getModelParamsForm : (
375- application_id : String ,
376- model_id : String ,
375+ application_id : string ,
376+ model_id : string ,
377377 loading ?: Ref < boolean > ,
378378) => Promise < Result < Array < FormField > > > = ( application_id , model_id , loading ) => {
379379 return get ( `${ prefix } /${ application_id } /model_params_form/${ model_id } ` , undefined , loading )
@@ -383,8 +383,8 @@ const getModelParamsForm: (
383383 * 上传文档图片附件
384384 */
385385const uploadFile : (
386- application_id : String ,
387- chat_id : String ,
386+ application_id : string ,
387+ chat_id : string ,
388388 data : any ,
389389 loading ?: Ref < boolean > ,
390390) => Promise < Result < any > > = ( application_id , chat_id , data , loading ) => {
@@ -395,7 +395,7 @@ const uploadFile: (
395395 * 语音转文本
396396 */
397397const postSpeechToText : (
398- application_id : String ,
398+ application_id : string ,
399399 data : any ,
400400 loading ?: Ref < boolean > ,
401401) => Promise < Result < any > > = ( application_id , data , loading ) => {
@@ -406,7 +406,7 @@ const postSpeechToText: (
406406 * 文本转语音
407407 */
408408const postTextToSpeech : (
409- application_id : String ,
409+ application_id : string ,
410410 data : any ,
411411 loading ?: Ref < boolean > ,
412412) => Promise < Result < any > > = ( application_id , data , loading ) => {
@@ -417,7 +417,7 @@ const postTextToSpeech: (
417417 * 播放测试文本
418418 */
419419const playDemoText : (
420- application_id : String ,
420+ application_id : string ,
421421 data : any ,
422422 loading ?: Ref < boolean > ,
423423) => Promise < Result < any > > = ( application_id , data , loading ) => {
0 commit comments