@anolilab/ai-model-registry 3.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/MIGRATION.md +1 -2
- package/dist/index.js +1 -1
- package/dist/packem_shared/aihubmix-CjuksD_A.js +212 -0
- package/dist/packem_shared/{alibaba-BczikKWI.js → alibaba-KCpNTbPH.js} +1 -1
- package/dist/packem_shared/{amazon-bedrock-C584HIOL.js → amazon-bedrock-BEpdRaRK.js} +1 -1
- package/dist/packem_shared/anthropic-D5m7WwK5.js +2 -0
- package/dist/packem_shared/{azure-open-ai-BqW8n-GM.js → azure-open-ai-C6QP5dSw.js} +1 -1
- package/dist/packem_shared/cerebras-BjaINteN.js +1 -0
- package/dist/packem_shared/chutes-DJskRgMs.js +3 -0
- package/dist/packem_shared/cloudflare-Dj-UZyvF.js +3 -0
- package/dist/packem_shared/{deep-infra-Daj9AHXE.js → deep-infra-fEe-1b_K.js} +1 -1
- package/dist/packem_shared/{deep-seek-CuNF-oPX.js → deep-seek-CWqPVvJA.js} +1 -1
- package/dist/packem_shared/fireworks-ai-M5AZBJ-l.js +1 -0
- package/dist/packem_shared/git-hub-copilot-B0xJ4jvl.js +1 -0
- package/dist/packem_shared/{git-hub-models-DLQPOq8_.js → git-hub-models-Cyf4N1hP.js} +1 -1
- package/dist/packem_shared/{google-C3fyd2WP.js → google-CF3J5A9V.js} +1 -1
- package/dist/packem_shared/google-partner-DV4aTl-d.js +1 -0
- package/dist/packem_shared/{groq-DzoEEDv2.js → groq-BiW3tuc8.js} +1 -1
- package/dist/packem_shared/{inference-DPiaNfe3.js → inference-DeVnQ2rP.js} +1 -1
- package/dist/packem_shared/{meta-eHxKee2Y.js → meta-DgZfkCHT.js} +1 -1
- package/dist/packem_shared/{mistral-Df1ARjgI.js → mistral-Bqk6rtoD.js} +1 -1
- package/dist/packem_shared/model-scope-B97EzMOm.js +1 -0
- package/dist/packem_shared/ollama-cloud-AMbVVbEe.js +1 -0
- package/dist/packem_shared/open-ai-byQBxiD0.js +3 -0
- package/dist/packem_shared/open-router-Bgk_Eg85.js +1 -0
- package/dist/packem_shared/{requesty-Cxc8eC9m.js → requesty-jpAC9INf.js} +1 -1
- package/dist/packem_shared/{together-ai-D_mxuHjs.js → together-ai-DGMgKPuZ.js} +1 -1
- package/dist/packem_shared/{upstage-DLRfFlPL.js → upstage-CdH3YrFR.js} +1 -1
- package/dist/packem_shared/{v0-DM5fZBIr.js → v0-BjlxXJua.js} +1 -1
- package/dist/packem_shared/{venice-mEiDzDQs.js → venice-C3HQT6s8.js} +1 -1
- package/dist/packem_shared/{vercel-BiAtyn5t.js → vercel-CtkHacHk.js} +1 -1
- package/dist/packem_shared/{weights-_-biases-T5RZnu4K.js → weights-_-biases-DGVraFt7.js} +1 -1
- package/dist/packem_shared/xai-ojVHf5mV.js +1 -0
- package/dist/providers/aihubmix.d.ts +49 -0
- package/dist/providers/aihubmix.js +1 -0
- package/dist/providers/alibaba.js +1 -1
- package/dist/providers/amazon-bedrock.js +1 -1
- package/dist/providers/anthropic.js +1 -1
- package/dist/providers/azure-open-ai.js +1 -1
- package/dist/providers/cerebras.js +1 -1
- package/dist/providers/chutes.js +1 -1
- package/dist/providers/cloudflare.js +1 -1
- package/dist/providers/deep-infra.js +1 -1
- package/dist/providers/deep-seek.js +1 -1
- package/dist/providers/fireworks-ai.js +1 -1
- package/dist/providers/git-hub-copilot.js +1 -1
- package/dist/providers/git-hub-models.js +1 -1
- package/dist/providers/google-partner.js +1 -1
- package/dist/providers/google.js +1 -1
- package/dist/providers/groq.js +1 -1
- package/dist/providers/inference.js +1 -1
- package/dist/providers/meta.js +1 -1
- package/dist/providers/mistral.js +1 -1
- package/dist/providers/model-scope.js +1 -1
- package/dist/providers/ollama-cloud.d.ts +49 -0
- package/dist/providers/ollama-cloud.js +1 -0
- package/dist/providers/open-ai.js +1 -1
- package/dist/providers/open-router.js +1 -1
- package/dist/providers/requesty.js +1 -1
- package/dist/providers/together-ai.js +1 -1
- package/dist/providers/upstage.js +1 -1
- package/dist/providers/v0.js +1 -1
- package/dist/providers/venice.js +1 -1
- package/dist/providers/vercel.js +1 -1
- package/dist/providers/weights-_-biases.js +1 -1
- package/dist/providers/xai.js +1 -1
- package/dist/types/ai-hub-mix.d.ts +6 -0
- package/dist/types/ai-hub-mix.js +0 -0
- package/dist/types/cerebras.d.ts +1 -1
- package/dist/types/chutes.d.ts +1 -1
- package/dist/types/cloudflare.d.ts +1 -1
- package/dist/types/deep-infra.d.ts +1 -1
- package/dist/types/git-hub-copilot.d.ts +1 -1
- package/dist/types/google-partner.d.ts +1 -1
- package/dist/types/ollama-cloud.d.ts +6 -0
- package/dist/types/ollama-cloud.js +0 -0
- package/dist/types/providers.d.ts +2 -2
- package/dist/types/providers.js +1 -1
- package/package.json +1 -1
- package/public/ai-hub-mix.json +23067 -0
- package/public/alibaba.json +2 -2
- package/public/amazon-bedrock.json +2 -2
- package/public/anthropic.json +110 -102
- package/public/azure-open-ai.json +2 -2
- package/public/cerebras.json +23 -94
- package/public/chutes.json +291 -555
- package/public/cloudflare.json +85 -198
- package/public/deep-infra.json +3 -38
- package/public/deep-seek.json +2 -2
- package/public/fireworks-ai.json +38 -37
- package/public/git-hub-copilot.json +3 -143
- package/public/git-hub-models.json +2 -2
- package/public/google-partner.json +3 -108
- package/public/google-vertex.json +2 -2
- package/public/google.json +2 -2
- package/public/groq.json +2 -2
- package/public/hugging-face.json +2 -2
- package/public/inception.json +2 -2
- package/public/inference.json +2 -2
- package/public/meta.json +2 -2
- package/public/mistral.json +2 -2
- package/public/model-scope.json +214 -200
- package/public/morph.json +2 -2
- package/public/ollama-cloud.json +963 -0
- package/public/open-ai.json +51 -19
- package/public/open-router.json +235 -227
- package/public/providers.json +5 -3
- package/public/requesty.json +2 -2
- package/public/together-ai.json +2 -2
- package/public/upstage.json +2 -2
- package/public/v0.json +2 -2
- package/public/venice.json +2 -2
- package/public/vercel.json +2 -2
- package/public/weights-&-biases.json +2 -2
- package/public/xai.json +40 -35
- package/dist/packem_shared/anthropic-DBvs2vbB.js +0 -1
- package/dist/packem_shared/cerebras-CJECDgXt.js +0 -1
- package/dist/packem_shared/chutes-D8C9b9md.js +0 -1
- package/dist/packem_shared/cloudflare-B7QnJt9v.js +0 -3
- package/dist/packem_shared/fireworks-ai-BPHNCUee.js +0 -1
- package/dist/packem_shared/git-hub-copilot-Bsh8TUd-.js +0 -1
- package/dist/packem_shared/google-partner-DIaaPFvL.js +0 -1
- package/dist/packem_shared/model-scope-CbLWfNQZ.js +0 -1
- package/dist/packem_shared/open-ai-C9DhciZY.js +0 -1
- package/dist/packem_shared/open-router-DTMWsl0q.js +0 -1
- package/dist/packem_shared/xai-Bh_OuZmP.js +0 -1
- package/public/api.json +0 -107641
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## @anolilab/ai-model-registry [4.0.0](https://github.com/anolilab/ai-models/compare/@anolilab/ai-model-registry@3.0.0...@anolilab/ai-model-registry@4.0.0) (2026-01-13)
|
|
2
|
+
|
|
3
|
+
### ⚠ BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* **ai-model-registry:** Ensure to update any references to the modified model structures in your implementation.
|
|
6
|
+
* **ai-model-registry:** Ensure to update any references to the removed api.json in your implementation.
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **ai-model-registry:** add AIHubMix provider and update model configurations ([3c00caf](https://github.com/anolilab/ai-models/commit/3c00caf6368c24f118cbd765b4ac12cf0c0afed3))
|
|
11
|
+
* **ai-model-registry:** add new provider and update model configurations ([ff86548](https://github.com/anolilab/ai-models/commit/ff86548ec782bb8ded318a291a96aaa5332baff3))
|
|
12
|
+
* **ai-model-registry:** update release configuration and add TODO for missing providers ([89d47bd](https://github.com/anolilab/ai-models/commit/89d47bd438e77f112aa847b5cd88c4e57987b90d))
|
|
13
|
+
|
|
1
14
|
## @anolilab/ai-model-registry [3.0.0](https://github.com/anolilab/ai-models/compare/@anolilab/ai-model-registry@2.0.0...@anolilab/ai-model-registry@3.0.0) (2026-01-13)
|
|
2
15
|
|
|
3
16
|
### ⚠ BREAKING CHANGES
|
package/MIGRATION.md
CHANGED
|
@@ -581,8 +581,7 @@ async function getModelWithFallback(modelId: string) {
|
|
|
581
581
|
try {
|
|
582
582
|
const model = await getModelById(modelId);
|
|
583
583
|
|
|
584
|
-
if (model)
|
|
585
|
-
return model;
|
|
584
|
+
if (model) return model;
|
|
586
585
|
} catch (error) {
|
|
587
586
|
console.warn("Failed to load model:", error);
|
|
588
587
|
}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var c=Object.defineProperty;var
|
|
1
|
+
var c=Object.defineProperty;var l=(o,r)=>c(o,"name",{value:r,configurable:!0});import{u}from"./packem_shared/aihubmix-CjuksD_A.js";import{v}from"./packem_shared/alibaba-KCpNTbPH.js";import{P as g}from"./packem_shared/amazon-bedrock-BEpdRaRK.js";import{c as w}from"./packem_shared/anthropic-D5m7WwK5.js";import{g as y}from"./packem_shared/azure-open-ai-C6QP5dSw.js";import{M}from"./packem_shared/cerebras-BjaINteN.js";import{x}from"./packem_shared/chutes-DJskRgMs.js";import{h as A}from"./packem_shared/cloudflare-Dj-UZyvF.js";import{w as P}from"./packem_shared/deep-infra-fEe-1b_K.js";import{b as h}from"./packem_shared/deep-seek-CWqPVvJA.js";import{y as I}from"./packem_shared/fireworks-ai-M5AZBJ-l.js";import{A as b}from"./packem_shared/git-hub-copilot-B0xJ4jvl.js";import{N as S}from"./packem_shared/git-hub-models-Cyf4N1hP.js";import{_}from"./packem_shared/google-CF3J5A9V.js";import{S as B}from"./packem_shared/google-partner-DV4aTl-d.js";import{I as G}from"./packem_shared/google-vertex-CbWZUmxZ.js";import{C as O}from"./packem_shared/groq-BiW3tuc8.js";import{k}from"./packem_shared/hugging-face-CWivgPFf.js";import{B as C}from"./packem_shared/inception-Zyt71AIg.js";import{G as H}from"./packem_shared/inference-DeVnQ2rP.js";import{H as V}from"./packem_shared/meta-DgZfkCHT.js";import{O as q}from"./packem_shared/mistral-Bqk6rtoD.js";import{R as z}from"./packem_shared/model-scope-B97EzMOm.js";import{V as D}from"./packem_shared/morph-CBEkhIbg.js";import{q as E}from"./packem_shared/ollama-cloud-AMbVVbEe.js";import{z as F}from"./packem_shared/open-ai-byQBxiD0.js";import{F as R}from"./packem_shared/open-router-Bgk_Eg85.js";import{L as j}from"./packem_shared/requesty-jpAC9INf.js";import{T as L}from"./packem_shared/together-ai-DGMgKPuZ.js";import{D as T}from"./packem_shared/upstage-CdH3YrFR.js";import{E as U}from"./packem_shared/v0-BjlxXJua.js";import{U as W}from"./packem_shared/venice-C3HQT6s8.js";import{W as X}from"./packem_shared/vercel-CtkHacHk.js";import{X as N}from"./packem_shared/weights-_-biases-DGVraFt7.js";import{j as J}from"./packem_shared/xai-ojVHf5mV.js";var K=Object.defineProperty,i=l((o,r)=>K(o,"name",{value:r,configurable:!0}),"i");const d=new Map([["AIHubMix",u],["Alibaba",v],["Amazon Bedrock",g],["Anthropic",w],["Azure OpenAI",y],["cerebras",M],["chutes",x],["Cloudflare",A],["Deep Infra",P],["DeepSeek",h],["Fireworks AI",I],["GitHub Copilot",b],["GitHub Models",S],["Google",_],["Google Partner",B],["Google Vertex",G],["Groq",O],["Hugging Face",k],["inception",C],["Inference",H],["Meta",V],["Mistral",q],["ModelScope",z],["Morph",D],["Ollama Cloud",E],["OpenAI",F],["OpenRouter",R],["Requesty",j],["Together AI",L],["Upstage",T],["V0",U],["Venice",W],["Vercel",X],["Weights & Biases",N],["XAI",J]]);let m=null;const s=new Map;let a=null;const n=i(async o=>{const r=s.get(o);if(r)return r;const t=d.get(o);if(t){const p=t.getModels();return s.set(o,p),p}return null},"loadProviderModels"),f=i(async()=>a||(a=[...d.keys()].toSorted(),a),"loadProvidersList"),e=i(async()=>m||(m=(await Promise.all((await f()).map(async o=>await n(o)??[]))).flat(),m),"loadAllModels"),Ho=i(async()=>{const o=await f();if(o.length>0)return o;const r=new Set;return(await e()).forEach(t=>{t.provider&&r.add(t.provider)}),[...r].toSorted()},"getProviders"),Vo=i(async o=>await n(o)??(await e()).filter(r=>r.provider===o),"getModelsByProvider"),qo=i(async o=>{if(o?.trim())return(await e()).find(r=>r.id===o)},"getModelById"),zo=i(async o=>(o.provider?await n(o.provider)??await e():await e()).filter(r=>!(o.vision!==void 0&&r.vision!==o.vision||o.reasoning!==void 0&&r.reasoning!==o.reasoning||o.tool_call!==void 0&&r.toolCall!==o.tool_call||o.streaming_supported!==void 0&&r.streamingSupported!==o.streaming_supported||o.provider&&r.provider!==o.provider||o.preview!==void 0&&r.preview!==o.preview||o.modalities?.input&&!o.modalities.input.every(t=>r.modalities.input.includes(t))||o.modalities?.output&&!o.modalities.output.every(t=>r.modalities.output.includes(t))||o.context_min!==void 0&&(!r.limit.context||r.limit.context<o.context_min)||o.context_max!==void 0&&(!r.limit.context||r.limit.context>o.context_max))),"searchModels"),Do=i(async()=>[...await e()],"getAllModels"),Eo=i(async()=>{const o={};return(await e()).forEach(r=>{r.provider&&(o[r.provider]=(o[r.provider]||0)+1)}),o},"getProviderStats");export{Do as getAllModels,qo as getModelById,Vo as getModelsByProvider,Eo as getProviderStats,Ho as getProviders,zo as searchModels};
|