@jambonz/llm 0.2.1 → 0.2.3
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/dist/index.cjs +22 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -33
- package/dist/index.js.map +1 -1
- package/dist/test-kit/index.cjs +22 -33
- package/dist/test-kit/index.cjs.map +1 -1
- package/dist/test-kit/index.js +22 -33
- package/dist/test-kit/index.js.map +1 -1
- package/package.json +1 -1
package/dist/test-kit/index.cjs
CHANGED
|
@@ -1597,7 +1597,7 @@ var VertexOpenAIAdapter = class {
|
|
|
1597
1597
|
if (!auth.location) {
|
|
1598
1598
|
throw new Error("VertexOpenAIAdapter: location is required");
|
|
1599
1599
|
}
|
|
1600
|
-
const baseURL = `https://${auth.location}-aiplatform.googleapis.com/
|
|
1600
|
+
const baseURL = `https://${auth.location}-aiplatform.googleapis.com/v1beta1/projects/${auth.projectId}/locations/${auth.location}/endpoints/openapi`;
|
|
1601
1601
|
const googleAuth = new import_google_auth_library.GoogleAuth({
|
|
1602
1602
|
credentials: auth.credentials,
|
|
1603
1603
|
scopes: ["https://www.googleapis.com/auth/cloud-platform"]
|
|
@@ -1656,52 +1656,52 @@ var import_client_bedrock_runtime = require("@aws-sdk/client-bedrock-runtime");
|
|
|
1656
1656
|
// src/adapters/bedrock/manifest.ts
|
|
1657
1657
|
var BEDROCK_KNOWN_MODELS = [
|
|
1658
1658
|
{
|
|
1659
|
-
id: "
|
|
1660
|
-
displayName: "
|
|
1659
|
+
id: "amazon.nova-micro-v1:0",
|
|
1660
|
+
displayName: "Amazon Nova Micro",
|
|
1661
1661
|
capabilities: {
|
|
1662
1662
|
streaming: true,
|
|
1663
1663
|
tools: true,
|
|
1664
1664
|
vision: false,
|
|
1665
1665
|
systemPrompt: true,
|
|
1666
|
-
maxContextTokens:
|
|
1666
|
+
maxContextTokens: 128e3
|
|
1667
1667
|
}
|
|
1668
1668
|
},
|
|
1669
1669
|
{
|
|
1670
|
-
id: "
|
|
1671
|
-
displayName: "
|
|
1670
|
+
id: "amazon.nova-lite-v1:0",
|
|
1671
|
+
displayName: "Amazon Nova Lite",
|
|
1672
1672
|
capabilities: {
|
|
1673
1673
|
streaming: true,
|
|
1674
1674
|
tools: true,
|
|
1675
|
-
vision:
|
|
1675
|
+
vision: true,
|
|
1676
1676
|
systemPrompt: true,
|
|
1677
|
-
maxContextTokens:
|
|
1677
|
+
maxContextTokens: 3e5
|
|
1678
1678
|
}
|
|
1679
1679
|
},
|
|
1680
1680
|
{
|
|
1681
|
-
id: "
|
|
1682
|
-
displayName: "
|
|
1681
|
+
id: "amazon.nova-pro-v1:0",
|
|
1682
|
+
displayName: "Amazon Nova Pro",
|
|
1683
1683
|
capabilities: {
|
|
1684
1684
|
streaming: true,
|
|
1685
1685
|
tools: true,
|
|
1686
1686
|
vision: true,
|
|
1687
1687
|
systemPrompt: true,
|
|
1688
|
-
maxContextTokens:
|
|
1688
|
+
maxContextTokens: 3e5
|
|
1689
1689
|
}
|
|
1690
1690
|
},
|
|
1691
1691
|
{
|
|
1692
|
-
id: "anthropic.claude-3-5-
|
|
1693
|
-
displayName: "Claude 3.5
|
|
1692
|
+
id: "anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
1693
|
+
displayName: "Claude 3.5 Haiku (on Bedrock)",
|
|
1694
1694
|
capabilities: {
|
|
1695
1695
|
streaming: true,
|
|
1696
1696
|
tools: true,
|
|
1697
|
-
vision:
|
|
1697
|
+
vision: false,
|
|
1698
1698
|
systemPrompt: true,
|
|
1699
1699
|
maxContextTokens: 2e5
|
|
1700
1700
|
}
|
|
1701
1701
|
},
|
|
1702
1702
|
{
|
|
1703
|
-
id: "anthropic.claude-3-
|
|
1704
|
-
displayName: "Claude 3.
|
|
1703
|
+
id: "anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
1704
|
+
displayName: "Claude 3.5 Sonnet (on Bedrock)",
|
|
1705
1705
|
capabilities: {
|
|
1706
1706
|
streaming: true,
|
|
1707
1707
|
tools: true,
|
|
@@ -1711,36 +1711,25 @@ var BEDROCK_KNOWN_MODELS = [
|
|
|
1711
1711
|
}
|
|
1712
1712
|
},
|
|
1713
1713
|
{
|
|
1714
|
-
id: "
|
|
1715
|
-
displayName: "
|
|
1716
|
-
capabilities: {
|
|
1717
|
-
streaming: true,
|
|
1718
|
-
tools: true,
|
|
1719
|
-
vision: false,
|
|
1720
|
-
systemPrompt: true,
|
|
1721
|
-
maxContextTokens: 128e3
|
|
1722
|
-
}
|
|
1723
|
-
},
|
|
1724
|
-
{
|
|
1725
|
-
id: "amazon.nova-lite-v1:0",
|
|
1726
|
-
displayName: "Amazon Nova Lite",
|
|
1714
|
+
id: "anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
1715
|
+
displayName: "Claude 3.5 Sonnet v2 (on Bedrock)",
|
|
1727
1716
|
capabilities: {
|
|
1728
1717
|
streaming: true,
|
|
1729
1718
|
tools: true,
|
|
1730
1719
|
vision: true,
|
|
1731
1720
|
systemPrompt: true,
|
|
1732
|
-
maxContextTokens:
|
|
1721
|
+
maxContextTokens: 2e5
|
|
1733
1722
|
}
|
|
1734
1723
|
},
|
|
1735
1724
|
{
|
|
1736
|
-
id: "
|
|
1737
|
-
displayName: "
|
|
1725
|
+
id: "anthropic.claude-3-7-sonnet-20250219-v1:0",
|
|
1726
|
+
displayName: "Claude 3.7 Sonnet (on Bedrock)",
|
|
1738
1727
|
capabilities: {
|
|
1739
1728
|
streaming: true,
|
|
1740
1729
|
tools: true,
|
|
1741
1730
|
vision: true,
|
|
1742
1731
|
systemPrompt: true,
|
|
1743
|
-
maxContextTokens:
|
|
1732
|
+
maxContextTokens: 2e5
|
|
1744
1733
|
}
|
|
1745
1734
|
},
|
|
1746
1735
|
{
|