@@ -8,7 +8,9 @@ import icon_openai_colorful from '@/assets/model/icon_openai_colorful.png'
88import icon_kimi_colorful from '@/assets/model/icon_kimi_colorful.png'
99import icon_txhy_colorful from '@/assets/model/icon_txhy_colorful.png'
1010import icon_hsyq_colorful from '@/assets/model/icon_hsyq_colorful.png'
11- import icon_vllm_colorful from '@/assets/model/icon_vllm_colorful.png'
11+ // import icon_vllm_colorful from '@/assets/model/icon_vllm_colorful.png'
12+ import icon_common_openai from '@/assets/model/icon_common_openai.png'
13+ import icon_azure_openAI_colorful from '@/assets/model/icon_Azure_OpenAI_colorful.png'
1214
1315type ModelArg = { key : string ; val ?: string | number ; type : string ; range ?: string }
1416type ModelOption = { name : string ; api_domain ?: string ; args ?: ModelArg [ ] }
@@ -266,7 +268,7 @@ export const supplierList: Array<{
266268 } ,
267269 } ,
268270 } ,
269- {
271+ /* {
270272 id: 11,
271273 name: 'vLLM',
272274 icon: icon_vllm_colorful,
@@ -279,6 +281,64 @@ export const supplierList: Array<{
279281 model_options: [],
280282 },
281283 },
284+ }, */
285+ {
286+ id : 12 ,
287+ name : 'Azure OpenAI' ,
288+ icon : icon_azure_openAI_colorful ,
289+ type : 'azure' ,
290+ is_private : true ,
291+ model_config : {
292+ 0 : {
293+ api_domain : 'https://{your resource name}.openai.azure.cn/' ,
294+ common_args : [ { key : 'temperature' , val : 0.6 , type : 'number' , range : '[0, 1]' } ] ,
295+ model_options : [
296+ {
297+ name : 'Azure OpenAI' ,
298+ args : [
299+ { key : 'api_version' , val : '2024-02-15-preview' , type : 'string' } ,
300+ { key : 'deployment_name' , val : '' , type : 'string' } ,
301+ ] ,
302+ } ,
303+ {
304+ name : 'gpt-4' ,
305+ args : [
306+ { key : 'api_version' , val : '2024-02-15-preview' , type : 'string' } ,
307+ { key : 'deployment_name' , val : '' , type : 'string' } ,
308+ ] ,
309+ } ,
310+ ] ,
311+ } ,
312+ } ,
313+ } ,
314+ {
315+ id : 15 ,
316+ name : '通用OpenAI' ,
317+ icon : icon_common_openai ,
318+ is_private : true ,
319+ model_config : {
320+ 0 : {
321+ api_domain : 'http://127.0.0.1:8000/v1' ,
322+ common_args : [ { key : 'temperature' , val : 0.6 , type : 'number' , range : '[0, 1]' } ] ,
323+ model_options : [
324+ { name : 'gpt-4.1' } ,
325+ { name : 'gpt-4.1-mini' } ,
326+ { name : 'gpt-4.1-nano' } ,
327+ { name : 'gpt-4o' } ,
328+ { name : 'gpt-4o-mini' } ,
329+ { name : 'chatgpt-4o' } ,
330+ { name : 'o4-mini' } ,
331+ { name : 'o4-mini-deep-research' } ,
332+ { name : 'o3' } ,
333+ { name : 'o3-pro' } ,
334+ { name : 'o3-mini' } ,
335+ { name : 'o3-deep-research' } ,
336+ { name : 'o1' } ,
337+ { name : 'o1-pro' } ,
338+ { name : 'o1-mini' } ,
339+ ] ,
340+ } ,
341+ } ,
282342 } ,
283343]
284344
0 commit comments