🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: remove react icons as much as possible (#7889)
Max Deichmann3806cb72a17b
diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 532fff6a22..b57bcbc5af 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -60,7 +60,7 @@ importers:version: 14.2.30(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected])next-auth:specifier: ^4.24.11- version: 4.24.11(patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 4.24.11(patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])zod:specifier: ^3.25.62version: 3.25.62@@ -234,7 +234,7 @@ importers:version: 4.1.1next-auth:specifier: ^4.24.11- version: 4.24.11(patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 4.24.11(patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])nodemailer:specifier: ^6.9.15version: 6.9.15@@ -634,7 +634,7 @@ importers:version: 14.2.30(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected])next-auth:specifier: ^4.24.11- version: 4.24.11(patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 4.24.11(patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])next-query-params:specifier: ^5.0.1version: 5.0.1([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]([email protected]))([email protected]))@@ -675,8 +675,8 @@ importers:specifier: ^7.57.0version: 7.57.0([email protected])react-icons:- specifier: ^5.2.1- version: 5.2.1([email protected])+ specifier: ^5.5.0+ version: 5.5.0([email protected])react-markdown:specifier: ^9.0.1version: 9.0.1(@types/[email protected])([email protected])@@ -750,6 +750,9 @@ importers:'@mermaid-js/mermaid-cli':specifier: ^11.2.0version: 11.2.0([email protected]([email protected]))+ '@next/bundle-analyzer':+ specifier: ^15.4.1+ version: 15.4.1'@playwright/test':specifier: ^1.47.2version: 1.47.2@@ -1880,6 +1883,10 @@ packages:'@datadog/[email protected]':resolution: {integrity: sha512-d5RjycE+MObE/hU+8OM5Zp4VjTwiPLRa8299fj7muOmR16fb942z8byoMbCErnGh0lBevvgkGrLclQDvINbIyg==}+ '@discoveryjs/[email protected]':+ resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==}+ engines: {node: '>=10.0.0'}+'@dnd-kit/[email protected]':resolution: {integrity: sha512-ea7IkhKvlJUv9iSHJOnxinBcoOI3ppGnnL+VDJ75O45Nss6HtZd8IdN8touXPDtASfeI2T2LImb8VOZcL47wjQ==}peerDependencies:@@ -2980,6 +2987,9 @@ packages:'@prisma/client': '>=2.26.0 || >=3'next-auth: ^4+ '@next/[email protected]':+ resolution: {integrity: sha512-O5R3iPLR3/oQWFIXl+Mnd02IyhvWBterTlXcceIGw29QHWL/gjvyO0eIVEvrJPS7zzE6/NSu1TiSVgi8mxotlw==}+'@next/[email protected]':resolution: {integrity: sha512-KBiBKrDY6kxTQWGzKjQB7QirL3PiiOkV7KW98leHFjtVRKtft76Ra5qSA/SL75xT44dp6hOcqiiJ6iievLOYug==}@@ -3542,6 +3552,9 @@ packages:engines: {node: '>=18'}hasBin: true+ '@polka/[email protected]':+ resolution: {integrity: sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==}+'@popperjs/[email protected]':resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}@@ -6887,6 +6900,9 @@ packages:resolution: {integrity: sha512-okaqSKaDKLynUt9Jgpoj/0g7FXk5sFNHP5ZelB84g/vmQdDmpzZYXPo6HFY6ZbQT7NOHMZ/vNV46LZIjZc0Tvg==}engines: {node: '>=18'}+ resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==}+resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}peerDependencies:@@ -8033,6 +8049,10 @@ packages:resolution: {integrity: sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==}engines: {node: '>=14.0.0'}+ resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==}@@ -8439,6 +8459,10 @@ packages:resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==}engines: {node: '>=12'}+ resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}@@ -9454,6 +9478,10 @@ packages:resolution: {integrity: sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A==}+ resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}@@ -9800,6 +9828,10 @@ packages:resolution: {integrity: sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==}+ resolution: {integrity: sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==}+ hasBin: true+resolution: {integrity: sha512-5P4qO9nGJzB5PI0LFlhj4Dzg3m4odt0qsJTfyEtZyOlkgpILwEioOhVVJOrS1iVH494S4Ee5OCjjg6Bf5WOj3w==}@@ -10452,8 +10484,8 @@ packages:peerDependencies:react: ^16.8.0 || ^17 || ^18 || ^19- resolution: {integrity: sha512-zdbW5GstTzXaVKvGSyTaBalt7HSfuK5ovrzlpyiWHAFXndXTdd/1hdDHI4xBM1Mn7YriT6aqESucFl9kEXzrdw==}+ resolution: {integrity: sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==}peerDependencies:react: '*'@@ -10936,6 +10968,10 @@ packages:resolution: {integrity: sha512-xMO/8eNREtaROt7tJvWJqHBDTMFN4eiQ5I4JRMuilwfnFcV5W9u7RUkueNkdw0jPqGMX36iCywelS5yilTuOxg==}+ resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==}+ engines: {node: '>= 10'}+resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}@@ -11402,6 +11438,10 @@ packages:resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}engines: {node: '>=0.6'}+ resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==}hasBin: true@@ -11927,6 +11967,11 @@ packages:resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==}engines: {node: '>=12'}+ resolution: {integrity: sha512-s3P7pgexgT/HTUSYgxJyn28A+99mmLq4HsJepMPzu0R8ImJc52QNqaFYW1Z2z2uIb1/J3eYgaAWVpaC+v/1aAQ==}+ engines: {node: '>= 10.13.0'}+ hasBin: true+resolution: {integrity: sha512-ykKKus8lqlgXX/1WjudpIEjqsafjOTcOJqxnAbMLAu/KCsDCJ6GBtvscewvTkrn24HsnvFwrSCbenFrhtcCsAA==}engines: {node: '>=10.13.0'}@@ -12033,6 +12078,18 @@ packages:resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==}engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}+ resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==}+ engines: {node: '>=8.3.0'}+ peerDependencies:+ bufferutil: ^4.0.1+ utf-8-validate: ^5.0.2+ peerDependenciesMeta:+ bufferutil:+ optional: true+ utf-8-validate:+ optional: true+resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==}engines: {node: '>=10.0.0'}@@ -13892,6 +13949,8 @@ snapshots:'@datadog/[email protected]': {}+ '@discoveryjs/[email protected]': {}+'@dnd-kit/[email protected]([email protected])':dependencies:react: 18.2.0@@ -15058,7 +15117,14 @@ snapshots:'@next-auth/[email protected](@prisma/[email protected]([email protected]([email protected]))([email protected]))([email protected](patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]))':dependencies:- next-auth: 4.24.11(patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ next-auth: 4.24.11(patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])++ '@next/[email protected]':+ dependencies:+ webpack-bundle-analyzer: 4.10.1+ transitivePeerDependencies:+ - bufferutil+ - utf-8-validate'@next/[email protected]': {}@@ -15733,6 +15799,8 @@ snapshots:dependencies:playwright: 1.47.2+ '@polka/[email protected]': {}+'@popperjs/[email protected]': {}@@ -18386,7 +18454,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])([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])eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])@@ -18619,7 +18687,7 @@ snapshots:dependencies:- acorn: 8.12.1+ acorn: 8.15.0acorn-walk: 8.3.2@@ -19874,6 +19942,8 @@ snapshots:tlhunter-sorted-set: 0.1.0ttl-set: 1.0.0+ [email protected]: {}+dependencies:ms: 2.0.0@@ -20373,7 +20443,7 @@ snapshots:eslint-plugin-turbo: 2.5.4([email protected])([email protected])turbo: 2.5.4- [email protected]([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])):+ [email protected]([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])):dependencies:eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])@@ -20464,7 +20534,7 @@ snapshots:doctrine: 2.1.0eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.8.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])+ eslint-module-utils: 2.8.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]))([email protected])hasown: 2.0.2is-core-module: 2.15.1is-glob: 4.0.3@@ -20491,7 +20561,7 @@ snapshots:doctrine: 2.1.0eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.8.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]))([email protected])+ eslint-module-utils: 2.8.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])hasown: 2.0.2is-core-module: 2.15.1is-glob: 4.0.3@@ -21294,6 +21364,10 @@ snapshots:- encoding- supports-color+ dependencies:+ duplexer: 0.1.2+@@ -21715,6 +21789,8 @@ snapshots:+ [email protected]: {}+@@ -23125,13 +23201,15 @@ snapshots:dependencies:- acorn: 8.14.0+ acorn: 8.15.0pathe: 1.1.2pkg-types: 1.2.0ufo: 1.5.4+ [email protected]: {}+@@ -23207,7 +23285,7 @@ snapshots:dependencies:type-fest: 2.19.0- [email protected](patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]):+ [email protected](patch_hash=cczsf6i6qe2m2htirvgxjtoclu)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]):dependencies:'@babel/runtime': 7.26.0'@panva/hkdf': 1.1.1@@ -23506,6 +23584,8 @@ snapshots:+ [email protected]: {}+dependencies:jose: 4.15.5@@ -24170,7 +24250,7 @@ snapshots:dependencies:react: 18.2.0dependencies:react: 18.2.0@@ -24778,6 +24858,12 @@ snapshots:+ dependencies:+ '@polka/url': 1.0.0-next.29+ mrmime: 2.0.1+ totalist: 3.0.1+@@ -25273,6 +25359,8 @@ snapshots:+ [email protected]: {}+dependencies:nopt: 1.0.10@@ -25936,6 +26024,25 @@ snapshots:+ dependencies:+ '@discoveryjs/json-ext': 0.5.7+ acorn: 8.15.0+ acorn-walk: 8.3.2+ commander: 7.2.0+ debounce: 1.2.1+ escape-string-regexp: 4.0.0+ gzip-size: 6.0.0+ html-escaper: 2.0.2+ is-plain-object: 5.0.0+ opener: 1.5.2+ picocolors: 1.1.1+ sirv: 2.0.4+ ws: 7.5.10+ transitivePeerDependencies:+ - bufferutil+ - utf-8-validate+@@ -26094,6 +26201,8 @@ snapshots:imurmurhash: 0.1.4signal-exit: 3.0.7+ [email protected]: {}+diff --git a/web/next.config.mjs b/web/next.config.mjsindex 481b8594af..7b030e3365 100644--- a/web/next.config.mjs+++ b/web/next.config.mjs@@ -5,6 +5,7 @@await import("./src/env.mjs");import { withSentryConfig } from "@sentry/nextjs";import { env } from "./src/env.mjs";+import bundleAnalyzer from "@next/bundle-analyzer";/*** CSP headers@@ -191,7 +192,7 @@ const nextConfig = {},};-export default withSentryConfig(nextConfig, {+const sentryConfig = withSentryConfig(nextConfig, {// For all available options, see:// https://github.com/getsentry/sentry-webpack-plugin#options@@ -232,3 +233,11 @@ export default withSentryConfig(nextConfig, {// https://vercel.com/docs/cron-jobsautomaticVercelMonitors: false,});++// Enable bundle analyzer in analyze mode, otherwise use standard config+const withBundleAnalyzer = bundleAnalyzer({+ enabled: process.env.ANALYZE === "true",+ openAnalyzer: false, // Open analyzer in browser+});++export default withBundleAnalyzer(sentryConfig);diff --git a/web/package.json b/web/package.jsonindex a070704cad..9df1eda63d 100644--- a/web/package.json+++ b/web/package.json@@ -135,7 +135,7 @@"react-dom": "18.2.0","react-grid-layout": "^1.5.1","react-hook-form": "^7.57.0",- "react-icons": "^5.2.1",+ "react-icons": "^5.5.0","react-markdown": "^9.0.1","react-resizable-panels": "^2.1.1","react-responsive": "^10.0.0",@@ -162,6 +162,7 @@"devDependencies": {"@jedmao/location": "^3.0.0","@mermaid-js/mermaid-cli": "^11.2.0",+ "@next/bundle-analyzer": "^15.4.1","@playwright/test": "^1.47.2","@tailwindcss/forms": "^0.5.7","@testing-library/jest-dom": "^6.4.6",diff --git a/web/src/components/ModelParameters/LLMApiKeyComponent.tsx b/web/src/components/ModelParameters/LLMApiKeyComponent.tsxindex 3429cce3ad..5cdb58dede 100644--- a/web/src/components/ModelParameters/LLMApiKeyComponent.tsx+++ b/web/src/components/ModelParameters/LLMApiKeyComponent.tsx@@ -3,7 +3,6 @@ import Link from "next/link";import { Label } from "@/src/components/ui/label";import { api } from "@/src/utils/api";import { type UIModelParams } from "@langfuse/shared";-import { ArrowTopRightIcon } from "@radix-ui/react-icons";import { useHasProjectAccess } from "@/src/features/rbac/utils/checkProjectAccess";export const LLMApiKeyComponent = (p: {@@ -54,22 +53,6 @@ export const LLMApiKeyComponent = (p: {</Link>) : undefined}</div>- {/* Custom form message to include a link to the already existing prompt */}- {!apiKey ? (- <div className="flex flex-col font-medium text-destructive">- {`No LLM API key found for provider ${modelProvider}.`}-- <Link- href={`/project/${p.projectId}/settings/api-keys`}- className="flex flex-row"- >- Create a new LLM API key here. <ArrowTopRightIcon />- </Link>- </div>- ) : undefined}- <p className="text-muted-foreground">- The LLM API key is used for each execution and will incur costs.- </p></div>);};diff --git a/web/src/components/editor/PromptLinkingEditor.tsx b/web/src/components/editor/PromptLinkingEditor.tsxindex 8f39011c1b..5665657030 100644--- a/web/src/components/editor/PromptLinkingEditor.tsx+++ b/web/src/components/editor/PromptLinkingEditor.tsx@@ -1,10 +1,11 @@import { useState, useRef, useEffect } from "react";import { CodeMirrorEditor } from "./CodeMirrorEditor";import { Button } from "@/src/components/ui/button";-import { PlusIcon } from "@radix-ui/react-icons";+import { PromptSelectionDialog } from "@/src/features/prompts/components/PromptSelectionDialog";import useProjectIdFromURL from "@/src/hooks/useProjectIdFromURL";import { type ReactCodeMirrorRef } from "@uiw/react-codemirror";+import { Plus } from "lucide-react";type PromptLinkingEditorProps = {value: string;@@ -69,7 +70,7 @@ export function PromptLinkingEditor({className="absolute bottom-2 right-2 flex items-center gap-1 px-2 py-1"onClick={() => setIsDialogOpen(true)}>- <PlusIcon className="h-4 w-4" />+ <Plus className="mr-2 h-4 w-4" /><span className="text-xs">Add prompt reference</span></Button>diff --git a/web/src/components/nav/support-menu-dropdown.tsx b/web/src/components/nav/support-menu-dropdown.tsxindex 6da2865de7..367d33592b 100644--- a/web/src/components/nav/support-menu-dropdown.tsx+++ b/web/src/components/nav/support-menu-dropdown.tsx@@ -18,10 +18,10 @@ import {Sparkles,type LucideIcon,} from "lucide-react";+import { SiDiscord } from "react-icons/si";import { useMemo, type ReactNode } from "react";import { useUiCustomization } from "@/src/ee/features/ui-customization/useUiCustomization";import { SidebarMenuButton, useSidebar } from "@/src/components/ui/sidebar";-import { SiDiscord } from "react-icons/si";import { env } from "@/src/env.mjs";import { chatAvailable, openChat } from "@/src/features/support-chat/PlainChat";diff --git a/web/src/components/table/data-table-pagination.tsx b/web/src/components/table/data-table-pagination.tsxindex 1fcbb02878..3c44025c70 100644--- a/web/src/components/table/data-table-pagination.tsx+++ b/web/src/components/table/data-table-pagination.tsx@@ -1,9 +1,9 @@import {- ChevronLeftIcon,- ChevronRightIcon,- DoubleArrowLeftIcon,- DoubleArrowRightIcon,-} from "@radix-ui/react-icons";+ ChevronLeft,+ ChevronRight,+ ChevronsLeft,+ ChevronsRight,+} from "lucide-react";import { type Table } from "@tanstack/react-table";import { Button } from "@/src/components/ui/button";@@ -162,7 +162,7 @@ export function DataTablePagination<TData>({disabled={!table.getCanPreviousPage()}><span className="sr-only">Go to first page</span>- <DoubleArrowLeftIcon className="h-4 w-4" />+ <ChevronsLeft className="h-4 w-4" /></Button><Buttonvariant="outline"@@ -176,7 +176,7 @@ export function DataTablePagination<TData>({disabled={!table.getCanPreviousPage()}><span className="sr-only">Go to previous page</span>- <ChevronLeftIcon className="h-4 w-4" />+ <ChevronLeft className="h-4 w-4" /></Button><Buttonvariant="outline"@@ -190,7 +190,7 @@ export function DataTablePagination<TData>({disabled={!table.getCanNextPage() || pageCount === -1}><span className="sr-only">Go to next page</span>- <ChevronRightIcon className="h-4 w-4" />+ <ChevronRight className="h-4 w-4" /></Button><Buttonvariant="outline"@@ -204,7 +204,7 @@ export function DataTablePagination<TData>({disabled={!table.getCanNextPage() || pageCount === -1}><span className="sr-only">Go to last page</span>- <DoubleArrowRightIcon className="h-4 w-4" />+ <ChevronsRight className="h-4 w-4" /></Button></div></div>diff --git a/web/src/components/table/data-table-row-height-switch.tsx b/web/src/components/table/data-table-row-height-switch.tsxindex ecbe518d93..7dc1c852bc 100644--- a/web/src/components/table/data-table-row-height-switch.tsx+++ b/web/src/components/table/data-table-row-height-switch.tsx@@ -10,17 +10,12 @@ import {} from "@/src/components/ui/dropdown-menu";import useLocalStorage from "@/src/components/useLocalStorage";import { usePostHogClientCapture } from "@/src/features/posthog-analytics/usePostHogClientCapture";-import { Rows3 } from "lucide-react";-import {- MdDensityLarge,- MdDensityMedium,- MdDensitySmall,-} from "react-icons/md";+import { Rows3, Rows2, Rows4 } from "lucide-react";const heightOptions = [- { id: "s", label: "Small", icon: <MdDensitySmall /> },- { id: "m", label: "Medium", icon: <MdDensityMedium /> },- { id: "l", label: "Large", icon: <MdDensityLarge /> },+ { id: "s", label: "Small", icon: <Rows4 /> },+ { id: "m", label: "Medium", icon: <Rows3 /> },+ { id: "l", label: "Large", icon: <Rows2 /> },] as const;const defaultHeights: Record<RowHeight, string> = {diff --git a/web/src/components/ui/LangfuseMediaView.tsx b/web/src/components/ui/LangfuseMediaView.tsxindex 78ab224089..8c3bc569cc 100644--- a/web/src/components/ui/LangfuseMediaView.tsx+++ b/web/src/components/ui/LangfuseMediaView.tsx@@ -11,7 +11,7 @@ import {type MediaContentType,type MediaReturnType,} from "@/src/features/media/validation";-import { FileIcon, ImageIcon, SpeakerLoudIcon } from "@radix-ui/react-icons";+import { File, Image as ImageIcon, Volume2 } from "lucide-react";export const LangfuseMediaView = ({mediaReferenceString,@@ -127,9 +127,9 @@ function FileViewer({{fileType === "image" ? (<ImageIcon className="h-5 w-5 transition-transform group-hover:scale-110" />) : fileType === "audio" ? (- <SpeakerLoudIcon className="h-5 w-5 transition-transform group-hover:scale-110" />+ <Volume2 className="h-5 w-5 transition-transform group-hover:scale-110" />) : (- <FileIcon className="h-5 w-5 transition-transform group-hover:scale-110" />+ <File className="h-5 w-5 transition-transform group-hover:scale-110" />)}<div className="flex flex-col items-center gap-1">diff --git a/web/src/components/ui/radio-group.tsx b/web/src/components/ui/radio-group.tsxindex 05497d823a..ab86655d5c 100644--- a/web/src/components/ui/radio-group.tsx+++ b/web/src/components/ui/radio-group.tsx@@ -1,9 +1,9 @@"use client";import * as React from "react";-import { CheckIcon } from "@radix-ui/react-icons";import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";import { cn } from "@/src/utils/tailwind";+import { Check } from "lucide-react";const RadioGroup = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Root>,@@ -33,7 +33,7 @@ const RadioGroupItem = React.forwardRef<{...props}><RadioGroupPrimitive.Indicator className="flex items-center justify-center">- <CheckIcon className="h-3.5 w-3.5 fill-primary" />+ <Check className="h-3.5 w-3.5 fill-primary" /></RadioGroupPrimitive.Indicator></RadioGroupPrimitive.Item>);diff --git a/web/src/features/playground/page/components/GenerationOutput.tsx b/web/src/features/playground/page/components/GenerationOutput.tsxindex 3c11522e25..181c17b55d 100644--- a/web/src/features/playground/page/components/GenerationOutput.tsx+++ b/web/src/features/playground/page/components/GenerationOutput.tsx@@ -1,9 +1,8 @@import { useEffect, useRef, useState } from "react";import { Button } from "@/src/components/ui/button";import { usePlaygroundContext } from "../context";-import { CheckIcon, CopyIcon, PlusIcon } from "@radix-ui/react-icons";import { ChatMessageRole, ChatMessageType } from "@langfuse/shared";-import { BracesIcon } from "lucide-react";+import { BracesIcon, Check, Copy, Plus } from "lucide-react";import { ToolCallCard } from "@/src/components/ChatMessages/ToolCallCard";import { copyTextToClipboard } from "@/src/utils/clipboard";@@ -48,6 +47,10 @@ export const GenerationOutput = () => {}}, [output]);+ const checkIcon = <Check className="h-2 w-2" />;+ const copyIcon = <Copy className="h-2 w-2" />;+ const plusIcon = <Plus className="h-2 w-2" />;+const copyButton =output || outputToolCalls.length ? (<div className="absolute right-3 top-2 flex space-x-1 opacity-50">@@ -68,7 +71,7 @@ export const GenerationOutput = () => {onClick={!isCopied ? handleCopy : undefined}title="Copy output">- {isCopied ? <CheckIcon /> : <CopyIcon />}+ {isCopied ? checkIcon : copyIcon}</Button><Button@@ -78,7 +81,7 @@ export const GenerationOutput = () => {title="Add as assistant message"disabled={isAdded}>- {isAdded ? <CheckIcon /> : <PlusIcon />}+ {isAdded ? checkIcon : plusIcon}<span className="text-xs">Add to messages</span></Button></div>diff --git a/web/src/features/prompts/components/NewPromptForm/index.tsx b/web/src/features/prompts/components/NewPromptForm/index.tsxindex 5f39b2bbbf..ca2c107ee2 100644--- a/web/src/features/prompts/components/NewPromptForm/index.tsx+++ b/web/src/features/prompts/components/NewPromptForm/index.tsx@@ -41,7 +41,7 @@ import {} from "./validation";import { Input } from "@/src/components/ui/input";import Link from "next/link";-import { ArrowTopRightIcon } from "@radix-ui/react-icons";+import { SquareArrowOutUpRight } from "lucide-react";import { PromptVariableListPreview } from "@/src/features/prompts/components/PromptVariableListPreview";import { CodeMirrorEditor } from "@/src/components/editor/CodeMirrorEditor";import { PromptLinkingEditor } from "@/src/components/editor/PromptLinkingEditor";@@ -236,10 +236,10 @@ export const NewPromptForm: React.FC<NewPromptFormProps> = (props) => {{errorMessage?.includes("already exist") ? (<Linkhref={`/project/${projectId}/prompts/${currentName.trim()}`}- className="flex flex-row"+ className="flex flex-row items-center">- Create a new version for it here.{" "}- <ArrowTopRightIcon />+ Create a new version for it here.+ <SquareArrowOutUpRight className="ml-1 h-3 w-3" /></Link>) : null}</div>diff --git a/web/src/pages/project/[projectId]/settings/models/[modelId].tsx b/web/src/pages/project/[projectId]/settings/models/[modelId].tsxindex ae575c4b46..82eaaa7d05 100644--- a/web/src/pages/project/[projectId]/settings/models/[modelId].tsx+++ b/web/src/pages/project/[projectId]/settings/models/[modelId].tsx@@ -19,8 +19,8 @@ import { PriceUnitSelector } from "@/src/features/models/components/PriceUnitSelimport { useMemo } from "react";import { usePriceUnitMultiplier } from "@/src/features/models/hooks/usePriceUnitMultiplier";import Generations from "@/src/components/table/use-cases/observations";-import { ArrowTopRightIcon } from "@radix-ui/react-icons";import Page from "@/src/components/layouts/page";+import { SquareArrowOutUpRight } from "lucide-react";export default function ModelDetailPage() {const router = useRouter();@@ -187,7 +187,7 @@ export default function ModelDetailPage() {className="flex items-center gap-1"><span className="text-sm">View all</span>- <ArrowTopRightIcon className="h-4 w-4" />+ <SquareArrowOutUpRight className="h-4 w-4" /></Link></Button></CardTitle>