* 创建空的文本服务商表单
()
| 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 | * 创建空的图片服务商表单 |
no outgoing calls
no test coverage detected