Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat(playground): add support for claude sonnet 4.5 (#9410)

Nimar0f43240c3525
diff --git a/packages/shared/package.json b/packages/shared/package.json
index e07a6cfd57..a078138686 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -63,7 +63,7 @@
"@azure/storage-blob": "^12.26.0",
"@clickhouse/client": "^1.12.1",
"@google-cloud/storage": "^7.17.0",
- "@langchain/anthropic": "^0.3.27",
+ "@langchain/anthropic": "^0.3.29",
"@langchain/aws": "^0.1.11",
"@langchain/core": "^0.3.58",
"@langchain/google-genai": "^0.2.12",
@@ -86,7 +86,7 @@
"ipaddr.js": "^2.2.0",
"jsonpath-plus": "10.3.0",
"kysely": "^0.27.4",
- "langchain": "^0.3.28",
+ "langchain": "^0.3.30",
"langfuse-langchain": "3.38.4",
"lodash": "^4.17.21",
"lossless-json": "^4.1.1",
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.ts
index 9d531122cd..490b5de93f 100644
--- a/packages/shared/src/server/llm/types.ts
+++ b/packages/shared/src/server/llm/types.ts
@@ -389,6 +389,7 @@ export type OpenAIModel = (typeof openAIModels)[number];
// NOTE: Update docs page when changing this! https://langfuse.com/docs/prompt-management/features/playground#openai-playground--anthropic-playground
// WARNING: The first entry in the array is chosen as the default model to add LLM API keys
export const anthropicModels = [
+ "claude-sonnet-4-5-20250929",
"claude-sonnet-4-20250514",
"claude-opus-4-1-20250805",
"claude-opus-4-20250514",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 735cb82444..a887d188bc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -156,23 +156,23 @@ importers:
specifier: ^7.17.0
version: 7.17.0
'@langchain/anthropic':
- specifier: ^0.3.27
+ specifier: ^0.3.29
'@langchain/aws':
specifier: ^0.1.11
'@langchain/core':
specifier: ^0.3.58
'@langchain/google-genai':
specifier: ^0.2.12
'@langchain/google-vertexai':
specifier: ^0.2.12
'@langchain/openai':
specifier: ^0.5.13
'@opentelemetry/api':
specifier: '>=1.0.0 <1.10.0'
version: 1.9.0
@@ -225,11 +225,11 @@ importers:
specifier: ^0.27.4
version: 0.27.4
langchain:
- specifier: ^0.3.28
+ specifier: ^0.3.30
langfuse-langchain:
specifier: 3.38.4
lodash:
specifier: ^4.17.21
version: 4.17.21
@@ -613,8 +613,8 @@ importers:
specifier: ^0.27.4
version: 0.27.4
langchain:
- specifier: ^0.3.28
+ specifier: ^0.3.30
lodash:
specifier: ^4.17.21
version: 4.17.21
@@ -1039,7 +1039,7 @@ importers:
version: 5.9.2
vitest:
specifier: ^3.2.4
wait-for-expect:
specifier: ^3.0.2
version: 3.0.2
@@ -1132,9 +1132,14 @@ packages:
resolution: {integrity: sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==}
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-SLCB8M8+VMg1cpCucnA1XWHGWqVSZtIWzmOdDOEu3eTFZMB+A0sGZ1ESO5MHDnqrNTXz3safMrWx9x4rMZSOqA==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-zIdPOcrCVEI8t3Di40nH4z9EoeyGZfXbYSvWdDLsB/KkaSYMnEgC7gmcgWu83g2NTn1ZTpbMvpdttWDGGIk6zw==}
hasBin: true
+ peerDependencies:
+ zod: ^3.25.0 || ^4.0.0
+ peerDependenciesMeta:
+ zod:
+ optional: true
'@anthropic-ai/[email protected]':
resolution: {integrity: sha512-EHRKbxlxlc8W4KCBEseByJ7YwyYCmgu9OyN59H9+IYIGPoKv8tXyQXinkeGDI+cI8Tiuz9wk2jZb/kK7AyvL7g==}
@@ -2718,8 +2723,8 @@ packages:
peerDependencies:
jsep: ^0.4.0||^1.0.0
- '@langchain/[email protected]':
- resolution: {integrity: sha512-d4YUwZRjUGAMHTrv7U1jKqsvDrmns9/Ua2I/8BUPbCEBTswowGZUb0Om1KcjXG7MqehrJ03Gd78plckQ8Q7qfw==}
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-50JWZi8JEEpp+J1WQYNyOj6qkKxvJUHNHksHFOzz2SJ0WF0Fcx5PVss3aDBVRephGppZhOpja1SZ7xdIW49EZA==}
engines: {node: '>=18'}
peerDependencies:
'@langchain/core': '>=0.3.58 <0.4.0'
@@ -6302,8 +6307,8 @@ packages:
resolution: {integrity: sha512-mcE+Wr2CAhHNWxXN/DdTI+n4gsPc5QpXpWnyCQWiQYIYZX+ZMJ8juXZgjRa/0/YPJo/NSsgW15/YgmI4nbysYw==}
hasBin: true
- resolution: {integrity: sha512-wrH5NNqren/QMtKUEEJf7z86YjfqW/2uw3IL3/xpqZUC95SSVIFXYQeeGjL6FT/X68IROu6RMehZQS5foy2BXw==}
+ resolution: {integrity: sha512-hY/u2lxLrbecMEWSB0IpGzGyDyeoMFQhCvZd2jGFSE5I17Fh01sYUBPCJtkWERw7zrac9+cIghxm/ytJa2X8iA==}
hasBin: true
@@ -6466,8 +6471,8 @@ packages:
resolution: {integrity: sha512-QGUGitqsc8ARjLdgAfxETDhRbJ0REsP6O3I96TAth/mVjh2cYzN2u+3AzPP3aVSm2FehEItaJw1xd+IGBXWeSw==}
- resolution: {integrity: sha512-e6Ojr7RV14Un7dz6ASD0aZDmQPT/A+eZU+nuTNfjqmRrmkmQlnTNWH0SKmqagx9PeW87UVqapSurtAXifmtdmw==}
+ resolution: {integrity: sha512-eA7Ys/DGw+pnkWWSE/id29f2IcPHVoE8wxtvE5JdvD2V28VTDPy1yEeo11Guz0sJ4ZeGRcm3uaTcAqK1LXaphA==}
resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
@@ -6736,6 +6741,9 @@ packages:
resolution: {integrity: sha512-wKGOQRRvdnd89pCeH96e2Fn4wkbenSP6LMHfjfyNLMbGuHEFbMqQNuxXqd0oXG9caIOQ1FTvc5Uijp9/4jujnQ==}
+ resolution: {integrity: sha512-MCBl5HNVaFuuHW6FGbL/4fB7N/ormCy+tQ+sxTrF6QtSbSNETvPuOVbkJBhzDgYhvjWGrTma4eYJa37ZuoQsPw==}
+
resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}
engines: {node: '>= 0.6'}
@@ -7396,8 +7404,8 @@ packages:
resolution: {integrity: sha512-uwwdN0TUHs8u6iRgN8vKeWZMRll4gBkz+QMqdS7DDe49uiK68/UX92lFb61oiFPrpYZNeZIqa4bA7O6Aiasnzg==}
- resolution: {integrity: sha512-gA7psSwSwQRE60CEoLz6JBCQPIxNeuzB2nL8vE03GK/OHxlvykbLyeiumQy1iH5C2f3YbRAZpGCMT12a/9ih9w==}
+ resolution: {integrity: sha512-ITxuoPfJu3lsNWUi2lBM2PaBPYgH3uqmxut5vmBxgYvyI4AlJ6P3Cai1O76mOrkJCBzq0IxWg/NtqOrpu/0gKA==}
resolution: {integrity: sha512-+cYTcFB1QqD4j4LegwLfpCNxifb6dDFUAwk6RsLusCwIaZI6or2f+q8rs5tTB2YC53HhOlIbEaqHMAAC8IOIwA==}
@@ -9096,6 +9104,9 @@ packages:
resolution: {integrity: sha512-65ruOWWXDEZHHbAo7EjOcNxOGasQKbL4Fq3jEr2xsCqSsoOo6VVSqzWQb6PRIqypFSDcma4jO90YP0w5X8qVXQ==}
+ resolution: {integrity: sha512-biOj/6M5qdgx5TKjDnFT1ymSpM5tbd3ylwDtrQvFQSu0Z7bBYko2dF+W/aUkXUPuk6IVpRxk/3Q2sHOzGlS36g==}
+
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
@@ -9149,6 +9160,10 @@ packages:
resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}
+ resolution: {integrity: sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==}
+ engines: {node: '>=16'}
+
resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}
@@ -9276,8 +9291,8 @@ packages:
resolution: {integrity: sha512-dyNKv2KRvYOQPLCAOCjjQuCk4YFd33BvGdf/o5bC7FiW+BB6snA81Zt+2wT9QDFzKqxKa5rrOmvlK/anehCcgA==}
engines: {node: '>=14.0.0'}
- resolution: {integrity: sha512-h4GGlBJNGU/Sj2PipW9kL+ewj7To3c+SnnNKH3HZaVHEqGPMHVB96T1lLjtCLcZCyUfabMr/zFIkLNI4War+Xg==}
+ resolution: {integrity: sha512-UyVsfwHDpHbrnWrjWuhJHqi8Non+Zcsf2kdpDTqyJF8NXrHBOpjdHT5LvPuW9fnE7miDTWf5mLcrWAGZgcrznQ==}
engines: {node: '>=18'}
peerDependencies:
'@langchain/anthropic': '*'
@@ -9360,6 +9375,23 @@ packages:
openai:
optional: true
+ resolution: {integrity: sha512-xl00JZso7J3OaurUQ+seT2qRJ34OGZXYAvCYj3vNC3TB+JOcdcYZ1uLvENqOloKB8VCiADh1eZ0FG3Cj/cy2FQ==}
+ peerDependencies:
+ '@opentelemetry/api': '*'
+ '@opentelemetry/exporter-trace-otlp-proto': '*'
+ '@opentelemetry/sdk-trace-base': '*'
+ openai: '*'
+ peerDependenciesMeta:
+ '@opentelemetry/api':
+ optional: true
+ '@opentelemetry/exporter-trace-otlp-proto':
+ optional: true
+ '@opentelemetry/sdk-trace-base':
+ optional: true
+ openai:
+ optional: true
+
resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==}
@@ -10283,6 +10315,18 @@ packages:
zod:
optional: true
+ resolution: {integrity: sha512-xqzHHQch5Tws5PcKR2xsZGX9xtch+JQFz5zb14dGqlshmmDAFBFEWmeIpf7wVqWV+w7Emj7jRgkNJakyKE0tYQ==}
+ hasBin: true
+ peerDependencies:
+ ws: ^8.18.0
+ zod: ^3.23.8
+ peerDependenciesMeta:
+ ws:
+ optional: true
+ zod:
+ optional: true
+
resolution: {integrity: sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==}
@@ -10888,7 +10932,7 @@ packages:
resolution: {integrity: sha512-39olGaX2djYUdhaQQHDZ0T0GwEp+5f9UB9HmEP0qHfdQHIq0xGQZuAZ5TLnJIc/88SrPLpEflPC+xUqOTv3c5g==}
- deprecated: < 24.10.2 is no longer supported
+ deprecated: < 22.8.2 is no longer supported
resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==}
@@ -11485,6 +11529,9 @@ packages:
resolution: {integrity: sha512-xMO/8eNREtaROt7tJvWJqHBDTMFN4eiQ5I4JRMuilwfnFcV5W9u7RUkueNkdw0jPqGMX36iCywelS5yilTuOxg==}
+ resolution: {integrity: sha512-j7piyCjAeTDSjzTSQ7DokZtMNwNlEAyxqSZeCS+CXH7fJ4jx3FuJ/mTW3mE+6JLs4VJBbcll0Kjn+KXI5t21Iw==}
+
resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==}
engines: {node: '>= 10'}
@@ -12023,6 +12070,9 @@ packages:
resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}
+ resolution: {integrity: sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==}
+
resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==}
engines: {node: '>=16'}
@@ -12755,9 +12805,9 @@ packages:
resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
engines: {node: '>= 6'}
- resolution: {integrity: sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==}
- engines: {node: '>= 14'}
+ resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==}
+ engines: {node: '>= 14.6'}
hasBin: true
@@ -12900,7 +12950,11 @@ snapshots:
'@antfu/[email protected]': {}
- '@anthropic-ai/[email protected]': {}
+ dependencies:
+ json-schema-to-ts: 3.1.1
+ optionalDependencies:
+ zod: 3.25.62
'@anthropic-ai/[email protected]':
dependencies:
@@ -15457,11 +15511,22 @@ snapshots:
dependencies:
jsep: 1.4.0
dependencies:
- '@anthropic-ai/sdk': 0.56.0
+ '@anthropic-ai/sdk': 0.65.0([email protected])
'@langchain/core': 0.3.58([email protected]([email protected]))
fast-xml-parser: 4.5.3
+ transitivePeerDependencies:
+ - zod
+ optional: true
+
+ dependencies:
+ '@anthropic-ai/sdk': 0.65.0([email protected])
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ fast-xml-parser: 4.5.3
+ transitivePeerDependencies:
+ - zod
dependencies:
@@ -15472,6 +15537,17 @@ snapshots:
'@langchain/core': 0.3.58([email protected]([email protected]))
transitivePeerDependencies:
- aws-crt
+ optional: true
+
+ dependencies:
+ '@aws-sdk/client-bedrock-agent-runtime': 3.825.0
+ '@aws-sdk/client-bedrock-runtime': 3.825.0
+ '@aws-sdk/client-kendra': 3.825.0
+ '@aws-sdk/credential-provider-node': 3.825.0
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ transitivePeerDependencies:
+ - aws-crt
dependencies:
@@ -15490,6 +15566,23 @@ snapshots:
transitivePeerDependencies:
- openai
+ dependencies:
+ '@cfworker/json-schema': 4.1.1
+ ansi-styles: 5.2.0
+ camelcase: 6.3.0
+ decamelize: 1.2.0
+ js-tiktoken: 1.0.15
+ mustache: 4.2.0
+ p-queue: 6.6.2
+ p-retry: 4.6.2
+ uuid: 10.0.0
+ zod: 3.25.62
+ zod-to-json-schema: 3.23.5([email protected])
+ transitivePeerDependencies:
+ - openai
+
dependencies:
'@langchain/core': 0.3.58([email protected]([email protected]))
@@ -15497,6 +15590,15 @@ snapshots:
zod-to-json-schema: 3.23.5([email protected])
transitivePeerDependencies:
- zod
+ optional: true
+
+ dependencies:
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ uuid: 10.0.0
+ zod-to-json-schema: 3.23.5([email protected])
+ transitivePeerDependencies:
+ - zod
dependencies:
@@ -15507,12 +15609,30 @@ snapshots:
- encoding
- supports-color
- zod
+ optional: true
+
+ dependencies:
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ '@langchain/google-common': 0.2.10(@langchain/[email protected]([email protected]([email protected])))([email protected])
+ google-auth-library: 9.15.1
+ transitivePeerDependencies:
+ - encoding
+ - supports-color
+ - zod
dependencies:
'@google/generative-ai': 0.24.1
'@langchain/core': 0.3.58([email protected]([email protected]))
uuid: 11.1.0
+ optional: true
+
+ dependencies:
+ '@google/generative-ai': 0.24.1
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ uuid: 11.1.0
dependencies:
@@ -15522,6 +15642,16 @@ snapshots:
- encoding
- supports-color
- zod
+ optional: true
+
+ dependencies:
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ '@langchain/google-gauth': 0.2.10(@langchain/[email protected]([email protected]([email protected])))([email protected])
+ transitivePeerDependencies:
+ - encoding
+ - supports-color
+ - zod
dependencies:
@@ -15533,10 +15663,25 @@ snapshots:
- encoding
- ws
+ dependencies:
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ js-tiktoken: 1.0.15
+ openai: 4.104.0([email protected])
+ zod: 3.25.32
+ transitivePeerDependencies:
+ - encoding
+ - ws
+
dependencies:
'@langchain/core': 0.3.58([email protected]([email protected]))
- js-tiktoken: 1.0.15
+ js-tiktoken: 1.0.21
+
+ dependencies:
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ js-tiktoken: 1.0.21
'@lezer/[email protected]': {}
@@ -18549,7 +18694,7 @@ snapshots:
'@jest/globals': 29.7.0
'@types/jest': 29.5.12
dependencies:
@@ -19222,7 +19367,7 @@ snapshots:
'@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
eslint-config-prettier: 9.1.0([email protected])
- eslint-import-resolver-alias: 1.1.2([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected]))
eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
eslint-plugin-eslint-comments: 3.2.0([email protected])
@@ -19256,14 +19401,14 @@ snapshots:
chai: 5.2.1
tinyrainbow: 2.0.0
dependencies:
'@vitest/spy': 3.2.4
estree-walker: 3.0.3
magic-string: 0.30.17
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -19889,7 +20034,7 @@ snapshots:
@@ -19973,9 +20118,9 @@ snapshots:
dependencies:
- baseline-browser-mapping: 2.8.6
- caniuse-lite: 1.0.30001743
- electron-to-chromium: 1.5.222
+ baseline-browser-mapping: 2.8.9
+ caniuse-lite: 1.0.30001746
+ electron-to-chromium: 1.5.227
node-releases: 2.0.21
update-browserslist-db: 1.1.3([email protected])
@@ -20081,7 +20226,7 @@ snapshots:
@@ -20374,6 +20519,10 @@ snapshots:
dependencies:
simple-wcswidth: 1.0.1
+ dependencies:
+ simple-wcswidth: 1.1.2
+
dependencies:
safe-buffer: 5.2.1
@@ -21046,7 +21195,7 @@ snapshots:
@@ -21387,7 +21536,7 @@ snapshots:
eslint-plugin-turbo: 2.5.6([email protected])([email protected])
turbo: 2.5.6
dependencies:
@@ -21517,7 +21666,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -21750,7 +21899,7 @@ snapshots:
eslint: 8.57.0
optionalDependencies:
'@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
transitivePeerDependencies:
- supports-color
- typescript
@@ -23398,6 +23547,10 @@ snapshots:
dependencies:
base64-js: 1.5.1
+ dependencies:
+ base64-js: 1.5.1
+
@@ -23462,6 +23615,11 @@ snapshots:
+ dependencies:
+ '@babel/runtime': 7.28.4
+ ts-algebra: 2.0.0
+
@@ -23575,22 +23733,22 @@ snapshots:
dependencies:
'@langchain/core': 0.3.58([email protected]([email protected]))
'@langchain/openai': 0.5.13(@langchain/[email protected]([email protected]([email protected])))
'@langchain/textsplitters': 0.1.0(@langchain/[email protected]([email protected]([email protected])))
- js-tiktoken: 1.0.15
+ js-tiktoken: 1.0.21
js-yaml: 4.1.0
jsonpointer: 5.0.1
+ langsmith: 0.3.71(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected]))
openapi-types: 12.1.3
p-retry: 4.6.2
uuid: 10.0.0
- yaml: 2.5.1
+ yaml: 2.8.1
zod: 3.25.62
optionalDependencies:
- '@langchain/anthropic': 0.3.27(@langchain/[email protected]([email protected]([email protected])))
+ '@langchain/anthropic': 0.3.29(@langchain/[email protected]([email protected]([email protected])))([email protected])
'@langchain/aws': 0.1.11(@langchain/[email protected]([email protected]([email protected])))
'@langchain/google-genai': 0.2.12(@langchain/[email protected]([email protected]([email protected])))
'@langchain/google-vertexai': 0.2.12(@langchain/[email protected]([email protected]([email protected])))([email protected])
@@ -23598,6 +23756,39 @@ snapshots:
cheerio: 1.1.2
handlebars: 4.7.8
transitivePeerDependencies:
+ - '@opentelemetry/api'
+ - '@opentelemetry/exporter-trace-otlp-proto'
+ - '@opentelemetry/sdk-trace-base'
+ - encoding
+ - openai
+ - ws
+
+ dependencies:
+ '@langchain/core': 0.3.58([email protected]([email protected]))
+ '@langchain/openai': 0.5.13(@langchain/[email protected]([email protected]([email protected])))
+ '@langchain/textsplitters': 0.1.0(@langchain/[email protected]([email protected]([email protected])))
+ js-tiktoken: 1.0.21
+ js-yaml: 4.1.0
+ jsonpointer: 5.0.1
+ langsmith: 0.3.71(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected]))
+ openapi-types: 12.1.3
+ p-retry: 4.6.2
+ uuid: 10.0.0
+ yaml: 2.8.1
+ zod: 3.25.62
+ optionalDependencies:
+ '@langchain/anthropic': 0.3.29(@langchain/[email protected]([email protected]([email protected])))([email protected])
+ '@langchain/aws': 0.1.11(@langchain/[email protected]([email protected]([email protected])))
+ '@langchain/google-genai': 0.2.12(@langchain/[email protected]([email protected]([email protected])))
+ '@langchain/google-vertexai': 0.2.12(@langchain/[email protected]([email protected]([email protected])))([email protected])
+ axios: 1.12.2
+ cheerio: 1.1.2
+ handlebars: 4.7.8
+ transitivePeerDependencies:
+ - '@opentelemetry/api'
+ - '@opentelemetry/exporter-trace-otlp-proto'
+ - '@opentelemetry/sdk-trace-base'
- encoding
- openai
- ws
@@ -23606,9 +23797,9 @@ snapshots:
dependencies:
mustache: 4.2.0
dependencies:
langfuse: 3.38.4
langfuse-core: 3.38.4
@@ -23636,6 +23827,48 @@ snapshots:
optionalDependencies:
openai: 4.104.0([email protected])
+ dependencies:
+ '@types/uuid': 10.0.0
+ chalk: 4.1.2
+ console-table-printer: 2.12.1
+ p-queue: 6.6.2
+ p-retry: 4.6.2
+ semver: 7.7.2
+ uuid: 10.0.0
+ optionalDependencies:
+ openai: 5.12.2([email protected])
+
+ dependencies:
+ '@types/uuid': 10.0.0
+ chalk: 4.1.2
+ console-table-printer: 2.14.6
+ p-queue: 6.6.2
+ p-retry: 4.6.2
+ semver: 7.7.2
+ uuid: 10.0.0
+ optionalDependencies:
+ '@opentelemetry/api': 1.9.0
+ '@opentelemetry/exporter-trace-otlp-proto': 0.53.0(@opentelemetry/[email protected])
+ '@opentelemetry/sdk-trace-base': 1.26.0(@opentelemetry/[email protected])
+ openai: 4.104.0([email protected])
+
+ dependencies:
+ '@types/uuid': 10.0.0
+ chalk: 4.1.2
+ console-table-printer: 2.14.6
+ p-queue: 6.6.2
+ p-retry: 4.6.2
+ semver: 7.7.2
+ uuid: 10.0.0
+ optionalDependencies:
+ '@opentelemetry/api': 1.9.0
+ '@opentelemetry/exporter-trace-otlp-proto': 0.53.0(@opentelemetry/[email protected])
+ '@opentelemetry/sdk-trace-base': 2.1.0(@opentelemetry/[email protected])
+ openai: 5.12.2([email protected])
+
@@ -24843,6 +25076,11 @@ snapshots:
- encoding
optional: true
+ optionalDependencies:
+ zod: 3.25.62
+ optional: true
+
@@ -25168,7 +25406,7 @@ snapshots:
dependencies:
lilconfig: 3.1.3
- yaml: 2.5.1
+ yaml: 2.8.1
optionalDependencies:
postcss: 8.4.49
ts-node: 10.9.2(@types/[email protected])([email protected])
@@ -26224,6 +26462,8 @@ snapshots:
+
dependencies:
'@polka/url': 1.0.0-next.29
@@ -26812,6 +27052,8 @@ snapshots:
+
dependencies:
typescript: 5.9.2
@@ -27264,13 +27506,13 @@ snapshots:
'@egjs/hammerjs': 2.0.17
component-emitter: 1.3.1
dependencies:
cac: 6.7.14
debug: 4.4.1
es-module-lexer: 1.7.0
pathe: 2.0.3
transitivePeerDependencies:
- '@types/node'
- jiti
@@ -27285,7 +27527,7 @@ snapshots:
- tsx
- yaml
dependencies:
esbuild: 0.25.7
fdir: 6.4.6([email protected])
@@ -27299,13 +27541,13 @@ snapshots:
jiti: 2.5.1
terser: 5.44.0
tsx: 4.20.5
- yaml: 2.5.1
+ yaml: 2.8.1
dependencies:
'@types/chai': 5.2.2
'@vitest/expect': 3.2.4
'@vitest/pretty-format': 3.2.4
'@vitest/runner': 3.2.4
'@vitest/snapshot': 3.2.4
@@ -27323,8 +27565,8 @@ snapshots:
tinyglobby: 0.2.14
tinypool: 1.1.1
tinyrainbow: 2.0.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.12
@@ -27630,7 +27872,7 @@ snapshots:
optional: true
diff --git a/web/package.json b/web/package.json
index 365f64911b..964ae2ae15 100644
--- a/web/package.json
+++ b/web/package.json
@@ -118,7 +118,7 @@
"ioredis": "^5.4.1",
"ip-address": "^9.0.5",
"kysely": "^0.27.4",
- "langchain": "^0.3.28",
+ "langchain": "^0.3.30",
"lodash": "^4.17.21",
"lucide-react": "^0.462.0",
"nanoid": "^3.3.8",
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 97e5bb4f63..982c3ca624 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -1733,6 +1733,25 @@
},
"tokenizer_id": "openai"
},
+ {
+ "id": "c5qmrqolku82tra3vgdixmys",
+ "model_name": "claude-sonnet-4-5-20250929",
+ "match_pattern": "(?i)^(claude-sonnet-4-5-20250929|(eu\\.|us\\.)?anthropic\\.claude-sonnet-4-5-20250929-v1:0|claude-sonnet-4-5-V1@20250929|claude-sonnet-4-5@20250929)$",
+ "created_at": "2025-09-29T00:00:00.000Z",
+ "updated_at": "2025-09-29T00:00:00.000Z",
+ "prices": {
+ "input": 3e-6,
+ "input_tokens": 3e-6,
+ "output": 15e-6,
+ "output_tokens": 15e-6,
+ "cache_creation_input_tokens": 3.75e-6,
+ "input_cache_creation": 3.75e-6,
+ "cache_read_input_tokens": 0.3e-6,
+ "input_cache_read": 0.3e-6
+ },
+ "tokenizer_config": null,
+ "tokenizer_id": "claude"
+ },
{
"id": "cmazmkzlm00000djp1e1qe4k4",
"model_name": "claude-sonnet-4-20250514",