Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbbf80ea6d |
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: opencode-issue-fix
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
opencode-issue-fix:
|
||||
if: github.repository == 'anomalyco/models.dev'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
issues: read
|
||||
pull-requests: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
|
||||
- name: Run opencode
|
||||
uses: anomalyco/opencode/github@2c14fc5586fe0b88e5c04732d2e846769cc35671 # latest
|
||||
env:
|
||||
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
||||
OPENCODE_PERMISSION: '{"bash": "deny"}'
|
||||
with:
|
||||
model: opencode/claude-opus-4-5
|
||||
prompt: |
|
||||
Fix the issue that was just opened.
|
||||
|
||||
Requirements:
|
||||
- Implement the smallest correct change that addresses the issue.
|
||||
- Do not use the bash/shell tool. The workflow denies it; use file read/edit tools instead.
|
||||
- If there is not enough information to make a safe fix, explain what is missing instead of making speculative changes.
|
||||
|
||||
The GitHub Action will create a pull request if you modify files.
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "Gemini 2.5 Flash"
|
||||
family = "gemini-flash"
|
||||
release_date = "2025-06-17"
|
||||
last_updated = "2025-06-17"
|
||||
release_date = "2025-03-20"
|
||||
last_updated = "2025-06-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "Gemini 2.5 Pro"
|
||||
family = "gemini-pro"
|
||||
release_date = "2025-06-17"
|
||||
last_updated = "2025-06-17"
|
||||
release_date = "2025-03-20"
|
||||
last_updated = "2025-06-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "Mistral Large 2.1"
|
||||
family = "mistral-large"
|
||||
release_date = "2024-11-18"
|
||||
last_updated = "2024-11-18"
|
||||
release_date = "2024-11-01"
|
||||
last_updated = "2024-11-04"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name = "Kimi K2.5"
|
||||
family = "kimi-k2"
|
||||
family = "kimi-k2.5"
|
||||
release_date = "2026-01"
|
||||
last_updated = "2026-01"
|
||||
attachment = false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name = "Kimi K2.6"
|
||||
family = "kimi-k2"
|
||||
family = "kimi-k2.6"
|
||||
release_date = "2026-04-21"
|
||||
last_updated = "2026-04-21"
|
||||
attachment = true
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "Kimi K2.7 Code"
|
||||
family = "kimi-k2"
|
||||
release_date = "2026-06-12"
|
||||
last_updated = "2026-06-12"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/moonshotai/Kimi-K2.7-Code"
|
||||
@@ -0,0 +1,17 @@
|
||||
name = "Aion 2.0"
|
||||
family = "o"
|
||||
release_date = "2026-03-24"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Trinity Large Thinking"
|
||||
family = "trinity"
|
||||
release_date = "2026-04-02"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256000
|
||||
output = 65536
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/arcee-ai/Trinity-Large-Thinking-FP8-Block"
|
||||
+9
-13
@@ -1,26 +1,22 @@
|
||||
name = "DeepSeek V3.2"
|
||||
family = "deepseek"
|
||||
release_date = "2025-12-03"
|
||||
last_updated = "2025-12-05"
|
||||
release_date = "2025-12-04"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
knowledge = "2025-10"
|
||||
open_weights = true
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "toggle"
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 65_536
|
||||
context = 160000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/deepseek-ai/DeepSeek-V3.2"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Gemma 3 27B"
|
||||
family = "gemma"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 40000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/google/gemma-3-27b-it"
|
||||
+7
-10
@@ -1,20 +1,17 @@
|
||||
name = "Wan2.7 Image"
|
||||
release_date = "2026-05-29"
|
||||
last_updated = "2026-05-29"
|
||||
name = "Gemma 4 26B A4B Uncensored"
|
||||
family = "gemma"
|
||||
release_date = "2026-05-24"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 8_192
|
||||
output = 0
|
||||
context = 64_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Gemma 4 31B Instruct"
|
||||
family = "gemma"
|
||||
release_date = "2026-05-20"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 32000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/google/gemma-4-31B-it"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "GPT OSS 120B"
|
||||
family = "gpt-oss"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/openai/gpt-oss-120b"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "GPT OSS 20B"
|
||||
family = "gpt-oss"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/openai/gpt-oss-20b"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Qwen 2.5 7B"
|
||||
family = "qwen"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 32000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen2.5-7B-Instruct"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Qwen3 30B A3B"
|
||||
family = "qwen"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
tool_call = true
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-30B-A3B-Instruct-2507"
|
||||
@@ -0,0 +1,17 @@
|
||||
name = "Qwen3.6 35B A3B Uncensored"
|
||||
family = "qwen3.6"
|
||||
release_date = "2026-05-24"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Qwen 3.6 35B A3B FP8"
|
||||
family = "qwen"
|
||||
release_date = "2026-05-20"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 32_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3.6-35B-A3B-FP8"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Qwen3 VL 30B A3B"
|
||||
family = "qwen"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
tool_call = true
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-VL-30B-A3B-Instruct"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Venice Uncensored 1.1"
|
||||
family = "venice"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 32000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/cognitivecomputations/Dolphin-Mistral-24B-Venice-Edition"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Gemma 4 Uncensored"
|
||||
family = "gemma"
|
||||
release_date = "2026-04-13"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Jiunsong/supergemma4-26b-uncensored-gguf-v2"
|
||||
@@ -0,0 +1,22 @@
|
||||
name = "Google Gemma 3 27B Instruct"
|
||||
family = "gemma"
|
||||
release_date = "2025-11-04"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 198_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/google/gemma-3-27b-it"
|
||||
@@ -0,0 +1,18 @@
|
||||
name = "Grok 4.20 Multi-Agent"
|
||||
family = "grok"
|
||||
release_date = "2026-03-12"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 2_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,18 @@
|
||||
name = "Grok 4.20"
|
||||
family = "grok"
|
||||
release_date = "2026-03-12"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 2000000
|
||||
output = 128000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Hermes 3 Llama 3.1 405b"
|
||||
family = "hermes"
|
||||
release_date = "2025-09-25"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
knowledge = "2024-04"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-405B"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Llama 3.2 3B"
|
||||
family = "llama"
|
||||
release_date = "2024-10-03"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2023-12"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/meta-llama/Llama-3.2-3B"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Llama 3.3 70B"
|
||||
family = "llama"
|
||||
release_date = "2025-04-06"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2023-12"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct"
|
||||
@@ -1,17 +1,17 @@
|
||||
name = "GLM-5.2"
|
||||
family = "glm"
|
||||
release_date = "2026-06-13"
|
||||
last_updated = "2026-06-13"
|
||||
name = "Mercury 2"
|
||||
family = "mercury"
|
||||
release_date = "2026-02-20"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 131_072
|
||||
context = 128000
|
||||
output = 50000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Mistral Small 3.2 24B Instruct"
|
||||
family = "mistral-small"
|
||||
release_date = "2026-01-15"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "GLM 4.7 Flash Heretic"
|
||||
family = "glm"
|
||||
release_date = "2026-02-04"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 24_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Olafangensan/GLM-4.7-Flash-heretic"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "OpenAI GPT OSS 120B"
|
||||
family = "gpt-oss"
|
||||
release_date = "2025-11-06"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
temperature = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 16384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/openai/gpt-oss-120b"
|
||||
@@ -0,0 +1,22 @@
|
||||
name = "Qwen 3 235B A22B Instruct 2507"
|
||||
family = "qwen"
|
||||
release_date = "2025-04-29"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-235B-A22B-Instruct-2507-FP8"
|
||||
@@ -0,0 +1,22 @@
|
||||
name = "Qwen 3 235B A22B Thinking 2507"
|
||||
family = "qwen"
|
||||
release_date = "2025-04-29"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-235B-A22B-Thinking-2507-FP8"
|
||||
@@ -1,23 +1,21 @@
|
||||
name = "Qwen3.5 9B"
|
||||
name = "Qwen 3.5 9B"
|
||||
family = "qwen"
|
||||
release_date = "2026-03-03"
|
||||
last_updated = "2026-03-03"
|
||||
release_date = "2026-03-05"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.17
|
||||
output = 0.25
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 65_536
|
||||
context = 256_000
|
||||
output = 32_768
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3.5-9B"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Qwen 3 Coder 480B Turbo"
|
||||
family = "qwen"
|
||||
release_date = "2026-01-27"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 65_536
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo"
|
||||
@@ -0,0 +1,22 @@
|
||||
name = "Qwen 3 Next 80b"
|
||||
family = "qwen"
|
||||
release_date = "2025-04-29"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-Next-80B-A3B-Instruct"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Qwen3 VL 235B"
|
||||
family = "qwen3.5"
|
||||
release_date = "2026-01-16"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-VL-235B-A22B-Instruct"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Venice Uncensored 1.2"
|
||||
family = "venice"
|
||||
release_date = "2026-04-01"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/cognitivecomputations/Dolphin-Mistral-24B-Venice-Edition"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Venice Role Play Uncensored"
|
||||
family = "venice"
|
||||
release_date = "2026-02-20"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/dphnAI/24B-3.2-RP-K2-final"
|
||||
@@ -13,7 +13,7 @@ import { z } from "zod";
|
||||
import path from "node:path";
|
||||
import { existsSync, readFileSync } from "node:fs";
|
||||
import { mkdir } from "node:fs/promises";
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../src/family.js";
|
||||
import { ModelFamilyValues } from "../src/family.js";
|
||||
|
||||
const API_ENDPOINT = "https://llm.chutes.ai/v1/models";
|
||||
const MODEL_METADATA_DIR = path.join(import.meta.dirname, "..", "..", "..", "models");
|
||||
@@ -261,9 +261,6 @@ function matchesFamily(target: string, family: string): boolean {
|
||||
}
|
||||
|
||||
function inferFamily(modelId: string, modelName: string): string | undefined {
|
||||
const kimiFamily = inferKimiFamily(modelId, modelName);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const sortedFamilies = [...ModelFamilyValues].sort((a, b) => b.length - a.length);
|
||||
|
||||
// First pass: try exact substring matches
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
import { z } from "zod";
|
||||
import path from "node:path";
|
||||
import { mkdir } from "node:fs/promises";
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../src/family.js";
|
||||
import { ModelFamilyValues } from "../src/family.js";
|
||||
|
||||
const MODELS_API = "https://api.digitalocean.com/v2/gen-ai/models";
|
||||
const PRICING_API = "https://www.digitalocean.com/api/static-content/v1/products";
|
||||
@@ -142,7 +142,7 @@ const PRICING_NAME_MAP: Record<string, string> = {
|
||||
// DO-hosted
|
||||
"qwen3-32b": "alibaba-qwen3-32b",
|
||||
"minimax m2.5 (public preview)": "minimax-m2.5",
|
||||
"kimi k2.5": "kimi-k2",
|
||||
"kimi k2.5": "kimi-k2.5",
|
||||
"nvidia nemotron 3 super 120b (public preview)": "nvidia-nemotron-3-super-120b",
|
||||
"glm 5": "glm-5",
|
||||
};
|
||||
@@ -311,9 +311,6 @@ function formatNumber(n: number): string {
|
||||
}
|
||||
|
||||
function inferFamily(modelId: string, modelName: string): string | undefined {
|
||||
const kimiFamily = inferKimiFamily(modelId, modelName);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const sorted = [...ModelFamilyValues].sort((a, b) => b.length - a.length);
|
||||
const targets = [modelId.toLowerCase(), modelName.toLowerCase()];
|
||||
for (const family of sorted) {
|
||||
|
||||
@@ -4,8 +4,6 @@ import { mkdir } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { z } from "zod";
|
||||
|
||||
import { inferKimiFamily } from "../src/family.js";
|
||||
|
||||
// Friendli API endpoint
|
||||
const API_ENDPOINT = "https://api.friendli.ai/serverless/v1/models";
|
||||
|
||||
@@ -55,9 +53,6 @@ const familyPatterns: [RegExp, string][] = [
|
||||
];
|
||||
|
||||
function inferFamily(modelId: string, modelName: string): string | undefined {
|
||||
const kimiFamily = inferKimiFamily(modelId, modelName);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
for (const [pattern, family] of familyPatterns) {
|
||||
if (pattern.test(modelId) || pattern.test(modelName)) {
|
||||
return family;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import path from "node:path";
|
||||
import { mkdir } from "node:fs/promises";
|
||||
import { z } from "zod";
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../src/family.js";
|
||||
import { ModelFamilyValues } from "../src/family.js";
|
||||
|
||||
const API_ENDPOINT = "https://trace.wandb.ai/inference/analysis/artificialanalysis/models";
|
||||
|
||||
@@ -176,9 +176,6 @@ function matchesFamily(target: string, family: string): boolean {
|
||||
}
|
||||
|
||||
function inferFamily(modelId: string, modelName: string): string | undefined {
|
||||
const kimiFamily = inferKimiFamily(modelId, modelName);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const sortedFamilies = [...ModelFamilyValues].sort((a, b) => b.length - a.length);
|
||||
|
||||
for (const family of sortedFamilies) {
|
||||
|
||||
@@ -66,7 +66,8 @@ export const ModelFamilyValues = [
|
||||
|
||||
// Moonshot Kimi
|
||||
"kimi",
|
||||
"kimi-k2",
|
||||
"kimi-k2.5",
|
||||
"kimi-k2.6",
|
||||
"kimi-free",
|
||||
"kimi-thinking",
|
||||
|
||||
@@ -422,10 +423,3 @@ export const ModelFamilyValues = [
|
||||
|
||||
export const ModelFamily = z.enum(ModelFamilyValues);
|
||||
export type ModelFamily = z.infer<typeof ModelFamily>;
|
||||
|
||||
export function inferKimiFamily(...values: string[]): ModelFamily | undefined {
|
||||
const target = values.join(" ").toLowerCase();
|
||||
if (/kimi[^a-z0-9]*k2(?:[^a-z0-9]*\d+)?[^a-z0-9]*thinking/.test(target)) return "kimi-thinking";
|
||||
if (/kimi[\s_-]*k2/.test(target)) return "kimi-k2";
|
||||
return undefined;
|
||||
}
|
||||
@@ -51,7 +51,6 @@ export interface SyncProvider<SourceModel> {
|
||||
skipCreates?: boolean;
|
||||
deleteMissing?: boolean;
|
||||
preserveSymlinks?: boolean;
|
||||
preserveBaseModels?: boolean;
|
||||
sameModel?(current: ExistingModel, desired: SyncedModel): boolean;
|
||||
missingNotice?(paths: string[]): string[];
|
||||
sourceID?(model: SourceModel): string;
|
||||
@@ -119,9 +118,7 @@ export async function syncProvider<SourceModel>(
|
||||
): Promise<SyncResult> {
|
||||
console.log(`\nSyncing ${provider.name}...`);
|
||||
|
||||
const existingState = await readExisting(provider.modelsDir);
|
||||
const { models: existing, brokenSymlinks } = existingState;
|
||||
let { modelMetadata } = existingState;
|
||||
const { models: existing, brokenSymlinks } = await readExisting(provider.modelsDir);
|
||||
const sourceModels = provider.parseModels(await provider.fetchModels());
|
||||
const desired = new Map<string, { model: z.infer<typeof SyncedAuthoredModel>; content: string }>();
|
||||
const desiredMetadata = new Map<string, { model: z.infer<typeof ModelMetadata>; content: string }>();
|
||||
@@ -165,28 +162,11 @@ export async function syncProvider<SourceModel>(
|
||||
});
|
||||
}
|
||||
|
||||
const translatedModel = provider.preserveBaseModels === false
|
||||
? translated.model
|
||||
: preserveBaseModel(translated.model, existing.get(relativePath)?.authored);
|
||||
const translatedBase = "base_model" in translatedModel ? translatedModel.base_model : undefined;
|
||||
let resolvedReasoning: boolean | undefined;
|
||||
if (translatedBase !== undefined) {
|
||||
if (translated.metadata?.id === translatedBase) {
|
||||
resolvedReasoning = translated.metadata.model.reasoning;
|
||||
} else {
|
||||
modelMetadata ??= await readModelMetadata(provider.modelsDir);
|
||||
const canonicalReasoning = modelMetadata[translatedBase]?.reasoning;
|
||||
resolvedReasoning = typeof canonicalReasoning === "boolean" ? canonicalReasoning : undefined;
|
||||
}
|
||||
} else {
|
||||
resolvedReasoning = existing.get(relativePath)?.toml.reasoning;
|
||||
}
|
||||
const parsed = SyncedAuthoredModel.safeParse(stripUndefined({
|
||||
id: translated.id,
|
||||
...preserveReasoningOptions(
|
||||
translatedModel,
|
||||
preserveBaseModel(translated.model, existing.get(relativePath)?.authored),
|
||||
existing.get(relativePath)?.authored,
|
||||
resolvedReasoning,
|
||||
),
|
||||
}));
|
||||
if (!parsed.success) {
|
||||
@@ -336,12 +316,7 @@ export function preserveBaseModel(model: SyncedModel, existing: ExistingModel |
|
||||
export function preserveReasoningOptions(
|
||||
model: SyncedModel,
|
||||
existing: ExistingModel | undefined,
|
||||
resolvedReasoning: boolean | undefined = existing?.reasoning,
|
||||
): SyncedModel {
|
||||
if ((model.reasoning ?? resolvedReasoning) === false) {
|
||||
const { reasoning_options: _reasoningOptions, ...withoutReasoningOptions } = model;
|
||||
return withoutReasoningOptions as SyncedModel;
|
||||
}
|
||||
if (model.reasoning_options !== undefined || existing?.reasoning_options === undefined) return model;
|
||||
return {
|
||||
...model,
|
||||
@@ -414,7 +389,7 @@ async function readExisting(modelsDir: string) {
|
||||
existing.set(file, { authored, toml, symlink });
|
||||
}
|
||||
|
||||
return { models: existing, brokenSymlinks, modelMetadata };
|
||||
return { models: existing, brokenSymlinks };
|
||||
}
|
||||
|
||||
async function isSymlink(filePath: string) {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { z } from "zod";
|
||||
import { readFileSync, readdirSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../../family.js";
|
||||
import { ModelFamilyValues } from "../../family.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedFullModel, SyncedModel } from "../index.js";
|
||||
|
||||
const API_ENDPOINT = "https://openrouter.ai/api/v1/models";
|
||||
@@ -113,9 +113,6 @@ function modalities(values: string[], fallback: Modality[]): Modality[] {
|
||||
}
|
||||
|
||||
function inferFamily(model: OpenRouterModel, name: string) {
|
||||
const kimiFamily = inferKimiFamily(model.id, name);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const target = `${model.id} ${name}`.toLowerCase();
|
||||
return [...ModelFamilyValues]
|
||||
.sort((a, b) => b.length - a.length)
|
||||
|
||||
@@ -121,7 +121,6 @@ export function buildOvhcloudModel(
|
||||
last_updated: lastUpdated,
|
||||
attachment,
|
||||
reasoning,
|
||||
reasoning_options: reasoning ? existing?.reasoning_options : undefined,
|
||||
temperature: temperature || undefined,
|
||||
tool_call: toolCall,
|
||||
structured_output: structuredOutput || undefined,
|
||||
|
||||
@@ -2,8 +2,8 @@ import { readdirSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
import { z } from "zod";
|
||||
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../../family.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedFullModel, SyncedModel } from "../index.js";
|
||||
import { ModelFamilyValues } from "../../family.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedFullModel, SyncedMetadata, SyncedModel } from "../index.js";
|
||||
import { factorBaseModel } from "./openrouter.js";
|
||||
|
||||
const API_ENDPOINT = "https://api.venice.ai/api/v1/models?type=text";
|
||||
@@ -11,7 +11,6 @@ const MODELS_DIR = path.join(import.meta.dirname, "..", "..", "..", "..", "..",
|
||||
|
||||
const Capabilities = z.object({
|
||||
supportsAudioInput: z.boolean().optional(),
|
||||
supportsE2EE: z.boolean().optional(),
|
||||
supportsFunctionCalling: z.boolean().optional(),
|
||||
supportsReasoning: z.boolean().optional(),
|
||||
supportsReasoningEffort: z.boolean().optional(),
|
||||
@@ -83,7 +82,7 @@ export const venice = {
|
||||
id: "venice",
|
||||
name: "Venice",
|
||||
modelsDir: "providers/venice/models",
|
||||
preserveBaseModels: false,
|
||||
metadataNamespace: "venice",
|
||||
async fetchModels() {
|
||||
const headers = process.env.VENICE_API_KEY
|
||||
? { Authorization: `Bearer ${process.env.VENICE_API_KEY}` }
|
||||
@@ -98,14 +97,20 @@ export const venice = {
|
||||
return VeniceResponse.parse(raw).data;
|
||||
},
|
||||
translateModel(model, context) {
|
||||
if (model.model_spec.capabilities.supportsE2EE === true) return undefined;
|
||||
const id = model.id.replaceAll("/", "-");
|
||||
const existing = context.existing(id);
|
||||
const existingBase = existing?.base_model?.startsWith("venice/") === false ? existing.base_model : undefined;
|
||||
const resolvedBase = existingBase ?? resolveVeniceBaseModel(model.id, model.model_spec.name);
|
||||
const resolvedBase = existing?.base_model ?? resolveVeniceBaseModel(model.id, model.model_spec.name);
|
||||
const baseModel = resolvedBase ?? `venice/${id}`;
|
||||
const full = buildVeniceModel(model, existing, null);
|
||||
const metadata = baseModel.startsWith("venice/")
|
||||
? { id: baseModel, model: buildVeniceMetadata(full, model.model_spec.modelSource) }
|
||||
: undefined;
|
||||
return {
|
||||
id,
|
||||
model: buildVeniceModel(model, existing, resolvedBase ?? null),
|
||||
model: resolvedBase === undefined
|
||||
? factorNewMetadata(baseModel, full)
|
||||
: buildVeniceModel(model, existing, baseModel),
|
||||
metadata,
|
||||
};
|
||||
},
|
||||
} satisfies SyncProvider<VeniceModel>;
|
||||
@@ -161,17 +166,20 @@ export function buildVeniceModel(
|
||||
reasoning_options: reasoningOptions,
|
||||
tool_call: capabilities.supportsFunctionCalling === true,
|
||||
structured_output: capabilities.supportsResponseSchema === true ? true : undefined,
|
||||
temperature: undefined,
|
||||
temperature: true,
|
||||
cost,
|
||||
limit,
|
||||
modalities: { input: [...new Set(input)], output: ["text" as const] },
|
||||
};
|
||||
const changed = existing !== undefined && Object.entries(authoritative).some(([key, value]) => {
|
||||
return stable(value) !== stable(existing[key as keyof ExistingModel]);
|
||||
});
|
||||
const releaseDate = new Date(model.created * 1000).toISOString().slice(0, 10);
|
||||
const values: SyncedFullModel = {
|
||||
...authoritative,
|
||||
family: baseModel == null ? inferFamily(model.id, spec.name) ?? existing?.family : existing?.family,
|
||||
release_date: releaseDate,
|
||||
last_updated: existing?.last_updated ?? today,
|
||||
last_updated: existing === undefined || changed ? today : (existing.last_updated ?? today),
|
||||
knowledge: existing?.knowledge,
|
||||
open_weights: spec.modelSource?.toLowerCase().includes("huggingface")
|
||||
?? existing?.open_weights
|
||||
@@ -227,9 +235,6 @@ function isReasoningEffort(value: string): value is ReasoningEffort {
|
||||
}
|
||||
|
||||
function inferFamily(id: string, name: string) {
|
||||
const kimiFamily = inferKimiFamily(id, name);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const target = `${id} ${name}`.toLowerCase();
|
||||
return [...ModelFamilyValues]
|
||||
.sort((a, b) => b.length - a.length)
|
||||
@@ -239,3 +244,37 @@ function inferFamily(id: string, name: string) {
|
||||
return new RegExp(`(^|[^a-z0-9])${value}(?=$|[^a-z0-9])`).test(target);
|
||||
});
|
||||
}
|
||||
|
||||
function buildVeniceMetadata(model: SyncedModel, source: string | undefined): SyncedMetadata {
|
||||
if ("base_model" in model) throw new Error("Cannot build Venice metadata from a factored model");
|
||||
const { cost: _cost, reasoning_options: _reasoningOptions, interleaved: _interleaved, status: _status, ...metadata } = model;
|
||||
return {
|
||||
...metadata,
|
||||
weights: model.open_weights && source?.startsWith("https://huggingface.co/")
|
||||
? [{ url: source }]
|
||||
: undefined,
|
||||
};
|
||||
}
|
||||
|
||||
function factorNewMetadata(baseModel: string, model: SyncedModel): SyncedModel {
|
||||
if ("base_model" in model) return model;
|
||||
return {
|
||||
base_model: baseModel,
|
||||
reasoning_options: model.reasoning_options,
|
||||
cost: model.cost,
|
||||
status: model.status,
|
||||
interleaved: model.interleaved,
|
||||
};
|
||||
}
|
||||
|
||||
function stable(value: unknown): string {
|
||||
if (Array.isArray(value)) return `[${value.map(stable).sort().join(",")}]`;
|
||||
if (value !== null && typeof value === "object") {
|
||||
return `{${Object.entries(value)
|
||||
.filter(([, item]) => item !== undefined)
|
||||
.sort(([a], [b]) => a.localeCompare(b))
|
||||
.map(([key, item]) => `${key}:${stable(item)}`)
|
||||
.join(",")}}`;
|
||||
}
|
||||
return JSON.stringify(value);
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import { z } from "zod";
|
||||
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../../family.js";
|
||||
import { ModelFamilyValues } from "../../family.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedFullModel, SyncedModel } from "../index.js";
|
||||
import { factorBaseModel, resolveCanonicalBaseModel } from "./openrouter.js";
|
||||
|
||||
@@ -153,9 +153,6 @@ function buildCost(pricing: VercelModel["pricing"], existing?: ExistingModel["co
|
||||
}
|
||||
|
||||
function inferFamily(modelID: string, name: string) {
|
||||
const kimiFamily = inferKimiFamily(modelID, name);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const targets = [modelID, name].map((value) => value.toLowerCase());
|
||||
const families = [...ModelFamilyValues].sort((a, b) => b.length - a.length);
|
||||
return families.find((family) => targets.some((target) => target.includes(family.toLowerCase())))
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
import { inferKimiFamily } from "../src/family.js";
|
||||
|
||||
test("Kimi family inference ignores K2 versions", () => {
|
||||
expect(inferKimiFamily("moonshotai/kimi-k2.5")).toBe("kimi-k2");
|
||||
expect(inferKimiFamily("moonshotai/kimi-k2.7-code")).toBe("kimi-k2");
|
||||
expect(inferKimiFamily("Kimi K2.6")).toBe("kimi-k2");
|
||||
});
|
||||
|
||||
test("Kimi family inference preserves thinking variants", () => {
|
||||
expect(inferKimiFamily("moonshotai/kimi-k2-thinking")).toBe("kimi-thinking");
|
||||
expect(inferKimiFamily("Kimi K2.5 Thinking")).toBe("kimi-thinking");
|
||||
expect(inferKimiFamily("moonshotai/kimi-k2.6:thinking")).toBe("kimi-thinking");
|
||||
});
|
||||
@@ -5,7 +5,6 @@ import path from "node:path";
|
||||
import {
|
||||
buildVeniceModel,
|
||||
resolveVeniceBaseModel,
|
||||
venice,
|
||||
VeniceResponse,
|
||||
type VeniceModel,
|
||||
} from "../src/sync/providers/venice.js";
|
||||
@@ -62,25 +61,6 @@ test("Venice emits empty reasoning options when efforts are unavailable", () =>
|
||||
expect(synced).toMatchObject({ reasoning: true, reasoning_options: [] });
|
||||
});
|
||||
|
||||
test("Venice does not infer temperature support", () => {
|
||||
const synced = buildVeniceModel(catalogModel, undefined, null, "2026-06-10");
|
||||
|
||||
expect(synced.temperature).toBeUndefined();
|
||||
});
|
||||
|
||||
test("Venice skips E2EE models", () => {
|
||||
const translated = venice.translateModel({
|
||||
...catalogModel,
|
||||
id: "e2ee-test-model",
|
||||
model_spec: {
|
||||
...catalogModel.model_spec,
|
||||
capabilities: { ...catalogModel.model_spec.capabilities, supportsE2EE: true },
|
||||
},
|
||||
}, { existing: () => undefined });
|
||||
|
||||
expect(translated).toBeUndefined();
|
||||
});
|
||||
|
||||
test("Venice uses boundary-aware family matching", () => {
|
||||
const synced = buildVeniceModel({
|
||||
...catalogModel,
|
||||
@@ -91,7 +71,7 @@ test("Venice uses boundary-aware family matching", () => {
|
||||
expect(synced).toMatchObject({ family: "gemma" });
|
||||
});
|
||||
|
||||
test("Venice maps API fields without bumping inherited model timestamps", () => {
|
||||
test("Venice maps API fields and keeps inherited models compact", () => {
|
||||
const synced = buildVeniceModel(catalogModel, {
|
||||
base_model: "openai/gpt-5.4",
|
||||
name: "GPT-5.4",
|
||||
@@ -113,7 +93,7 @@ test("Venice maps API fields without bumping inherited model timestamps", () =>
|
||||
expect(synced).toMatchObject({
|
||||
base_model: "openai/gpt-5.4",
|
||||
base_model_omit: ["limit.input"],
|
||||
last_updated: "2026-03-09",
|
||||
last_updated: "2026-06-10",
|
||||
reasoning_options: [{ type: "effort", values: ["none", "low", "medium", "high"] }],
|
||||
interleaved: { field: "reasoning_content" },
|
||||
cost: {
|
||||
@@ -128,7 +108,6 @@ test("Venice maps API fields without bumping inherited model timestamps", () =>
|
||||
expect(synced).not.toHaveProperty("release_date");
|
||||
expect(synced).not.toHaveProperty("open_weights");
|
||||
expect(synced).not.toHaveProperty("modalities");
|
||||
expect(synced).not.toHaveProperty("temperature");
|
||||
});
|
||||
|
||||
test("Venice preserves last_updated when authoritative data is unchanged", () => {
|
||||
@@ -148,7 +127,7 @@ test("Venice rejects malformed responses", () => {
|
||||
expect(() => VeniceResponse.parse({ data: [{ id: "broken" }] })).toThrow();
|
||||
});
|
||||
|
||||
test("Venice models use only canonical metadata and declare reasoning options", async () => {
|
||||
test("all Venice models use metadata inheritance and declare reasoning options", async () => {
|
||||
const root = path.join(import.meta.dirname, "..", "..", "..");
|
||||
const modelsDir = path.join(root, "providers", "venice", "models");
|
||||
|
||||
@@ -157,11 +136,8 @@ test("Venice models use only canonical metadata and declare reasoning options",
|
||||
base_model?: string;
|
||||
reasoning_options?: unknown[];
|
||||
};
|
||||
expect(model.base_model, file).toBeDefined();
|
||||
expect(model.reasoning_options, file).toBeDefined();
|
||||
if (model.base_model !== undefined) {
|
||||
expect(model.base_model.startsWith("venice/"), file).toBe(false);
|
||||
expect(await Bun.file(path.join(root, "models", `${model.base_model}.toml`)).exists(), file).toBe(true);
|
||||
}
|
||||
expect(file.startsWith("e2ee-"), file).toBe(false);
|
||||
expect(await Bun.file(path.join(root, "models", `${model.base_model}.toml`)).exists(), file).toBe(true);
|
||||
}
|
||||
});
|
||||
@@ -4,7 +4,6 @@ release_date = "2024-11-28"
|
||||
last_updated = "2024-11-28"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-07-01"
|
||||
last_updated = "2025-07-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-04-29"
|
||||
last_updated = "2025-04-29"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-07-22"
|
||||
last_updated = "2025-07-22"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-02-19"
|
||||
last_updated = "2025-02-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2024-10-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-10-15"
|
||||
last_updated = "2025-10-15"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-02-28"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-08-05"
|
||||
last_updated = "2025-08-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-05-14"
|
||||
last_updated = "2025-05-14"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-11-01"
|
||||
last_updated = "2025-11-01"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-05"
|
||||
last_updated = "2026-02-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-05-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-05-14"
|
||||
last_updated = "2025-05-14"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-09-29"
|
||||
last_updated = "2025-09-29"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-07-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-17"
|
||||
last_updated = "2026-02-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-01-20"
|
||||
last_updated = "2025-01-20"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-06-01"
|
||||
last_updated = "2025-06-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-06-15"
|
||||
last_updated = "2025-06-15"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-01-20"
|
||||
last_updated = "2025-01-20"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-03-20"
|
||||
last_updated = "2025-06-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-03-25"
|
||||
last_updated = "2025-03-25"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-12-17"
|
||||
last_updated = "2025-12-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-03-01"
|
||||
last_updated = "2026-03-01"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-19"
|
||||
last_updated = "2026-02-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-09-15"
|
||||
last_updated = "2025-09-15"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-08-07"
|
||||
last_updated = "2025-08-07"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-05-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-08-07"
|
||||
last_updated = "2025-08-07"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-05-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-11-13"
|
||||
last_updated = "2025-11-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-11-13"
|
||||
last_updated = "2025-11-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-11-13"
|
||||
last_updated = "2025-11-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-11-13"
|
||||
last_updated = "2025-11-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-01-01"
|
||||
last_updated = "2026-01-01"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-12-11"
|
||||
last_updated = "2025-12-11"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-12-11"
|
||||
last_updated = "2025-12-11"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-03-01"
|
||||
last_updated = "2026-03-01"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-05"
|
||||
last_updated = "2026-02-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-05"
|
||||
last_updated = "2026-02-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-03-05"
|
||||
last_updated = "2026-03-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-08-07"
|
||||
last_updated = "2025-08-07"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-07-09"
|
||||
last_updated = "2025-07-09"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name = "Kimi K2 Turbo Preview"
|
||||
family = "kimi-k2"
|
||||
family = "kimi"
|
||||
release_date = "2025-07-08"
|
||||
last_updated = "2025-07-08"
|
||||
attachment = false
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
name = "Kimi K2.5"
|
||||
family = "kimi-k2"
|
||||
family = "kimi"
|
||||
release_date = "2026-01"
|
||||
last_updated = "2026-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
structured_output = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2024-12-20"
|
||||
last_updated = "2025-01-29"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-06-10"
|
||||
last_updated = "2025-06-10"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-04-16"
|
||||
last_updated = "2025-04-16"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-04-16"
|
||||
last_updated = "2025-04-16"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-08-05"
|
||||
last_updated = "2025-08-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-05-28"
|
||||
last_updated = "2025-05-28"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-07-28"
|
||||
last_updated = "2025-07-28"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-11"
|
||||
last_updated = "2026-02-11"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
Loaded 100 of 1180 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user