Browse Source

Feat: Support GiteeAI model #1853 (#8573)

### What problem does this PR solve?

Feat: Support GiteeAI model  #1853

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
tags/v0.20.0
balibabu 4 months ago
parent
commit
10f12fa149
No account linked to committer's email address
2 changed files with 8 additions and 0 deletions
  1. 6
    0
      web/src/assets/svg/llm/gitee-ai.svg
  2. 2
    0
      web/src/constants/llm.ts

+ 6
- 0
web/src/assets/svg/llm/gitee-ai.svg View File

@@ -0,0 +1,6 @@
<svg t="1751248186682" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6707"
width="200" height="200">
<path
d="M602.336 589.344c6.4 23.904 13.472 48.32 21.12 73.728 7.008 23.168-13.856 32.256-22.144 10.432A1941.216 1941.216 0 0 1 576 603.04c-45.216 22.72-90.336 41.696-141.472 63.04 20.448 75.168 39.328 138.048 68.608 197.792 2.976 0.096 5.92 0.128 8.896 0.128 194.4 0 352-157.6 352-352 0-69.824-20.32-134.88-55.36-189.6a1896 1896 0 0 0-247.04 38.336 1166.816 1166.816 0 0 0 31.584 193.216 2855.936 2855.936 0 0 0 106.816-50.368c26.976-13.536 53.024-14.368 9.152 20.032a1088.864 1088.864 0 0 1-106.816 65.728z m194.016-284.864a351.776 351.776 0 0 0-238.688-141.536c-2.976 47.424-2.048 107.296 1.536 164.32 71.552-10.816 149.44-18.368 237.12-22.784zM510.912 160a1109.248 1109.248 0 0 0 4.448 174.464 1592 1592 0 0 0-141.344 31.52 717.056 717.056 0 0 1-2.944-60.928 23.456 23.456 0 0 0-46.944 0c0 21.76 1.824 46.72 5.088 73.856-22.496 6.848-44.704 14.176-66.784 21.984a23.456 23.456 0 0 0 15.648 44.256 4268.8 4268.8 0 0 1 57.728-20c9.376 57.536 23.68 121.056 40.16 182.176 2.88 10.656 5.888 21.28 9.088 31.84-60.64 20.896-122.528 37.888-179.104 46.848A350.4 350.4 0 0 1 160 512C160 317.952 316.992 160.608 510.88 160z m-277.12 567.648a351.552 351.552 0 0 0 241.6 134.464c-23.36-42.88-52.544-108.704-77.088-181.312-54.56 20.864-110.56 35.392-164.544 46.848z m330.56-160.864a1144.768 1144.768 0 0 1-36.128-155.52 452.8 452.8 0 0 1-8.128-40.704c-49.44 12.256-96.096 25.92-141.216 40.416 7.232 56.64 19.52 120.96 36.544 184.128l7.712 28.8v0.096l0.384 1.344c21.312-8 42.272-16.32 62.624-24.896 28.032-11.808 54.08-23.04 78.176-33.664z"
fill="currentColor" p-id="6708"></path>
</svg>

+ 2
- 0
web/src/constants/llm.ts View File

@@ -49,6 +49,7 @@ export enum LLMFactory {
SentenceTransformers = 'sentence-transformers',
GPUStack = 'GPUStack',
VLLM = 'VLLM',
GiteeAI = 'GiteeAI',
}

// Please lowercase the file name
@@ -103,4 +104,5 @@ export const IconMap = {
[LLMFactory.SentenceTransformers]: 'sentence-transformers',
[LLMFactory.GPUStack]: 'gpustack',
[LLMFactory.VLLM]: 'vllm',
[LLMFactory.GiteeAI]: 'gitee-ai',
};

Loading…
Cancel
Save