Files

1 line
12 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"repo": "13311314513z-byte/nofusion", "files": {"packages/core/src/llm/providers/endpoints/infiniai.ts": {"928761f35d0602d4688c4ef458e821c4e03aa714": {"t": 1785595452.2690709, "n": 4709, "h": "fbc56c1d0090e712", "c": "/**\n * 无问芯穹 (Infini-AI / GenStudio)\n *\n * - 官网:https://cloud.infini-ai.com/\n * - 控制台 / API key:https://cloud.infini-ai.com/iam/secret\n * - API 文档:https://docs.infini-ai.com/\n */\nimport type { InkosEndpoint } from \"../types.js\";\n\nexport const INFINIAI: InkosEndpoint = {\n id: \"infiniai\",\n label: \"无问芯穹 InfiniAI\",\n group: \"aggregator\",\n api: \"openai-completions\",\n baseUrl: \"https://cloud.infini-ai.com/maas/v1\",\n checkModel: \"qwen2.5-72b-instruct\",\n temperatureRange: [0, 2],\n defaultTemperature: 0.7,\n writingTemperature: 1,\n models: [\n { id: \"minimax-m2.7\", maxOutput: 4096, contextWindowTokens: 204800, enabled: true, releasedAt: \"2026-03-17\" },\n { id: \"deepseek-v3.2\", maxOutput: 8192, contextWindowTokens: 131072, releasedAt: \"2025-12-02\" },\n { id: \"deepseek-v3.2-thinking\", maxOutput: 65536, contextWindowTokens: 131072, enabled: true, releasedAt: \"2025-12-02\" },\n { id: \"glm-4.6v\", maxOutput: 4096, contextWindowTokens: 131072 },\n { id: \"glm-5\", maxOutput: 4096, contextWindowTokens: 198000, enabled: true, releasedAt: \"2026-02-13\" },\n { id: \"minimax-m2.5\", maxOutput: 4096, contextWindowTokens: 204800, releasedAt: \"2026-02-13\" },\n { id: \"kimi-k2-thinking\", maxOutput: 32768, contextWindowTokens: 262144, releasedAt: \"2025-11-07\", temperature: 1 },\n { id: \"deepseek-ocr\", maxOutput: 8192, contextWindowTokens: 8192, releasedAt: \"2025-10-20\" },\n { id: \"minimax-m2.1\", maxOutput: 200000, contextWindowTokens: 200000 },\n { id: \"minimax-m2\", maxOutput: 200000, contextWindowTokens: 200000 },\n { id: \"glm-4.7\", maxOutput: 4096, contextWindowTokens: 131072 },\n { id: \"glm-4.6\", maxOutput: 4096, contextWindowTokens: 131072 },\n { id: \"deepseek-v3.2-exp\", maxOutput: 65536, contextWindowTokens: 131072 },\n { id: \"qwen3-vl-235b-a22b-instruct\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"qwen3-vl-235b-a22b-thinking\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"deepseek-v3.1-terminus\", maxOutput: 65536, contextWindowTokens: 131072 },\n { id: \"qwen3-next-80b-a3b-thinking\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"qwen3-next-80b-a3b-instruct\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"deepseek-v3.1\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"baichuan-m2-32b\", maxOutput: 8192, contextWindowTokens: 64000 },\n { id: \"glm-4.5v\", maxOutput: 4096, contextWindowTokens: 131072 },\n { id: \"glm-4.5\", maxOutput: 4096, contextWindowTokens: 131072 },\n { id: \"glm-4.5-air\", maxOutput: 4096, contextWindowTokens: 131072 },\n { id: \"qwen3-coder-480b-a35b-instruct\", maxOutput: 32768, contextWindowTokens: 262144 },\n { id: \"qwen3-235b-a22b-instruct-2507\", maxOutput: 8192, contextWindowTokens: 131072 },\n { id: \"kimi-k2-instruct\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"ernie-4.5-300b-a47b\", maxOutput: 8192, contextWindowTokens: 32000 },\n { id: \"ernie-4.5-21b-a3b\", maxOutput: 8192, contextWindowTokens: 120000 },\n { id: \"qwen3-8b\", maxOutput: 8192, contextWindowTokens: 131072 },\n { id: \"qwen3-14b\", maxOutput: 8192, contextWindowTokens: 131072 },\n { id: \"qwen3-32b\", maxOutput: 8192, contextWindowTokens: 131072 },\n { id: \"qwen3-30b-a3b\", maxOutput: 8192, contextWindowTokens: 131072 },\n { id: \"qwen3-235b-a22b\", maxOutput: 8192, contextWindowTokens: 131072 },\n { id: \"qwen2.5-vl-72b-instruct\", maxOutput: 4096, contextWindowTokens: 125000 },\n { id: \"qwen2.5-vl-32b-instruct\", maxOutput: 4096, contextWindowTokens: 125000 },\n { id: \"qwen2.5-vl-7b-instruct\", maxOutput: 4096, contextWindowTokens: 125000 },\n { id: \"qwq-32b\", maxOutput: 8192, contextWindowTokens: 32000 },\n { id: \"deepseek-v3\", maxOutput: 16384, contextWindowTokens: 131072 },\n { id: \"deepseek-r1\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"deepseek-r1-distill-qwen-32b\", maxOutput: 8192, contextWindowTokens: 32000 },\n { id: \"megrez-3b-instruct\", maxOutput: 4096, contextWindowTokens: 32000 },\n { id: \"qwen2.5-32b-instruct\", maxOutput: 4096, contextWindowTokens: 32768 },\n { id: \"qwen2.5-72b-instruct\", maxOutput: 4096, contextWindowTokens: 32768 },\n { id: \"qwen2.5-14b-instruct\", maxOutput: 4096, contextWindowTokens: 32768 },\n { id: \"qwen2.5-7b-instruct\", maxOutput: 4096, contextWindowTokens: 32768 },\n { id: \"qwen2.5-coder-32b-instruct\", maxOutput: 4096, contextWindowTokens: 32768 },\n { id: \"gpt-oss-120b\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"gpt-oss-20b\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"pro-deepseek-r1\", maxOutput: 32768, contextWindowTokens: 131072 },\n { id: \"pro-deepseek-v3\", maxOutput: 16384, contextWindowTokens: 131072 },\n ],\n};\n"}}, "inkos.json": {"928761f35d0602d4688c4ef458e821c4e03aa714": {"t": 1785746266.0033774, "n": 2099, "h": "e60578b4ad7a32a0", "c": "{\n \"name\": \"NoFusion\",\n \"version\": \"0.1.0\",\n \"language\": \"zh\",\n \"llm\": {\n \"provider\": \"openai\",\n \"service\": \"deepseek\",\n \"configSource\": \"studio\",\n \"proxyUrl\": \"http://127.0.0.1:7897\",\n \"baseUrl\": \"https://api.deepseek.com\",\n \"model\": \"deepseek-v4-flash\",\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"services\": [\n {\n \"service\": \"deepseek\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true\n },\n {\n \"service\": \"moonshot\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true\n },\n {\n \"service\": \"volcengine\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"extra\": {\n \"top_p\": 1,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0,\n \"repetition_penalty\": 1\n }\n },\n {\n \"service\": \"openai\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"extra\": {\n \"top_p\": 1,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0,\n \"repetition_penalty\": 1\n }\n },\n {\n \"service\": \"kimicode\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"extra\": {\n \"top_p\": 1,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0,\n \"repetition_penalty\": 1\n }\n }\n ],\n \"defaultModel\": \"gpt-5.5\",\n \"temperature\": 0.7,\n \"extra\": {\n \"top_p\": 1,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0,\n \"repetition_penalty\": 1\n }\n },\n \"notify\": [],\n \"inputGovernanceMode\": \"v2\",\n \"daemon\": {\n \"schedule\": {\n \"radarCron\": \"0 */6 * * *\",\n \"writeCron\": \"*/15 * * * *\"\n },\n \"maxConcurrentBooks\": 3\n },\n \"modelOverrides\": {\n \"writer\": \"deepseek-v4-flash\",\n \"planner\": \"deepseek-v4-flash\",\n \"auditor\": \"deepseek-v4-flash\",\n \"reviser\": \"deepseek-v4-flash\",\n \"detector\": \"deepseek-v4-flash\",\n \"architect\": \"deepseek-v4-flash\",\n \"style\": \"deepseek-v4-flash\"\n }\n}"}, "69e552e3c2286ca218af3a7e0dd85f6b02d8d1dd": {"t": 1785761285.3818858, "n": 2099, "h": "e60578b4ad7a32a0", "c": "{\n \"name\": \"NoFusion\",\n \"version\": \"0.1.0\",\n \"language\": \"zh\",\n \"llm\": {\n \"provider\": \"openai\",\n \"service\": \"deepseek\",\n \"configSource\": \"studio\",\n \"proxyUrl\": \"http://127.0.0.1:7897\",\n \"baseUrl\": \"https://api.deepseek.com\",\n \"model\": \"deepseek-v4-flash\",\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"services\": [\n {\n \"service\": \"deepseek\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true\n },\n {\n \"service\": \"moonshot\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true\n },\n {\n \"service\": \"volcengine\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"extra\": {\n \"top_p\": 1,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0,\n \"repetition_penalty\": 1\n }\n },\n {\n \"service\": \"openai\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"extra\": {\n \"top_p\": 1,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0,\n \"repetition_penalty\": 1\n }\n },\n {\n \"service\": \"kimicode\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"extra\": {\n \"top_p\": 1,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0,\n \"repetition_penalty\": 1\n }\n }\n ],\n \"defaultModel\": \"gpt-5.5\",\n \"temperature\": 0.7,\n \"extra\": {\n \"top_p\": 1,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0,\n \"repetition_penalty\": 1\n }\n },\n \"notify\": [],\n \"inputGovernanceMode\": \"v2\",\n \"daemon\": {\n \"schedule\": {\n \"radarCron\": \"0 */6 * * *\",\n \"writeCron\": \"*/15 * * * *\"\n },\n \"maxConcurrentBooks\": 3\n },\n \"modelOverrides\": {\n \"writer\": \"deepseek-v4-flash\",\n \"planner\": \"deepseek-v4-flash\",\n \"auditor\": \"deepseek-v4-flash\",\n \"reviser\": \"deepseek-v4-flash\",\n \"detector\": \"deepseek-v4-flash\",\n \"architect\": \"deepseek-v4-flash\",\n \"style\": \"deepseek-v4-flash\"\n }\n}"}, "9b1a389673d0e5c169ac6fd08fd17994e6959bf4": {"t": 1785761286.8776176, "n": 690, "h": "f9113d431ce3bcf2", "c": "{\n \"name\": \"NoFusion\",\n \"version\": \"0.1.0\",\n \"language\": \"zh\",\n \"llm\": {\n \"provider\": \"openai\",\n \"service\": \"deepseek\",\n \"configSource\": \"studio\",\n \"baseUrl\": \"https://api.deepseek.com\",\n \"model\": \"deepseek-v4-flash\",\n \"apiFormat\": \"chat\",\n \"stream\": true,\n \"services\": [\n {\n \"service\": \"deepseek\",\n \"temperature\": 0.7,\n \"apiFormat\": \"chat\",\n \"stream\": true\n }\n ],\n \"defaultModel\": \"deepseek-v4-flash\",\n \"temperature\": 0.7\n },\n \"notify\": [],\n \"inputGovernanceMode\": \"v2\",\n \"daemon\": {\n \"schedule\": {\n \"radarCron\": \"0 */6 * * *\",\n \"writeCron\": \"*/15 * * * *\"\n },\n \"maxConcurrentBooks\": 3\n }\n}"}}, "packages/core/src/llm/providers/endpoints/tencentcloud.ts": {"928761f35d0602d4688c4ef458e821c4e03aa714": {"t": 1785809888.8914266, "n": 827, "h": "f0e4cad3b779eaf6", "c": "/**\n * 腾讯云 TI-ONE / LKE\n *\n * - 官网:https://cloud.tencent.com/product/lkeap\n * - 控制台 / API key:https://console.cloud.tencent.com/lkeap/api\n * - API 文档:https://cloud.tencent.com/document/product/1772\n */\nimport type { InkosEndpoint } from \"../types.js\";\n\nexport const TENCENTCLOUD: InkosEndpoint = {\n id: \"tencentcloud\",\n label: \"腾讯云 (lkeap)\",\n group: \"china\",\n api: \"openai-completions\",\n baseUrl: \"https://api.lkeap.cloud.tencent.com/v1\",\n checkModel: \"deepseek-v3\",\n temperatureRange: [0, 2],\n defaultTemperature: 0.7,\n writingTemperature: 1,\n models: [\n { id: \"deepseek-r1\", maxOutput: 16000, contextWindowTokens: 65536, enabled: true },\n { id: \"deepseek-v3-0324\", maxOutput: 16000, contextWindowTokens: 65536, enabled: true },\n { id: \"deepseek-v3\", maxOutput: 16000, contextWindowTokens: 65536 },\n ],\n};\n"}}}}