channel.constants.js 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*
  2. Copyright (C) 2025 QuantumNous
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU Affero General Public License as
  5. published by the Free Software Foundation, either version 3 of the
  6. License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Affero General Public License for more details.
  11. You should have received a copy of the GNU Affero General Public License
  12. along with this program. If not, see <https://www.gnu.org/licenses/>.
  13. For commercial licensing, please contact support@quantumnous.com
  14. */
  15. export const CHANNEL_OPTIONS = [
  16. { value: 1, color: 'green', label: 'OpenAI' },
  17. {
  18. value: 2,
  19. color: 'light-blue',
  20. label: 'Midjourney Proxy',
  21. },
  22. {
  23. value: 5,
  24. color: 'blue',
  25. label: 'Midjourney Proxy Plus',
  26. },
  27. {
  28. value: 36,
  29. color: 'purple',
  30. label: 'Suno API',
  31. },
  32. { value: 4, color: 'grey', label: 'Ollama' },
  33. {
  34. value: 14,
  35. color: 'indigo',
  36. label: 'Anthropic Claude',
  37. },
  38. {
  39. value: 33,
  40. color: 'indigo',
  41. label: 'AWS Claude',
  42. },
  43. { value: 41, color: 'blue', label: 'Vertex AI' },
  44. {
  45. value: 3,
  46. color: 'teal',
  47. label: 'Azure OpenAI',
  48. },
  49. {
  50. value: 34,
  51. color: 'purple',
  52. label: 'Cohere',
  53. },
  54. { value: 39, color: 'grey', label: 'Cloudflare' },
  55. { value: 43, color: 'blue', label: 'DeepSeek' },
  56. {
  57. value: 15,
  58. color: 'blue',
  59. label: '百度文心千帆',
  60. },
  61. {
  62. value: 46,
  63. color: 'blue',
  64. label: '百度文心千帆V2',
  65. },
  66. {
  67. value: 17,
  68. color: 'orange',
  69. label: '阿里通义千问',
  70. },
  71. {
  72. value: 18,
  73. color: 'blue',
  74. label: '讯飞星火认知',
  75. },
  76. {
  77. value: 16,
  78. color: 'violet',
  79. label: '智谱 ChatGLM(已经弃用,请使用智谱 GLM-4V)',
  80. },
  81. {
  82. value: 26,
  83. color: 'purple',
  84. label: '智谱 GLM-4V',
  85. },
  86. {
  87. value: 24,
  88. color: 'orange',
  89. label: 'Google Gemini',
  90. },
  91. {
  92. value: 11,
  93. color: 'orange',
  94. label: 'Google PaLM2',
  95. },
  96. {
  97. value: 47,
  98. color: 'blue',
  99. label: 'Xinference',
  100. },
  101. { value: 25, color: 'green', label: 'Moonshot' },
  102. { value: 20, color: 'green', label: 'OpenRouter' },
  103. { value: 19, color: 'blue', label: '360 智脑' },
  104. { value: 23, color: 'teal', label: '腾讯混元' },
  105. { value: 31, color: 'green', label: '零一万物' },
  106. { value: 35, color: 'green', label: 'MiniMax' },
  107. { value: 37, color: 'teal', label: 'Dify' },
  108. { value: 38, color: 'blue', label: 'Jina' },
  109. { value: 40, color: 'purple', label: 'SiliconCloud' },
  110. { value: 42, color: 'blue', label: 'Mistral AI' },
  111. { value: 8, color: 'pink', label: '自定义渠道' },
  112. {
  113. value: 22,
  114. color: 'blue',
  115. label: '知识库:FastGPT',
  116. },
  117. {
  118. value: 21,
  119. color: 'purple',
  120. label: '知识库:AI Proxy',
  121. },
  122. {
  123. value: 44,
  124. color: 'purple',
  125. label: '嵌入模型:MokaAI M3E',
  126. },
  127. {
  128. value: 45,
  129. color: 'blue',
  130. label: '字节火山方舟、豆包通用',
  131. },
  132. {
  133. value: 48,
  134. color: 'blue',
  135. label: 'xAI',
  136. },
  137. {
  138. value: 49,
  139. color: 'blue',
  140. label: 'Coze',
  141. },
  142. {
  143. value: 50,
  144. color: 'green',
  145. label: '可灵',
  146. },
  147. {
  148. value: 51,
  149. color: 'blue',
  150. label: '即梦',
  151. },
  152. {
  153. value: 52,
  154. color: 'purple',
  155. label: 'Vidu',
  156. },
  157. {
  158. value: 53,
  159. color: 'blue',
  160. label: 'SubModel',
  161. },
  162. {
  163. value: 54,
  164. color: 'blue',
  165. label: '豆包视频',
  166. },
  167. ];
  168. export const MODEL_TABLE_PAGE_SIZE = 10;