|
120 | 120 | "openai",
|
121 | 121 | "qianfan",
|
122 | 122 | "tongyi",
|
| 123 | + "zhipuai", |
123 | 124 | "ollama"
|
124 | 125 | ],
|
125 | 126 | "default": "openai",
|
|
149 | 150 | "provider": "qianfan",
|
150 | 151 | "model": "ERNIE-Bot-turbo"
|
151 | 152 | },
|
| 153 | + { |
| 154 | + "title": "ChatGLM 4", |
| 155 | + "provider": "zhipuai", |
| 156 | + "model": "glm-4" |
| 157 | + }, |
152 | 158 | {
|
153 | 159 | "title": "Llama3",
|
154 | 160 | "provider": "ollama",
|
|
506 | 512 | "description": "%configuration.tongyi.enableSearch.description%",
|
507 | 513 | "order": 16
|
508 | 514 | },
|
| 515 | + "autodev.zhipuai.apiKey": { |
| 516 | + "type": "string", |
| 517 | + "description": "%configuration.zhipuai.apiKey.description%", |
| 518 | + "markdownDescription": "%configuration.zhipuai.apiKey.markdownDescription%", |
| 519 | + "order": 17 |
| 520 | + }, |
| 521 | + "autodev.zhipuai.model": { |
| 522 | + "type": "string", |
| 523 | + "enum": [ |
| 524 | + "glm-4-0520", |
| 525 | + "glm-4", |
| 526 | + "glm-4-air", |
| 527 | + "glm-4-airx", |
| 528 | + "glm-4-flash" |
| 529 | + ], |
| 530 | + "default": "glm-4", |
| 531 | + "description": "%configuration.zhipuai.model.description%", |
| 532 | + "order": 18 |
| 533 | + }, |
| 534 | + "autodev.zhipuai.embeddings.model": { |
| 535 | + "type": "string", |
| 536 | + "enum": [ |
| 537 | + "embedding-2" |
| 538 | + ], |
| 539 | + "default": "embedding-2", |
| 540 | + "description": "%configuration.zhipuai.embeddingModel.description%", |
| 541 | + "order": 19 |
| 542 | + }, |
509 | 543 | "autodev.ollama.baseURL": {
|
510 | 544 | "type": "string",
|
511 | 545 | "default": "http://localhost:11434",
|
512 | 546 | "markdownDescription": "%configuration.ollama.baseURL.markdownDescription%",
|
513 |
| - "order": 17 |
| 547 | + "order": 20 |
514 | 548 | },
|
515 | 549 | "autodev.ollama.model": {
|
516 | 550 | "type": "string",
|
517 | 551 | "default": "llama3",
|
518 | 552 | "description": "%configuration.ollama.model.description%",
|
519 |
| - "order": 18 |
| 553 | + "order": 21 |
520 | 554 | },
|
521 | 555 | "autodev.ollama.completionModel": {
|
522 | 556 | "type": "string",
|
523 | 557 | "default": "codeqwen:7b-code-v1.5-q5_1",
|
524 | 558 | "description": "%configuration.ollama.completionModel.description%",
|
525 |
| - "order": 19 |
| 559 | + "order": 22 |
526 | 560 | },
|
527 | 561 | "autodev.ollama.embeddingModel": {
|
528 | 562 | "type": "string",
|
529 | 563 | "default": "all-minilm",
|
530 | 564 | "description": "%configuration.ollama.embeddingModel.description%",
|
531 |
| - "order": 20 |
| 565 | + "order": 23 |
532 | 566 | },
|
533 | 567 | "autodev.transformers.remoteHost": {
|
534 | 568 | "type": "string",
|
535 | 569 | "default": "https://huggingface.co",
|
536 | 570 | "description": "%configuration.transformers.remoteHost.description%",
|
537 | 571 | "markdownDescription": "%configuration.transformers.remoteHost.markdownDescription%",
|
538 |
| - "order": 21 |
| 572 | + "order": 24 |
539 | 573 | },
|
540 | 574 | "autodev.transformers.remotePathTemplate": {
|
541 | 575 | "type": "string",
|
542 | 576 | "default": "{model}/resolve/{revision}/",
|
543 | 577 | "description": "%configuration.transformers.remotePathTemplate.description%",
|
544 | 578 | "markdownDescription": "%configuration.transformers.remotePathTemplate.markdownDescription%",
|
545 |
| - "order": 22 |
| 579 | + "order": 25 |
546 | 580 | },
|
547 | 581 | "autodev.transformers.allowLocalModels": {
|
548 | 582 | "type": "boolean",
|
549 | 583 | "default": true,
|
550 | 584 | "markdownDescription": "%configuration.transformers.allowLocalModels.markdownDescription%",
|
551 |
| - "order": 23 |
| 585 | + "order": 26 |
552 | 586 | },
|
553 | 587 | "autodev.transformers.localModelPath": {
|
554 | 588 | "type": "string",
|
555 | 589 | "default": "",
|
556 | 590 | "markdownDescription": "%configuration.transformers.localModelPath.markdownDescription%",
|
557 |
| - "order": 24 |
| 591 | + "order": 27 |
558 | 592 | },
|
559 | 593 | "autodev.transformers.model": {
|
560 | 594 | "type": "string",
|
561 | 595 | "description": "%configuration.transformers.model.description%",
|
562 | 596 | "markdownDescription": "%configuration.transformers.model.markdownDescription%",
|
563 |
| - "order": 25 |
| 597 | + "order": 28 |
564 | 598 | },
|
565 | 599 | "autodev.transformers.onnxWasmNumThreads": {
|
566 | 600 | "type": [
|
|
569 | 603 | ],
|
570 | 604 | "default": "auto",
|
571 | 605 | "description": "%configuration.transformers.onnxWasmNumThreads.description%",
|
572 |
| - "order": 26 |
| 606 | + "order": 29 |
573 | 607 | },
|
574 | 608 | "autodev.transformers.onnxLoglevel": {
|
575 | 609 | "type": "string",
|
|
583 | 617 | ],
|
584 | 618 | "default": "error",
|
585 | 619 | "description": "%configuration.transformers.onnxLoglevel.description%",
|
586 |
| - "order": 27 |
| 620 | + "order": 30 |
587 | 621 | }
|
588 | 622 | },
|
589 | 623 | "order": 9
|
|
0 commit comments