MCPcopy Create free account
hub / github.com/HisMax/RedInk / createEmptyTextForm

Function createEmptyTextForm

frontend/src/composables/useProviderForm.ts:111–122  ·  view source on GitHub ↗

* 创建空的文本服务商表单

()

Source from the content-addressed store, hash-verified

109 * 创建空的文本服务商表单
110 */
111 function createEmptyTextForm(): TextProviderForm {
112 return {
113 name: '',
114 type: 'openai_compatible',
115 api_key: '',
116 api_key_masked: '',
117 base_url: '',
118 model: '',
119 endpoint_type: '/v1/chat/completions',
120 _has_api_key: false
121 }
122 }
123
124 /**
125 * 创建空的图片服务商表单

Callers 2

useProviderFormFunction · 0.85
openAddTextModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected