@cherrystudio/provider-registry 0.2.8 → 0.3.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/README.md +9 -0
- package/data/provider-models.json +2494 -1
- package/data/providers.json +79 -10
- package/dist/bundled-catalog.cjs +2 -2
- package/dist/bundled-catalog.mjs +2 -2
- package/dist/{bundled-provider-models-DtkGlrM0.mjs → bundled-provider-models-CZkfWU7M.mjs} +2044 -1
- package/dist/{bundled-provider-models-DaZD5jmF.cjs → bundled-provider-models-DLkIpKBv.cjs} +2044 -1
- package/dist/bundled-provider-models.cjs +1 -1
- package/dist/bundled-provider-models.mjs +1 -1
- package/dist/{bundled-providers-ClAtcIXe.cjs → bundled-providers-BzPqWSIv.cjs} +84 -18
- package/dist/{bundled-providers-BuBDiy4v.mjs → bundled-providers-HLwq2Mc8.mjs} +84 -18
- package/dist/bundled-providers.cjs +1 -1
- package/dist/bundled-providers.mjs +1 -1
- package/dist/index.cjs +574 -445
- package/dist/index.d.cts +6 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.mjs +574 -445
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1287,6 +1287,14 @@ const REASONING_FAMILY_RULES = [
|
|
|
1287
1287
|
]
|
|
1288
1288
|
},
|
|
1289
1289
|
{ pattern: "sonar-deep-research" },
|
|
1290
|
+
{
|
|
1291
|
+
pattern: "^step-5-preview$",
|
|
1292
|
+
effort: [
|
|
1293
|
+
"low",
|
|
1294
|
+
"medium",
|
|
1295
|
+
"high"
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1290
1298
|
{ pattern: "step-3" },
|
|
1291
1299
|
{ pattern: "step-r1-v-mini" },
|
|
1292
1300
|
{
|
|
@@ -1471,6 +1479,10 @@ const SERVER_TOOL_FUNCTION_MIXING_MODEL_IDS = [
|
|
|
1471
1479
|
"gemini-3-6-flash",
|
|
1472
1480
|
"gemini-3-7-flash",
|
|
1473
1481
|
"gemini-3-8-flash",
|
|
1482
|
+
"gemini-3-8-flash-lite-tts",
|
|
1483
|
+
"gemini-3-8-flash-tts",
|
|
1484
|
+
"gemini-3-8-live",
|
|
1485
|
+
"gemini-3-8-live-extended",
|
|
1474
1486
|
"gemini-3-flash",
|
|
1475
1487
|
"gemini-3-flash-preview",
|
|
1476
1488
|
"gemini-3-pro-image",
|
|
@@ -1507,9 +1519,11 @@ function isWebSearchEffortUnsupported(rawModelId, effort) {
|
|
|
1507
1519
|
}
|
|
1508
1520
|
//#endregion
|
|
1509
1521
|
//#region src/patterns/serverToolModelEligibility.ts
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1512
|
-
"web-search": [
|
|
1522
|
+
const ELIGIBLE_DECLARATIONS = new Map(Object.entries({
|
|
1523
|
+
aihubmix: {
|
|
1524
|
+
"web-search": [{ ids: [
|
|
1525
|
+
"claude-fable-5",
|
|
1526
|
+
"claude-fable-5-1",
|
|
1513
1527
|
"claude-haiku-4-5",
|
|
1514
1528
|
"claude-opus-4",
|
|
1515
1529
|
"claude-opus-4-1",
|
|
@@ -1519,6 +1533,9 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1519
1533
|
"claude-opus-4-7",
|
|
1520
1534
|
"claude-opus-4-8",
|
|
1521
1535
|
"claude-opus-4-8-fast",
|
|
1536
|
+
"claude-opus-5",
|
|
1537
|
+
"claude-opus-5-5",
|
|
1538
|
+
"claude-opus-5-fast",
|
|
1522
1539
|
"claude-sonnet-4",
|
|
1523
1540
|
"claude-sonnet-4-5",
|
|
1524
1541
|
"claude-sonnet-4-6",
|
|
@@ -1582,12 +1599,20 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1582
1599
|
"gpt-5-mini",
|
|
1583
1600
|
"gpt-5-nano",
|
|
1584
1601
|
"gpt-5-pro",
|
|
1602
|
+
"gpt-6-1-sol",
|
|
1603
|
+
"gpt-6-1-terra",
|
|
1604
|
+
"gpt-6-astra",
|
|
1605
|
+
"gpt-6-astra-pro",
|
|
1606
|
+
"gpt-6-luna",
|
|
1607
|
+
"gpt-6-sol",
|
|
1585
1608
|
"o3",
|
|
1586
1609
|
"o3-mini",
|
|
1587
1610
|
"o3-pro",
|
|
1588
1611
|
"o4-mini"
|
|
1589
|
-
],
|
|
1590
|
-
"url-context": [
|
|
1612
|
+
] }],
|
|
1613
|
+
"url-context": [{ ids: [
|
|
1614
|
+
"claude-fable-5",
|
|
1615
|
+
"claude-fable-5-1",
|
|
1591
1616
|
"claude-haiku-4-5",
|
|
1592
1617
|
"claude-opus-4",
|
|
1593
1618
|
"claude-opus-4-1",
|
|
@@ -1597,6 +1622,9 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1597
1622
|
"claude-opus-4-7",
|
|
1598
1623
|
"claude-opus-4-8",
|
|
1599
1624
|
"claude-opus-4-8-fast",
|
|
1625
|
+
"claude-opus-5",
|
|
1626
|
+
"claude-opus-5-5",
|
|
1627
|
+
"claude-opus-5-fast",
|
|
1600
1628
|
"claude-sonnet-4",
|
|
1601
1629
|
"claude-sonnet-4-5",
|
|
1602
1630
|
"claude-sonnet-4-6",
|
|
@@ -1629,13 +1657,12 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1629
1657
|
"gemini-flash-latest",
|
|
1630
1658
|
"gemini-flash-lite-latest",
|
|
1631
1659
|
"gemini-pro-latest"
|
|
1632
|
-
]
|
|
1660
|
+
] }]
|
|
1633
1661
|
},
|
|
1634
|
-
|
|
1635
|
-
"web-search": [
|
|
1636
|
-
"claude-fable-5",
|
|
1637
|
-
"claude-fable-5-1",
|
|
1662
|
+
anthropic: {
|
|
1663
|
+
"web-search": [{ ids: [
|
|
1638
1664
|
"claude-haiku-4-5",
|
|
1665
|
+
"claude-haiku-5-5",
|
|
1639
1666
|
"claude-opus-4",
|
|
1640
1667
|
"claude-opus-4-1",
|
|
1641
1668
|
"claude-opus-4-5",
|
|
@@ -1644,36 +1671,74 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1644
1671
|
"claude-opus-4-7",
|
|
1645
1672
|
"claude-opus-4-8",
|
|
1646
1673
|
"claude-opus-4-8-fast",
|
|
1647
|
-
"claude-opus-5",
|
|
1648
1674
|
"claude-opus-5-5",
|
|
1649
|
-
"claude-opus-5-fast",
|
|
1650
1675
|
"claude-sonnet-4",
|
|
1651
1676
|
"claude-sonnet-4-5",
|
|
1652
1677
|
"claude-sonnet-4-6",
|
|
1653
|
-
"
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
"
|
|
1657
|
-
"
|
|
1658
|
-
"
|
|
1659
|
-
"
|
|
1660
|
-
"
|
|
1661
|
-
"
|
|
1662
|
-
"
|
|
1663
|
-
"
|
|
1664
|
-
"
|
|
1665
|
-
"
|
|
1666
|
-
"
|
|
1667
|
-
"
|
|
1668
|
-
"
|
|
1669
|
-
"
|
|
1670
|
-
"
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
"
|
|
1676
|
-
"
|
|
1678
|
+
"claude-sonnet-5-5"
|
|
1679
|
+
] }],
|
|
1680
|
+
"url-context": [{ ids: [
|
|
1681
|
+
"claude-haiku-4-5",
|
|
1682
|
+
"claude-haiku-5-5",
|
|
1683
|
+
"claude-opus-4",
|
|
1684
|
+
"claude-opus-4-1",
|
|
1685
|
+
"claude-opus-4-5",
|
|
1686
|
+
"claude-opus-4-6",
|
|
1687
|
+
"claude-opus-4-6-v1",
|
|
1688
|
+
"claude-opus-4-7",
|
|
1689
|
+
"claude-opus-4-8",
|
|
1690
|
+
"claude-opus-4-8-fast",
|
|
1691
|
+
"claude-opus-5-5",
|
|
1692
|
+
"claude-sonnet-4",
|
|
1693
|
+
"claude-sonnet-4-5",
|
|
1694
|
+
"claude-sonnet-4-6",
|
|
1695
|
+
"claude-sonnet-5-5"
|
|
1696
|
+
] }]
|
|
1697
|
+
},
|
|
1698
|
+
"aws-bedrock": {
|
|
1699
|
+
"web-search": [{ ids: [
|
|
1700
|
+
"claude-haiku-4-5",
|
|
1701
|
+
"claude-opus-4",
|
|
1702
|
+
"claude-opus-4-1",
|
|
1703
|
+
"claude-opus-4-5",
|
|
1704
|
+
"claude-opus-4-6",
|
|
1705
|
+
"claude-opus-4-6-v1",
|
|
1706
|
+
"claude-opus-4-7",
|
|
1707
|
+
"claude-opus-4-8",
|
|
1708
|
+
"claude-opus-4-8-fast",
|
|
1709
|
+
"claude-sonnet-4",
|
|
1710
|
+
"claude-sonnet-4-5",
|
|
1711
|
+
"claude-sonnet-4-6"
|
|
1712
|
+
] }],
|
|
1713
|
+
"url-context": [{ ids: [
|
|
1714
|
+
"claude-haiku-4-5",
|
|
1715
|
+
"claude-opus-4",
|
|
1716
|
+
"claude-opus-4-1",
|
|
1717
|
+
"claude-opus-4-5",
|
|
1718
|
+
"claude-opus-4-6",
|
|
1719
|
+
"claude-opus-4-6-v1",
|
|
1720
|
+
"claude-opus-4-7",
|
|
1721
|
+
"claude-opus-4-8",
|
|
1722
|
+
"claude-opus-4-8-fast",
|
|
1723
|
+
"claude-sonnet-4",
|
|
1724
|
+
"claude-sonnet-4-5",
|
|
1725
|
+
"claude-sonnet-4-6"
|
|
1726
|
+
] }]
|
|
1727
|
+
},
|
|
1728
|
+
"azure-openai": {
|
|
1729
|
+
"web-search": [{ ids: [
|
|
1730
|
+
"claude-haiku-4-5",
|
|
1731
|
+
"claude-opus-4",
|
|
1732
|
+
"claude-opus-4-1",
|
|
1733
|
+
"claude-opus-4-5",
|
|
1734
|
+
"claude-opus-4-6",
|
|
1735
|
+
"claude-opus-4-6-v1",
|
|
1736
|
+
"claude-opus-4-7",
|
|
1737
|
+
"claude-opus-4-8",
|
|
1738
|
+
"claude-opus-4-8-fast",
|
|
1739
|
+
"claude-sonnet-4",
|
|
1740
|
+
"claude-sonnet-4-5",
|
|
1741
|
+
"claude-sonnet-4-6",
|
|
1677
1742
|
"gpt-4-1",
|
|
1678
1743
|
"gpt-4-1-mini",
|
|
1679
1744
|
"gpt-4-1-nano",
|
|
@@ -1710,20 +1775,12 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1710
1775
|
"gpt-5-mini",
|
|
1711
1776
|
"gpt-5-nano",
|
|
1712
1777
|
"gpt-5-pro",
|
|
1713
|
-
"gpt-6-1-sol",
|
|
1714
|
-
"gpt-6-1-terra",
|
|
1715
|
-
"gpt-6-astra",
|
|
1716
|
-
"gpt-6-astra-pro",
|
|
1717
|
-
"gpt-6-luna",
|
|
1718
|
-
"gpt-6-sol",
|
|
1719
1778
|
"o3",
|
|
1720
1779
|
"o3-mini",
|
|
1721
1780
|
"o3-pro",
|
|
1722
1781
|
"o4-mini"
|
|
1723
|
-
],
|
|
1724
|
-
"url-context": [
|
|
1725
|
-
"claude-fable-5",
|
|
1726
|
-
"claude-fable-5-1",
|
|
1782
|
+
] }],
|
|
1783
|
+
"url-context": [{ ids: [
|
|
1727
1784
|
"claude-haiku-4-5",
|
|
1728
1785
|
"claude-opus-4",
|
|
1729
1786
|
"claude-opus-4-1",
|
|
@@ -1733,75 +1790,13 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1733
1790
|
"claude-opus-4-7",
|
|
1734
1791
|
"claude-opus-4-8",
|
|
1735
1792
|
"claude-opus-4-8-fast",
|
|
1736
|
-
"claude-opus-5",
|
|
1737
|
-
"claude-opus-5-5",
|
|
1738
|
-
"claude-opus-5-fast",
|
|
1739
1793
|
"claude-sonnet-4",
|
|
1740
1794
|
"claude-sonnet-4-5",
|
|
1741
|
-
"claude-sonnet-4-6"
|
|
1742
|
-
|
|
1743
|
-
"gemini-2-5-flash",
|
|
1744
|
-
"gemini-2-5-flash-image",
|
|
1745
|
-
"gemini-2-5-flash-image-preview",
|
|
1746
|
-
"gemini-2-5-flash-lite",
|
|
1747
|
-
"gemini-2-5-pro",
|
|
1748
|
-
"gemini-2-5-pro-preview",
|
|
1749
|
-
"gemini-2-5-pro-preview-05-06",
|
|
1750
|
-
"gemini-3-1-flash-image",
|
|
1751
|
-
"gemini-3-1-flash-image-preview",
|
|
1752
|
-
"gemini-3-1-flash-lite",
|
|
1753
|
-
"gemini-3-1-flash-lite-image",
|
|
1754
|
-
"gemini-3-1-flash-lite-preview",
|
|
1755
|
-
"gemini-3-1-flash-live-preview",
|
|
1756
|
-
"gemini-3-1-pro-preview",
|
|
1757
|
-
"gemini-3-1-pro-preview-customtools",
|
|
1758
|
-
"gemini-3-5-flash",
|
|
1759
|
-
"gemini-3-5-flash-lite",
|
|
1760
|
-
"gemini-3-6-flash",
|
|
1761
|
-
"gemini-3-7-flash",
|
|
1762
|
-
"gemini-3-8-flash",
|
|
1763
|
-
"gemini-3-flash",
|
|
1764
|
-
"gemini-3-flash-preview",
|
|
1765
|
-
"gemini-3-pro-image",
|
|
1766
|
-
"gemini-3-pro-image-preview",
|
|
1767
|
-
"gemini-4-argon",
|
|
1768
|
-
"gemini-flash-latest",
|
|
1769
|
-
"gemini-flash-lite-latest",
|
|
1770
|
-
"gemini-pro-latest"
|
|
1771
|
-
]
|
|
1795
|
+
"claude-sonnet-4-6"
|
|
1796
|
+
] }]
|
|
1772
1797
|
},
|
|
1773
|
-
|
|
1774
|
-
"
|
|
1775
|
-
"glm-4-1v",
|
|
1776
|
-
"glm-4-5",
|
|
1777
|
-
"glm-4-5-air",
|
|
1778
|
-
"glm-4-5-flash",
|
|
1779
|
-
"glm-4-5v",
|
|
1780
|
-
"glm-4-6",
|
|
1781
|
-
"glm-4-6v",
|
|
1782
|
-
"glm-4-7",
|
|
1783
|
-
"glm-4-7-flash",
|
|
1784
|
-
"glm-4-7-flashx",
|
|
1785
|
-
"glm-4-7-maas",
|
|
1786
|
-
"glm-4-air",
|
|
1787
|
-
"glm-4-airx",
|
|
1788
|
-
"glm-4-flash",
|
|
1789
|
-
"glm-4-flashx",
|
|
1790
|
-
"glm-4-long",
|
|
1791
|
-
"glm-4-plus",
|
|
1792
|
-
"glm-5",
|
|
1793
|
-
"glm-5-1",
|
|
1794
|
-
"glm-5-2",
|
|
1795
|
-
"glm-5-2-fast",
|
|
1796
|
-
"glm-5-3",
|
|
1797
|
-
"glm-5-3-fast",
|
|
1798
|
-
"glm-5-3-flash",
|
|
1799
|
-
"glm-5-maas",
|
|
1800
|
-
"glm-5-turbo"
|
|
1801
|
-
] },
|
|
1802
|
-
deepseek: { "web-search": ["deepseek-flash", "deepseek-v4-pro"] },
|
|
1803
|
-
"new-api": {
|
|
1804
|
-
"web-search": [
|
|
1798
|
+
cherryin: {
|
|
1799
|
+
"web-search": [{ ids: [
|
|
1805
1800
|
"claude-haiku-4-5",
|
|
1806
1801
|
"claude-opus-4",
|
|
1807
1802
|
"claude-opus-4-1",
|
|
@@ -1834,6 +1829,7 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1834
1829
|
"gemini-3-flash-preview",
|
|
1835
1830
|
"gemini-3-pro-image",
|
|
1836
1831
|
"gemini-3-pro-image-preview",
|
|
1832
|
+
"gemini-4-argon",
|
|
1837
1833
|
"gemini-flash-latest",
|
|
1838
1834
|
"gemini-flash-lite-latest",
|
|
1839
1835
|
"gemini-pro-latest",
|
|
@@ -1877,8 +1873,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1877
1873
|
"o3-mini",
|
|
1878
1874
|
"o3-pro",
|
|
1879
1875
|
"o4-mini"
|
|
1880
|
-
],
|
|
1881
|
-
"url-context": [
|
|
1876
|
+
] }],
|
|
1877
|
+
"url-context": [{ ids: [
|
|
1882
1878
|
"claude-haiku-4-5",
|
|
1883
1879
|
"claude-opus-4",
|
|
1884
1880
|
"claude-opus-4-1",
|
|
@@ -1916,48 +1912,13 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1916
1912
|
"gemini-3-flash-preview",
|
|
1917
1913
|
"gemini-3-pro-image",
|
|
1918
1914
|
"gemini-3-pro-image-preview",
|
|
1915
|
+
"gemini-4-argon",
|
|
1919
1916
|
"gemini-flash-latest",
|
|
1920
1917
|
"gemini-flash-lite-latest",
|
|
1921
1918
|
"gemini-pro-latest"
|
|
1922
|
-
]
|
|
1923
|
-
},
|
|
1924
|
-
anthropic: {
|
|
1925
|
-
"web-search": [
|
|
1926
|
-
"claude-haiku-4-5",
|
|
1927
|
-
"claude-haiku-5-5",
|
|
1928
|
-
"claude-opus-4",
|
|
1929
|
-
"claude-opus-4-1",
|
|
1930
|
-
"claude-opus-4-5",
|
|
1931
|
-
"claude-opus-4-6",
|
|
1932
|
-
"claude-opus-4-6-v1",
|
|
1933
|
-
"claude-opus-4-7",
|
|
1934
|
-
"claude-opus-4-8",
|
|
1935
|
-
"claude-opus-4-8-fast",
|
|
1936
|
-
"claude-opus-5-5",
|
|
1937
|
-
"claude-sonnet-4",
|
|
1938
|
-
"claude-sonnet-4-5",
|
|
1939
|
-
"claude-sonnet-4-6",
|
|
1940
|
-
"claude-sonnet-5-5"
|
|
1941
|
-
],
|
|
1942
|
-
"url-context": [
|
|
1943
|
-
"claude-haiku-4-5",
|
|
1944
|
-
"claude-haiku-5-5",
|
|
1945
|
-
"claude-opus-4",
|
|
1946
|
-
"claude-opus-4-1",
|
|
1947
|
-
"claude-opus-4-5",
|
|
1948
|
-
"claude-opus-4-6",
|
|
1949
|
-
"claude-opus-4-6-v1",
|
|
1950
|
-
"claude-opus-4-7",
|
|
1951
|
-
"claude-opus-4-8",
|
|
1952
|
-
"claude-opus-4-8-fast",
|
|
1953
|
-
"claude-opus-5-5",
|
|
1954
|
-
"claude-sonnet-4",
|
|
1955
|
-
"claude-sonnet-4-5",
|
|
1956
|
-
"claude-sonnet-4-6",
|
|
1957
|
-
"claude-sonnet-5-5"
|
|
1958
|
-
]
|
|
1919
|
+
] }]
|
|
1959
1920
|
},
|
|
1960
|
-
"claude-code": { "url-context": [
|
|
1921
|
+
"claude-code": { "url-context": [{ ids: [
|
|
1961
1922
|
"claude-haiku-4-5",
|
|
1962
1923
|
"claude-haiku-5-5",
|
|
1963
1924
|
"claude-opus-4",
|
|
@@ -1972,126 +1933,141 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
1972
1933
|
"claude-sonnet-4-5",
|
|
1973
1934
|
"claude-sonnet-4-6",
|
|
1974
1935
|
"claude-sonnet-5-5"
|
|
1975
|
-
] },
|
|
1976
|
-
|
|
1977
|
-
"
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
"
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
"
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
"
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
1936
|
+
] }] },
|
|
1937
|
+
dashscope: {
|
|
1938
|
+
"web-search": [{
|
|
1939
|
+
ids: [
|
|
1940
|
+
"deepseek-r1",
|
|
1941
|
+
"deepseek-r1-distill-llama-70b",
|
|
1942
|
+
"deepseek-r1-distill-llama-8b",
|
|
1943
|
+
"deepseek-r1-distill-qwen-1-5b",
|
|
1944
|
+
"deepseek-r1-distill-qwen-14b",
|
|
1945
|
+
"deepseek-r1-distill-qwen-32b",
|
|
1946
|
+
"deepseek-r1-distill-qwen-7b",
|
|
1947
|
+
"deepseek-v3",
|
|
1948
|
+
"deepseek-v3-1",
|
|
1949
|
+
"deepseek-v3-1-maas",
|
|
1950
|
+
"deepseek-v3-1-terminus",
|
|
1951
|
+
"deepseek-v3-2",
|
|
1952
|
+
"deepseek-v3-2-exp",
|
|
1953
|
+
"deepseek-v3-2-maas",
|
|
1954
|
+
"deepseek-v4-flash",
|
|
1955
|
+
"deepseek-v4-flash-vision-exp",
|
|
1956
|
+
"deepseek-v4-pro",
|
|
1957
|
+
"glm-5-2",
|
|
1958
|
+
"kimi-k3",
|
|
1959
|
+
"minimax-m2-1",
|
|
1960
|
+
"qwen-flash",
|
|
1961
|
+
"qwen-plus",
|
|
1962
|
+
"qwen-plus-character",
|
|
1963
|
+
"qwen-plus-character-ja",
|
|
1964
|
+
"qwen-turbo",
|
|
1965
|
+
"qwen3-5-flash",
|
|
1966
|
+
"qwen3-5-flash-02-23",
|
|
1967
|
+
"qwen3-5-plus",
|
|
1968
|
+
"qwen3-5-plus-02-15",
|
|
1969
|
+
"qwen3-6-flash",
|
|
1970
|
+
"qwen3-6-max-preview",
|
|
1971
|
+
"qwen3-6-plus",
|
|
1972
|
+
"qwen3-7-max",
|
|
1973
|
+
"qwen3-7-plus",
|
|
1974
|
+
"qwen3-8-flash",
|
|
1975
|
+
"qwen3-8-flash-next",
|
|
1976
|
+
"qwen3-8-max",
|
|
1977
|
+
"qwen3-8-max-preview",
|
|
1978
|
+
"qwen3-max",
|
|
1979
|
+
"qwen3-max-preview",
|
|
1980
|
+
"qwq-plus"
|
|
1981
|
+
],
|
|
1982
|
+
endpointTypes: ["openai-chat-completions", "openai-responses"]
|
|
1983
|
+
}, {
|
|
1984
|
+
ids: [
|
|
1985
|
+
"deepseek-v4-1-flash",
|
|
1986
|
+
"deepseek-v4-flash",
|
|
1987
|
+
"deepseek-v4-pro",
|
|
1988
|
+
"glm-5-2",
|
|
1989
|
+
"kimi-k3",
|
|
1990
|
+
"qwen3-5-flash",
|
|
1991
|
+
"qwen3-5-flash-02-23",
|
|
1992
|
+
"qwen3-5-plus",
|
|
1993
|
+
"qwen3-5-plus-02-15",
|
|
1994
|
+
"qwen3-6-flash",
|
|
1995
|
+
"qwen3-6-plus",
|
|
1996
|
+
"qwen3-7-flash",
|
|
1997
|
+
"qwen3-7-max",
|
|
1998
|
+
"qwen3-7-plus",
|
|
1999
|
+
"qwen3-8-2-4t-a95b",
|
|
2000
|
+
"qwen3-8-27b",
|
|
2001
|
+
"qwen3-8-flash",
|
|
2002
|
+
"qwen3-8-max"
|
|
2003
|
+
],
|
|
2004
|
+
endpointTypes: ["anthropic-messages"]
|
|
2005
|
+
}],
|
|
2006
|
+
"url-context": [{
|
|
2007
|
+
ids: [
|
|
2008
|
+
"qwen-flash",
|
|
2009
|
+
"qwen-plus",
|
|
2010
|
+
"qwen-plus-character",
|
|
2011
|
+
"qwen-plus-character-ja",
|
|
2012
|
+
"qwen3-5-flash",
|
|
2013
|
+
"qwen3-5-flash-02-23",
|
|
2014
|
+
"qwen3-5-plus",
|
|
2015
|
+
"qwen3-5-plus-02-15",
|
|
2016
|
+
"qwen3-6-flash",
|
|
2017
|
+
"qwen3-6-max-preview",
|
|
2018
|
+
"qwen3-6-plus",
|
|
2019
|
+
"qwen3-7-max",
|
|
2020
|
+
"qwen3-7-plus",
|
|
2021
|
+
"qwen3-8-flash",
|
|
2022
|
+
"qwen3-8-flash-next",
|
|
2023
|
+
"qwen3-8-max",
|
|
2024
|
+
"qwen3-8-max-preview",
|
|
2025
|
+
"qwen3-max",
|
|
2026
|
+
"qwen3-max-preview"
|
|
2027
|
+
],
|
|
2028
|
+
endpointTypes: ["openai-chat-completions", "openai-responses"]
|
|
2029
|
+
}, {
|
|
2030
|
+
ids: [
|
|
2031
|
+
"deepseek-v4-1-flash",
|
|
2032
|
+
"deepseek-v4-flash",
|
|
2033
|
+
"deepseek-v4-pro",
|
|
2034
|
+
"glm-5-2",
|
|
2035
|
+
"kimi-k3",
|
|
2036
|
+
"qwen3-5-flash",
|
|
2037
|
+
"qwen3-5-flash-02-23",
|
|
2038
|
+
"qwen3-5-plus",
|
|
2039
|
+
"qwen3-5-plus-02-15",
|
|
2040
|
+
"qwen3-6-flash",
|
|
2041
|
+
"qwen3-6-plus",
|
|
2042
|
+
"qwen3-7-flash",
|
|
2043
|
+
"qwen3-7-max",
|
|
2044
|
+
"qwen3-7-plus",
|
|
2045
|
+
"qwen3-8-2-4t-a95b",
|
|
2046
|
+
"qwen3-8-27b",
|
|
2047
|
+
"qwen3-8-flash",
|
|
2048
|
+
"qwen3-8-max"
|
|
2049
|
+
],
|
|
2050
|
+
endpointTypes: ["anthropic-messages"]
|
|
2051
|
+
}]
|
|
2052
|
+
},
|
|
2053
|
+
deepseek: { "web-search": [{
|
|
2054
|
+
ids: ["deepseek-flash", "deepseek-v4-pro"],
|
|
2055
|
+
endpointTypes: ["openai-responses"]
|
|
2056
|
+
}] },
|
|
2057
|
+
doubao: { "web-search": [{ ids: [
|
|
2058
|
+
"doubao-seed-1-6",
|
|
2059
|
+
"doubao-seed-1-8",
|
|
2060
|
+
"doubao-seed-2-0-code-preview",
|
|
2061
|
+
"doubao-seed-2-0-lite",
|
|
2062
|
+
"doubao-seed-2-0-mini",
|
|
2063
|
+
"doubao-seed-2-0-pro",
|
|
2064
|
+
"doubao-seed-2-1-pro",
|
|
2065
|
+
"doubao-seed-2-1-turbo",
|
|
2066
|
+
"doubao-seed-character",
|
|
2067
|
+
"doubao-seed-evolving"
|
|
2068
|
+
] }] },
|
|
2093
2069
|
gemini: {
|
|
2094
|
-
"web-search": [
|
|
2070
|
+
"web-search": [{ ids: [
|
|
2095
2071
|
"gemini-2-5-computer-use-preview-10-2025",
|
|
2096
2072
|
"gemini-2-5-flash",
|
|
2097
2073
|
"gemini-2-5-flash-lite",
|
|
@@ -2116,8 +2092,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
2116
2092
|
"gemini-flash-latest",
|
|
2117
2093
|
"gemini-flash-lite-latest",
|
|
2118
2094
|
"gemini-pro-latest"
|
|
2119
|
-
],
|
|
2120
|
-
"url-context": [
|
|
2095
|
+
] }],
|
|
2096
|
+
"url-context": [{ ids: [
|
|
2121
2097
|
"gemini-2-5-computer-use-preview-10-2025",
|
|
2122
2098
|
"gemini-2-5-flash",
|
|
2123
2099
|
"gemini-2-5-flash-image",
|
|
@@ -2147,10 +2123,62 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
2147
2123
|
"gemini-flash-latest",
|
|
2148
2124
|
"gemini-flash-lite-latest",
|
|
2149
2125
|
"gemini-pro-latest"
|
|
2150
|
-
]
|
|
2126
|
+
] }]
|
|
2151
2127
|
},
|
|
2152
|
-
|
|
2153
|
-
"
|
|
2128
|
+
grok: { "web-search": [{ ids: [
|
|
2129
|
+
"grok-4",
|
|
2130
|
+
"grok-4-1",
|
|
2131
|
+
"grok-4-1-fast",
|
|
2132
|
+
"grok-4-1-fast-non-reasoning",
|
|
2133
|
+
"grok-4-20",
|
|
2134
|
+
"grok-4-20-0309-non-reasoning",
|
|
2135
|
+
"grok-4-20-multi-agent",
|
|
2136
|
+
"grok-4-20-multi-agent-beta",
|
|
2137
|
+
"grok-4-20-non-reasoning",
|
|
2138
|
+
"grok-4-20-non-reasoning-beta",
|
|
2139
|
+
"grok-4-20-reasoning-beta",
|
|
2140
|
+
"grok-4-3",
|
|
2141
|
+
"grok-4-5",
|
|
2142
|
+
"grok-4-6",
|
|
2143
|
+
"grok-4-7",
|
|
2144
|
+
"grok-4-fast"
|
|
2145
|
+
] }] },
|
|
2146
|
+
moonshot: { "web-search": [{
|
|
2147
|
+
ids: [
|
|
2148
|
+
"kimi-k2",
|
|
2149
|
+
"kimi-k2-5",
|
|
2150
|
+
"kimi-k2-6",
|
|
2151
|
+
"kimi-k2-7-code",
|
|
2152
|
+
"kimi-k2-7-code-highspeed",
|
|
2153
|
+
"kimi-k2-instruct",
|
|
2154
|
+
"kimi-k2-thinking-maas",
|
|
2155
|
+
"kimi-k3",
|
|
2156
|
+
"kimi-k3-1-pro",
|
|
2157
|
+
"kimi-k3-1-pro-highspeed",
|
|
2158
|
+
"kimi-k3-fast",
|
|
2159
|
+
"kimi-latest"
|
|
2160
|
+
],
|
|
2161
|
+
endpointTypes: ["openai-chat-completions"]
|
|
2162
|
+
}] },
|
|
2163
|
+
"moonshot-global": { "web-search": [{
|
|
2164
|
+
ids: [
|
|
2165
|
+
"kimi-k2",
|
|
2166
|
+
"kimi-k2-5",
|
|
2167
|
+
"kimi-k2-6",
|
|
2168
|
+
"kimi-k2-7-code",
|
|
2169
|
+
"kimi-k2-7-code-highspeed",
|
|
2170
|
+
"kimi-k2-instruct",
|
|
2171
|
+
"kimi-k2-thinking-maas",
|
|
2172
|
+
"kimi-k3",
|
|
2173
|
+
"kimi-k3-1-pro",
|
|
2174
|
+
"kimi-k3-1-pro-highspeed",
|
|
2175
|
+
"kimi-k3-fast",
|
|
2176
|
+
"kimi-latest"
|
|
2177
|
+
],
|
|
2178
|
+
endpointTypes: ["openai-chat-completions"]
|
|
2179
|
+
}] },
|
|
2180
|
+
"new-api": {
|
|
2181
|
+
"web-search": [{ ids: [
|
|
2154
2182
|
"claude-haiku-4-5",
|
|
2155
2183
|
"claude-opus-4",
|
|
2156
2184
|
"claude-opus-4-1",
|
|
@@ -2183,12 +2211,63 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
2183
2211
|
"gemini-3-flash-preview",
|
|
2184
2212
|
"gemini-3-pro-image",
|
|
2185
2213
|
"gemini-3-pro-image-preview",
|
|
2186
|
-
"gemini-4-argon",
|
|
2187
2214
|
"gemini-flash-latest",
|
|
2188
2215
|
"gemini-flash-lite-latest",
|
|
2189
|
-
"gemini-pro-latest"
|
|
2190
|
-
|
|
2191
|
-
|
|
2216
|
+
"gemini-pro-latest",
|
|
2217
|
+
"gpt-4-1",
|
|
2218
|
+
"gpt-4-1-mini",
|
|
2219
|
+
"gpt-4-1-nano",
|
|
2220
|
+
"gpt-4o",
|
|
2221
|
+
"gpt-4o-mini",
|
|
2222
|
+
"gpt-5",
|
|
2223
|
+
"gpt-5-1",
|
|
2224
|
+
"gpt-5-1-codex",
|
|
2225
|
+
"gpt-5-1-codex-max",
|
|
2226
|
+
"gpt-5-1-codex-mini",
|
|
2227
|
+
"gpt-5-2",
|
|
2228
|
+
"gpt-5-2-chat",
|
|
2229
|
+
"gpt-5-2-chat-latest",
|
|
2230
|
+
"gpt-5-2-codex",
|
|
2231
|
+
"gpt-5-2-pro",
|
|
2232
|
+
"gpt-5-3-chat-latest",
|
|
2233
|
+
"gpt-5-3-codex",
|
|
2234
|
+
"gpt-5-3-codex-spark",
|
|
2235
|
+
"gpt-5-4",
|
|
2236
|
+
"gpt-5-4-mini",
|
|
2237
|
+
"gpt-5-4-nano",
|
|
2238
|
+
"gpt-5-4-pro",
|
|
2239
|
+
"gpt-5-5",
|
|
2240
|
+
"gpt-5-5-pro",
|
|
2241
|
+
"gpt-5-6",
|
|
2242
|
+
"gpt-5-6-luna",
|
|
2243
|
+
"gpt-5-6-luna-pro",
|
|
2244
|
+
"gpt-5-6-sol",
|
|
2245
|
+
"gpt-5-6-sol-pro",
|
|
2246
|
+
"gpt-5-6-terra",
|
|
2247
|
+
"gpt-5-6-terra-pro",
|
|
2248
|
+
"gpt-5-chat",
|
|
2249
|
+
"gpt-5-codex",
|
|
2250
|
+
"gpt-5-mini",
|
|
2251
|
+
"gpt-5-nano",
|
|
2252
|
+
"gpt-5-pro",
|
|
2253
|
+
"o3",
|
|
2254
|
+
"o3-mini",
|
|
2255
|
+
"o3-pro",
|
|
2256
|
+
"o4-mini"
|
|
2257
|
+
] }],
|
|
2258
|
+
"url-context": [{ ids: [
|
|
2259
|
+
"claude-haiku-4-5",
|
|
2260
|
+
"claude-opus-4",
|
|
2261
|
+
"claude-opus-4-1",
|
|
2262
|
+
"claude-opus-4-5",
|
|
2263
|
+
"claude-opus-4-6",
|
|
2264
|
+
"claude-opus-4-6-v1",
|
|
2265
|
+
"claude-opus-4-7",
|
|
2266
|
+
"claude-opus-4-8",
|
|
2267
|
+
"claude-opus-4-8-fast",
|
|
2268
|
+
"claude-sonnet-4",
|
|
2269
|
+
"claude-sonnet-4-5",
|
|
2270
|
+
"claude-sonnet-4-6",
|
|
2192
2271
|
"gemini-2-5-computer-use-preview-10-2025",
|
|
2193
2272
|
"gemini-2-5-flash",
|
|
2194
2273
|
"gemini-2-5-flash-image",
|
|
@@ -2214,173 +2293,65 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
2214
2293
|
"gemini-3-flash-preview",
|
|
2215
2294
|
"gemini-3-pro-image",
|
|
2216
2295
|
"gemini-3-pro-image-preview",
|
|
2217
|
-
"gemini-4-argon",
|
|
2218
2296
|
"gemini-flash-latest",
|
|
2219
2297
|
"gemini-flash-lite-latest",
|
|
2220
2298
|
"gemini-pro-latest"
|
|
2221
|
-
]
|
|
2299
|
+
] }]
|
|
2222
2300
|
},
|
|
2223
|
-
|
|
2224
|
-
"
|
|
2225
|
-
"
|
|
2226
|
-
"
|
|
2227
|
-
"
|
|
2228
|
-
"
|
|
2229
|
-
"
|
|
2230
|
-
"
|
|
2231
|
-
"
|
|
2232
|
-
"
|
|
2233
|
-
"
|
|
2234
|
-
"
|
|
2235
|
-
"
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
"
|
|
2239
|
-
"
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2243
|
-
"
|
|
2244
|
-
"
|
|
2245
|
-
"
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"
|
|
2249
|
-
"
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
"
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
"kimi-k3",
|
|
2272
|
-
"minimax-m2-1",
|
|
2273
|
-
"qwen-flash",
|
|
2274
|
-
"qwen-plus",
|
|
2275
|
-
"qwen-plus-character",
|
|
2276
|
-
"qwen-plus-character-ja",
|
|
2277
|
-
"qwen-turbo",
|
|
2278
|
-
"qwen3-5-flash",
|
|
2279
|
-
"qwen3-5-flash-02-23",
|
|
2280
|
-
"qwen3-5-plus",
|
|
2281
|
-
"qwen3-5-plus-02-15",
|
|
2282
|
-
"qwen3-6-flash",
|
|
2283
|
-
"qwen3-6-max-preview",
|
|
2284
|
-
"qwen3-6-plus",
|
|
2285
|
-
"qwen3-7-max",
|
|
2286
|
-
"qwen3-7-plus",
|
|
2287
|
-
"qwen3-8-flash",
|
|
2288
|
-
"qwen3-8-flash-next",
|
|
2289
|
-
"qwen3-8-max",
|
|
2290
|
-
"qwen3-8-max-preview",
|
|
2291
|
-
"qwen3-max",
|
|
2292
|
-
"qwen3-max-preview",
|
|
2293
|
-
"qwq-plus"
|
|
2294
|
-
],
|
|
2295
|
-
"url-context": [
|
|
2296
|
-
"qwen-flash",
|
|
2297
|
-
"qwen-plus",
|
|
2298
|
-
"qwen-plus-character",
|
|
2299
|
-
"qwen-plus-character-ja",
|
|
2300
|
-
"qwen3-5-flash",
|
|
2301
|
-
"qwen3-5-flash-02-23",
|
|
2302
|
-
"qwen3-5-plus",
|
|
2303
|
-
"qwen3-5-plus-02-15",
|
|
2304
|
-
"qwen3-6-flash",
|
|
2305
|
-
"qwen3-6-max-preview",
|
|
2306
|
-
"qwen3-6-plus",
|
|
2307
|
-
"qwen3-7-max",
|
|
2308
|
-
"qwen3-7-plus",
|
|
2309
|
-
"qwen3-8-flash",
|
|
2310
|
-
"qwen3-8-flash-next",
|
|
2311
|
-
"qwen3-8-max",
|
|
2312
|
-
"qwen3-8-max-preview",
|
|
2313
|
-
"qwen3-max",
|
|
2314
|
-
"qwen3-max-preview"
|
|
2315
|
-
]
|
|
2316
|
-
},
|
|
2317
|
-
doubao: { "web-search": [
|
|
2318
|
-
"doubao-seed-1-6",
|
|
2319
|
-
"doubao-seed-1-8",
|
|
2320
|
-
"doubao-seed-2-0-code-preview",
|
|
2321
|
-
"doubao-seed-2-0-lite",
|
|
2322
|
-
"doubao-seed-2-0-mini",
|
|
2323
|
-
"doubao-seed-2-0-pro",
|
|
2324
|
-
"doubao-seed-2-1-pro",
|
|
2325
|
-
"doubao-seed-2-1-turbo",
|
|
2326
|
-
"doubao-seed-character",
|
|
2327
|
-
"doubao-seed-evolving"
|
|
2328
|
-
] },
|
|
2329
|
-
grok: { "web-search": [
|
|
2330
|
-
"grok-4",
|
|
2331
|
-
"grok-4-1",
|
|
2332
|
-
"grok-4-1-fast",
|
|
2333
|
-
"grok-4-1-fast-non-reasoning",
|
|
2334
|
-
"grok-4-20",
|
|
2335
|
-
"grok-4-20-0309-non-reasoning",
|
|
2336
|
-
"grok-4-20-multi-agent",
|
|
2337
|
-
"grok-4-20-multi-agent-beta",
|
|
2338
|
-
"grok-4-20-non-reasoning",
|
|
2339
|
-
"grok-4-20-non-reasoning-beta",
|
|
2340
|
-
"grok-4-20-reasoning-beta",
|
|
2341
|
-
"grok-4-3",
|
|
2342
|
-
"grok-4-5",
|
|
2343
|
-
"grok-4-6",
|
|
2344
|
-
"grok-4-7",
|
|
2345
|
-
"grok-4-fast"
|
|
2346
|
-
] },
|
|
2347
|
-
perplexity: { "web-search": [
|
|
2301
|
+
openai: { "web-search": [{ ids: [
|
|
2302
|
+
"gpt-4-1",
|
|
2303
|
+
"gpt-4-1-mini",
|
|
2304
|
+
"gpt-4-1-nano",
|
|
2305
|
+
"gpt-4o",
|
|
2306
|
+
"gpt-4o-mini",
|
|
2307
|
+
"gpt-5",
|
|
2308
|
+
"gpt-5-1",
|
|
2309
|
+
"gpt-5-1-codex",
|
|
2310
|
+
"gpt-5-1-codex-max",
|
|
2311
|
+
"gpt-5-1-codex-mini",
|
|
2312
|
+
"gpt-5-2",
|
|
2313
|
+
"gpt-5-2-chat",
|
|
2314
|
+
"gpt-5-2-chat-latest",
|
|
2315
|
+
"gpt-5-2-codex",
|
|
2316
|
+
"gpt-5-2-pro",
|
|
2317
|
+
"gpt-5-3-chat-latest",
|
|
2318
|
+
"gpt-5-3-codex",
|
|
2319
|
+
"gpt-5-3-codex-spark",
|
|
2320
|
+
"gpt-5-4",
|
|
2321
|
+
"gpt-5-4-mini",
|
|
2322
|
+
"gpt-5-4-nano",
|
|
2323
|
+
"gpt-5-4-pro",
|
|
2324
|
+
"gpt-5-5",
|
|
2325
|
+
"gpt-5-5-pro",
|
|
2326
|
+
"gpt-5-6",
|
|
2327
|
+
"gpt-5-6-luna",
|
|
2328
|
+
"gpt-5-6-luna-pro",
|
|
2329
|
+
"gpt-5-6-sol",
|
|
2330
|
+
"gpt-5-6-sol-pro",
|
|
2331
|
+
"gpt-5-6-terra",
|
|
2332
|
+
"gpt-5-6-terra-pro",
|
|
2333
|
+
"gpt-5-chat",
|
|
2334
|
+
"gpt-5-codex",
|
|
2335
|
+
"gpt-5-mini",
|
|
2336
|
+
"gpt-5-nano",
|
|
2337
|
+
"gpt-5-pro",
|
|
2338
|
+
"gpt-6-1-sol",
|
|
2339
|
+
"gpt-6-1-terra",
|
|
2340
|
+
"gpt-6-astra",
|
|
2341
|
+
"gpt-6-luna",
|
|
2342
|
+
"gpt-6-sol",
|
|
2343
|
+
"o3",
|
|
2344
|
+
"o3-mini",
|
|
2345
|
+
"o3-pro",
|
|
2346
|
+
"o4-mini"
|
|
2347
|
+
] }] },
|
|
2348
|
+
perplexity: { "web-search": [{ ids: [
|
|
2348
2349
|
"sonar",
|
|
2349
2350
|
"sonar-deep-research",
|
|
2350
2351
|
"sonar-pro",
|
|
2351
2352
|
"sonar-reasoning-pro"
|
|
2352
|
-
] },
|
|
2353
|
-
"
|
|
2354
|
-
"web-search": [
|
|
2355
|
-
"claude-haiku-4-5",
|
|
2356
|
-
"claude-opus-4",
|
|
2357
|
-
"claude-opus-4-1",
|
|
2358
|
-
"claude-opus-4-5",
|
|
2359
|
-
"claude-opus-4-6",
|
|
2360
|
-
"claude-opus-4-6-v1",
|
|
2361
|
-
"claude-opus-4-7",
|
|
2362
|
-
"claude-opus-4-8",
|
|
2363
|
-
"claude-opus-4-8-fast",
|
|
2364
|
-
"claude-sonnet-4",
|
|
2365
|
-
"claude-sonnet-4-5",
|
|
2366
|
-
"claude-sonnet-4-6"
|
|
2367
|
-
],
|
|
2368
|
-
"url-context": [
|
|
2369
|
-
"claude-haiku-4-5",
|
|
2370
|
-
"claude-opus-4",
|
|
2371
|
-
"claude-opus-4-1",
|
|
2372
|
-
"claude-opus-4-5",
|
|
2373
|
-
"claude-opus-4-6",
|
|
2374
|
-
"claude-opus-4-6-v1",
|
|
2375
|
-
"claude-opus-4-7",
|
|
2376
|
-
"claude-opus-4-8",
|
|
2377
|
-
"claude-opus-4-8-fast",
|
|
2378
|
-
"claude-sonnet-4",
|
|
2379
|
-
"claude-sonnet-4-5",
|
|
2380
|
-
"claude-sonnet-4-6"
|
|
2381
|
-
]
|
|
2382
|
-
},
|
|
2383
|
-
poe: { "web-search": [
|
|
2353
|
+
] }] },
|
|
2354
|
+
poe: { "web-search": [{ ids: [
|
|
2384
2355
|
"claude-haiku-4-5",
|
|
2385
2356
|
"claude-opus-4",
|
|
2386
2357
|
"claude-opus-4-1",
|
|
@@ -2562,13 +2533,171 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
|
|
|
2562
2533
|
"sonar-deep-research",
|
|
2563
2534
|
"sonar-pro",
|
|
2564
2535
|
"sonar-reasoning-pro"
|
|
2565
|
-
] }
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2536
|
+
] }] },
|
|
2537
|
+
qwencloud: {
|
|
2538
|
+
"web-search": [
|
|
2539
|
+
{
|
|
2540
|
+
ids: [
|
|
2541
|
+
"qwen3-5-122b-a10b",
|
|
2542
|
+
"qwen3-5-27b",
|
|
2543
|
+
"qwen3-5-35b-a3b",
|
|
2544
|
+
"qwen3-5-397b-a17b",
|
|
2545
|
+
"qwen3-5-flash",
|
|
2546
|
+
"qwen3-5-flash-02-23",
|
|
2547
|
+
"qwen3-5-plus",
|
|
2548
|
+
"qwen3-5-plus-02-15",
|
|
2549
|
+
"qwen3-6-27b",
|
|
2550
|
+
"qwen3-6-35b-a3b",
|
|
2551
|
+
"qwen3-6-flash",
|
|
2552
|
+
"qwen3-6-plus",
|
|
2553
|
+
"qwen3-7-flash",
|
|
2554
|
+
"qwen3-7-max",
|
|
2555
|
+
"qwen3-7-plus",
|
|
2556
|
+
"qwen3-8-2-4t-a95b",
|
|
2557
|
+
"qwen3-8-27b",
|
|
2558
|
+
"qwen3-8-flash",
|
|
2559
|
+
"qwen3-8-flash-next",
|
|
2560
|
+
"qwen3-8-max",
|
|
2561
|
+
"qwen3-8-omni-flash",
|
|
2562
|
+
"qwen3-max",
|
|
2563
|
+
"qwen3-max-preview"
|
|
2564
|
+
],
|
|
2565
|
+
endpointTypes: ["openai-chat-completions"]
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
ids: [
|
|
2569
|
+
"deepseek-v4-1-flash",
|
|
2570
|
+
"deepseek-v4-flash",
|
|
2571
|
+
"deepseek-v4-pro",
|
|
2572
|
+
"glm-5-2",
|
|
2573
|
+
"kimi-k3"
|
|
2574
|
+
],
|
|
2575
|
+
endpointTypes: ["openai-responses"]
|
|
2576
|
+
},
|
|
2577
|
+
{
|
|
2578
|
+
ids: ["deepseek-v4-1-flash", "qwen3-8-max"],
|
|
2579
|
+
endpointTypes: ["anthropic-messages"]
|
|
2580
|
+
}
|
|
2581
|
+
],
|
|
2582
|
+
"url-context": [{
|
|
2583
|
+
ids: ["deepseek-v4-1-flash", "qwen3-8-max"],
|
|
2584
|
+
endpointTypes: ["anthropic-messages"]
|
|
2585
|
+
}]
|
|
2586
|
+
},
|
|
2587
|
+
vertexai: {
|
|
2588
|
+
"web-search": [{ ids: [
|
|
2589
|
+
"claude-haiku-4-5",
|
|
2590
|
+
"claude-opus-4",
|
|
2591
|
+
"claude-opus-4-1",
|
|
2592
|
+
"claude-opus-4-5",
|
|
2593
|
+
"claude-opus-4-6",
|
|
2594
|
+
"claude-opus-4-6-v1",
|
|
2595
|
+
"claude-opus-4-7",
|
|
2596
|
+
"claude-opus-4-8",
|
|
2597
|
+
"claude-opus-4-8-fast",
|
|
2598
|
+
"claude-sonnet-4",
|
|
2599
|
+
"claude-sonnet-4-5",
|
|
2600
|
+
"claude-sonnet-4-6",
|
|
2601
|
+
"gemini-2-5-computer-use-preview-10-2025",
|
|
2602
|
+
"gemini-2-5-flash",
|
|
2603
|
+
"gemini-2-5-flash-lite",
|
|
2604
|
+
"gemini-2-5-pro",
|
|
2605
|
+
"gemini-2-5-pro-preview",
|
|
2606
|
+
"gemini-2-5-pro-preview-05-06",
|
|
2607
|
+
"gemini-3-1-flash-lite",
|
|
2608
|
+
"gemini-3-1-flash-lite-preview",
|
|
2609
|
+
"gemini-3-1-flash-live-preview",
|
|
2610
|
+
"gemini-3-1-pro-preview",
|
|
2611
|
+
"gemini-3-1-pro-preview-customtools",
|
|
2612
|
+
"gemini-3-5-flash",
|
|
2613
|
+
"gemini-3-5-flash-lite",
|
|
2614
|
+
"gemini-3-6-flash",
|
|
2615
|
+
"gemini-3-7-flash",
|
|
2616
|
+
"gemini-3-8-flash",
|
|
2617
|
+
"gemini-3-flash",
|
|
2618
|
+
"gemini-3-flash-preview",
|
|
2619
|
+
"gemini-3-pro-image",
|
|
2620
|
+
"gemini-3-pro-image-preview",
|
|
2621
|
+
"gemini-4-argon",
|
|
2622
|
+
"gemini-flash-latest",
|
|
2623
|
+
"gemini-flash-lite-latest",
|
|
2624
|
+
"gemini-pro-latest"
|
|
2625
|
+
] }],
|
|
2626
|
+
"url-context": [{ ids: [
|
|
2627
|
+
"gemini-2-5-computer-use-preview-10-2025",
|
|
2628
|
+
"gemini-2-5-flash",
|
|
2629
|
+
"gemini-2-5-flash-image",
|
|
2630
|
+
"gemini-2-5-flash-image-preview",
|
|
2631
|
+
"gemini-2-5-flash-lite",
|
|
2632
|
+
"gemini-2-5-pro",
|
|
2633
|
+
"gemini-2-5-pro-preview",
|
|
2634
|
+
"gemini-2-5-pro-preview-05-06",
|
|
2635
|
+
"gemini-3-1-flash-image",
|
|
2636
|
+
"gemini-3-1-flash-image-preview",
|
|
2637
|
+
"gemini-3-1-flash-lite",
|
|
2638
|
+
"gemini-3-1-flash-lite-image",
|
|
2639
|
+
"gemini-3-1-flash-lite-preview",
|
|
2640
|
+
"gemini-3-1-flash-live-preview",
|
|
2641
|
+
"gemini-3-1-pro-preview",
|
|
2642
|
+
"gemini-3-1-pro-preview-customtools",
|
|
2643
|
+
"gemini-3-5-flash",
|
|
2644
|
+
"gemini-3-5-flash-lite",
|
|
2645
|
+
"gemini-3-6-flash",
|
|
2646
|
+
"gemini-3-7-flash",
|
|
2647
|
+
"gemini-3-8-flash",
|
|
2648
|
+
"gemini-3-flash",
|
|
2649
|
+
"gemini-3-flash-preview",
|
|
2650
|
+
"gemini-3-pro-image",
|
|
2651
|
+
"gemini-3-pro-image-preview",
|
|
2652
|
+
"gemini-4-argon",
|
|
2653
|
+
"gemini-flash-latest",
|
|
2654
|
+
"gemini-flash-lite-latest",
|
|
2655
|
+
"gemini-pro-latest"
|
|
2656
|
+
] }]
|
|
2657
|
+
},
|
|
2658
|
+
zhipu: { "web-search": [{ ids: [
|
|
2659
|
+
"glm-4",
|
|
2660
|
+
"glm-4-1v",
|
|
2661
|
+
"glm-4-5",
|
|
2662
|
+
"glm-4-5-air",
|
|
2663
|
+
"glm-4-5-flash",
|
|
2664
|
+
"glm-4-5v",
|
|
2665
|
+
"glm-4-6",
|
|
2666
|
+
"glm-4-6v",
|
|
2667
|
+
"glm-4-7",
|
|
2668
|
+
"glm-4-7-flash",
|
|
2669
|
+
"glm-4-7-flashx",
|
|
2670
|
+
"glm-4-7-maas",
|
|
2671
|
+
"glm-4-air",
|
|
2672
|
+
"glm-4-airx",
|
|
2673
|
+
"glm-4-flash",
|
|
2674
|
+
"glm-4-flashx",
|
|
2675
|
+
"glm-4-long",
|
|
2676
|
+
"glm-4-plus",
|
|
2677
|
+
"glm-5",
|
|
2678
|
+
"glm-5-1",
|
|
2679
|
+
"glm-5-2",
|
|
2680
|
+
"glm-5-2-fast",
|
|
2681
|
+
"glm-5-3",
|
|
2682
|
+
"glm-5-3-fast",
|
|
2683
|
+
"glm-5-3-flash",
|
|
2684
|
+
"glm-5-maas",
|
|
2685
|
+
"glm-5-turbo"
|
|
2686
|
+
] }] }
|
|
2687
|
+
}).map(([providerId, tools]) => [providerId, new Map(Object.entries(tools).map(([tool, declarations]) => [tool, declarations.map((declaration) => ({
|
|
2688
|
+
ids: new Set(declaration.ids),
|
|
2689
|
+
...declaration.endpointTypes ? { endpointTypes: new Set(declaration.endpointTypes) } : {}
|
|
2690
|
+
}))]))]));
|
|
2691
|
+
/**
|
|
2692
|
+
* A model is eligible when SOME declaration claims it and — once the caller pins the request's
|
|
2693
|
+
* endpoint — that same declaration serves the endpoint. An undefined endpoint never excludes by
|
|
2694
|
+
* endpoint, so broad "is this model declared" queries keep working.
|
|
2695
|
+
*/
|
|
2696
|
+
function isServerToolModelEligible(rawModelId, providerId, tool, endpointType) {
|
|
2697
|
+
const declarations = ELIGIBLE_DECLARATIONS.get(providerId)?.get(tool);
|
|
2698
|
+
if (!declarations?.length) return false;
|
|
2570
2699
|
const exact = normalizeModelId(rawModelId, { keepParameterSize: true });
|
|
2571
|
-
return ids.has(exact) || ids.has(normalizeModelId(rawModelId));
|
|
2700
|
+
return declarations.some((declaration) => (declaration.ids.has(exact) || declaration.ids.has(normalizeModelId(rawModelId))) && (!declaration.endpointTypes?.size || endpointType === void 0 || declaration.endpointTypes.has(endpointType)));
|
|
2572
2701
|
}
|
|
2573
2702
|
//#endregion
|
|
2574
2703
|
export { CANONICAL_PARAM_KEY, CURRENCY, CatalogManifestSchema, ENDPOINT_TYPE, FastModeTransportSchema, IMAGE_PARAM_CATALOG, IMAGE_PARAM_CATALOG_KEYS, ImageGenerationModeSchema, ImageGenerationSupportSchema, MODALITY, MODEL_CAPABILITY, ModelConfigSchema, ModelListSchema, ProviderConfigSchema, ProviderEditionSchema, ProviderListSchema, ProviderModelListSchema, ProviderModelOverrideSchema, ProviderModelReasoningContractSchema, REASONING_EFFORT, REASONING_EFFORT_ORDER, REASONING_FORMAT_PROFILES, REASONING_FORMAT_TYPES, REASONING_WIRE_TARGETS, REGISTRY_FILES, REGISTRY_MIN_APP_VERSION, REGISTRY_SCHEMA_VERSION, REMOTE_REGISTRY_FILES, ReasoningControlSchema, ReasoningFormatWireProfileSchema, ReasoningWireProfileSchema, SERVER_TOOL, SERVER_TOOL_MODEL_SCOPE, ServerToolConfigSchema, ServiceTierDeliverySchema, ServiceTierOptionsSchema, ServiceTierRequestControlSchema, ServiceTierSelectionSchema, VENDOR_PATTERNS, buildParamsSchema, buildPersistedEndpointConfigs, configureOpenAIResponsesSummary, createRegistry, deriveLegacyReasoningFields, endpointImpliedCapability, imageParamsSchema, inferAdapterFamily, inferReasoningControls, inferReasoningMembership, inferReasoningOwnedBy, isServerToolModelEligible, isVendor, isWebSearchEffortUnsupported, lookupRegistryModel, lookupRegistryProvider, matchVendor, normalizeImageParamNumber, normalizeModelId, objectValues, openaiResponsesSummaryWire, paramCatalogEntry, parseImageParamValue, parseModelSnapshot, selectFormatWire, stripBedrockDottedVendorPrefix, stripBedrockRevision, stripDateSnapshot, stripVariantQuantDateSuffixes, supportsServerToolFunctionMixing, wireName };
|