Skip to content

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

chore(deps): remove ai sdk (#12894)

Nimara140f624beea
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 796eebd5f1..ae5816e2e1 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -364,7 +364,7 @@ importers:
'@langchain/core':
specifier: ^1.1.34
- version: 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ version: 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
'@langfuse/ee':
specifier: workspace:*
version: link:../ee
@@ -539,9 +539,6 @@ importers:
'@uiw/react-codemirror':
specifier: ^4.25.8
- ai:
- specifier: ^3.4.9
bcryptjs:
specifier: ^2.4.3
version: 2.4.3
@@ -604,7 +601,7 @@ importers:
version: 0.5.9
langchain:
specifier: ^1.2.15
langfuse:
specifier: 3.38.4
version: 3.38.4
@@ -1025,75 +1022,10 @@ packages:
resolution: {integrity: sha512-Ff9+ksdQQB3rMncgqDK78uLznstjyfIf2Arnh22pW8kBpLs6rpKDwgnZT46hin5Hl1WzazzK64DOrhSwYpS7bQ==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-ngg/RGpnA00eNOWEtXHenpX1MsM2QshQh4QJFjUfwcqHpM5kTfG7je7Rc3HcEDP+OkRVv2GF+X4fC1Vfcnl8Ow==}
- engines: {node: '>=18'}
- peerDependencies:
- zod: 4.3.6
- peerDependenciesMeta:
- zod:
- optional: true
-
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-XMsNGJdGO+L0cxhhegtqZ8+T6nn4EoShS819OvCgI2kLbYTIvk0GWFGD0AXJmxkxs3DrpsJxKAFukFR7bvTkgQ==}
- engines: {node: '>=18'}
-
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-1asDpxgmeHWL0/EZPCLENxfOHT+0jce0z/zasRhascodm2S6f6/KZn5doLG9jdmarcb+GjMjFmmwyOVXz3W1xg==}
- engines: {node: '>=18'}
- peerDependencies:
- react: ^18 || ^19
- zod: 4.3.6
- peerDependenciesMeta:
- react:
- optional: true
- zod:
- optional: true
-
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-KnfWTt640cS1hM2fFIba8KHSPLpOIWXtEm28pNCHTvqasVKlh2y/zMQANTwE18pF2nuXL9P9F5/dKWaPsaEzQw==}
- engines: {node: '>=18'}
- peerDependencies:
- solid-js: ^1.7.7
- peerDependenciesMeta:
- solid-js:
- optional: true
-
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-aIZJaIds+KpCt19yUDCRDWebzF/17GCY7gN9KkcA2QM6IKRO5UmMcqEYja0ZmwFQPm1kBZkF2njhr8VXis2mAw==}
- engines: {node: '>=18'}
- peerDependencies:
- svelte: ^3.0.0 || ^4.0.0
- peerDependenciesMeta:
- svelte:
- optional: true
-
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-ZG/wneyJG+6w5Nm/hy1AKMuRgjPQToAxBsTk61c9sVPUTaxo+NNjM2MhXQMtmsja2N5evs8NmHie+ExEgpL3cA==}
- engines: {node: '>=18'}
- peerDependencies:
- zod: 4.3.6
- peerDependenciesMeta:
- zod:
- optional: true
-
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Ltu6gbuii8Qlp3gg7zdwdnHdS4M8nqKDij2VVO1223VOtIFwORFJzKqpfx44U11FW8z2TPVBYN+FjkyVIcN2hg==}
- engines: {node: '>=18'}
- peerDependencies:
- vue: ^3.3.4
- peerDependenciesMeta:
- vue:
- optional: true
-
resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
engines: {node: '>=10'}
- '@ampproject/[email protected]':
- resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
- engines: {node: '>=6.0.0'}
-
'@anthropic-ai/[email protected]':
resolution: {integrity: sha512-TGNDEUuEstk/DKu0/TflXAEt+p+p/WhTlFzEnoosvbaDU2LTjm42igSdlL0VijrKpWejtOKxX0b8A7uc+XiSAQ==}
hasBin: true
@@ -5568,9 +5500,6 @@ packages:
resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}
- '@types/[email protected]':
- resolution: {integrity: sha512-xFdR6tkm0MWvBfO8xXCSsinYxHcqkQUlcHeSpMC2ukzOb6lwQAfDmW+Qt0AvlGd8HpsS28qKsB+oPeJn9I39jg==}
-
resolution: {integrity: sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg==}
deprecated: This is a stub types definition. dompurify provides its own type definitions, so you do not need this installed.
@@ -5650,15 +5579,9 @@ packages:
resolution: {integrity: sha512-YfWiV16IY0OeBfBCk8+hXKmdTKrKlwKN1MNKAPBu5JYxLwBEZl7QzeEpGnlZb3VMGJrrGmB84gXiH+ofs/TezA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw==}
-
resolution: {integrity: sha512-K7DIaHnh0mzVxreCR9qwgNxp3MH9dltPNIEddW9MYUlcKAzm+3grKNSTe2vCJHI1FaLpvpL5JGJrz1UZDKYvDg==}
- '@types/[email protected]':
- resolution: {integrity: sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==}
-
resolution: {integrity: sha512-P99thMkD/1YkCvAtOd6/zGedKNA0p2fj4ZpjCzcNiSCBWgm3cNRTBfa/qjFnsKkkojxu4vVLtWpesnZ9+ap+gA==}
@@ -6059,35 +5982,6 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-xw2/TiX82lQHA06cgbqRKFb5lCAy3axQ4H4SoUFhUsg+wztiet+co86IAMDtF6Vm1hc7J6j09oh/rgDn+JdKIQ==}
- resolution: {integrity: sha512-E+RyqY24KnyDXsCuQrI+mlcdW3ALND6U7Gqa/+bVwbcpcR3BRRIckFoz7Qyd4TTlnugtwuI7YgjbvsLmxb+yvg==}
-
- resolution: {integrity: sha512-kUTvochG/oVgE1w5ViSr3KUBh9X7CWirebA3bezTbB5ZKBQZwR2Mwj9uoSKRMFcz4gSMzzLXBPD6KpCLb9nvWw==}
-
- resolution: {integrity: sha512-nDwntUEADssW8e0rrmE0+OrONwmRlegDA1pD6QhVeXxjIytV03yDqTey9SBDiALsvAd5U4ZrEKbMyVXhX6mCGA==}
-
- resolution: {integrity: sha512-CVRzSJIltzMG5FcidsW0jKNQnNRYC8bT21VegyMMtHmhW3UOI7knmUehzswXLrExDLE6lQCZdrhD4ogI7c+vuw==}
-
- resolution: {integrity: sha512-kK0g4NknW6JX2yySLpsm2jlunZJl2/RJGZ0H9ddHdfBVHcNzxmQ0sS0b09ipmBoQpY8JM2KmUw+a6sO8Zo+zIA==}
-
- resolution: {integrity: sha512-7aYA9GEbOOdviqVvcuweTLe5Za4qBZkUY7SvET6vE8kyypxVgaT1ixHLg4urtOlrApdgcdgHoTZCUuTGap/5WA==}
-
- resolution: {integrity: sha512-ScOmP70/3NPM+TW9hvVAz6VWWtZJqkbdf7w6ySsws+EsqtHvkhxaWLecrTorFxsawelM5Ys9FnDEMt6BPBDS0Q==}
-
- resolution: {integrity: sha512-dlAMEuvmeA3rJsOMJ2J1kXU7o7pOxgsNHVr9K8hB3ImIkSuBrIdy0vF66h8gf8Tuinf1TK3mPAz2+2sqyf3KzA==}
- peerDependencies:
- vue: 3.4.27
-
- resolution: {integrity: sha512-DL3NmY2OFlqmYYrzp39yi3LDkKxa5vZVwxWdQ3rG0ekuWscHraeIbnI8t+aZK7qhYqEqWKTUdijadunb9pnrgA==}
-
'@webassemblyjs/[email protected]':
resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}
@@ -6197,31 +6091,6 @@ packages:
resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==}
engines: {node: '>= 14'}
- resolution: {integrity: sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==}
- engines: {node: '>= 8.0.0'}
-
- resolution: {integrity: sha512-wmVzpIHNGjCEjIJ/3945a/DIkz+gwObjC767ZRgO8AmtIZMO5KqvqNr7n2KF+gQrCPCMC8fM1ICQFXSvBZnBlA==}
- engines: {node: '>=18'}
- peerDependencies:
- openai: ^4.42.0
- react: ^18 || ^19
- sswr: ^2.1.0
- svelte: ^3.0.0 || ^4.0.0
- zod: 4.3.6
- peerDependenciesMeta:
- openai:
- optional: true
- react:
- optional: true
- sswr:
- optional: true
- svelte:
- optional: true
- zod:
- optional: true
-
resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}
peerDependencies:
@@ -6679,9 +6548,6 @@ packages:
resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==}
engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'}
- resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==}
-
resolution: {integrity: sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==}
@@ -6811,10 +6677,6 @@ packages:
resolution: {integrity: sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==}
- resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==}
- engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}
-
resolution: {integrity: sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==}
engines: {node: '>= 6'}
@@ -7056,9 +6918,6 @@ packages:
resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
- resolution: {integrity: sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==}
-
resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -7486,10 +7345,6 @@ packages:
resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}
engines: {node: '>=0.8.x'}
- resolution: {integrity: sha512-v0eOBUbiaFojBu2s2NPBfYUoRR9GjcDNvCXVaqEf5vVfpIAh9f8RCo4vXTP8c63QRKCFwoLpMpTdPwwhEKVgzA==}
- engines: {node: '>=14.18'}
-
resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==}
engines: {node: '>=18.0.0'}
@@ -7692,9 +7547,6 @@ packages:
resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
engines: {node: '>=14'}
- resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==}
-
resolution: {integrity: sha512-jqdObeR2rxZZbPSGL+3VckHMYtu+f9//KXBsVny6JSX/pa38Fy+bGjuG8eW/H6USNQWhLi8Num++cU2yOCNz4A==}
engines: {node: '>= 0.12'}
@@ -7706,10 +7558,6 @@ packages:
resolution: {integrity: sha512-varLbTj0e0yVyRpqQhuWV+8hlePAgaoFRhNFj50BNjEIrw1/DphHSObtqwskVCPWNgzwPoQrZAbfa/SBiicNeg==}
- resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==}
- engines: {node: '>= 12.20'}
-
resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==}
engines: {node: '>=12.20.0'}
@@ -8007,9 +7855,6 @@ packages:
resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==}
engines: {node: '>=16.17.0'}
- resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==}
-
resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==}
engines: {node: '>=18'}
@@ -8253,9 +8098,6 @@ packages:
resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==}
- resolution: {integrity: sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==}
-
resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}
engines: {node: '>= 0.4'}
@@ -8617,9 +8459,6 @@ packages:
resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==}
- resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==}
-
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
@@ -8635,11 +8474,6 @@ packages:
engines: {node: '>=6'}
hasBin: true
- resolution: {integrity: sha512-3QItJOXp2AP1uv7waBkao5nCvhEv+QmJAd38Ybq7wNI74Q+BBmnLn4EDKz6yI9xGAIQoUF87qHt+kc1IVxB4zQ==}
- engines: {node: ^18.0.0 || >=20.0.0}
- hasBin: true
-
resolution: {integrity: sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA==}
engines: {node: '>=18.0.0'}
@@ -8843,9 +8677,6 @@ packages:
resolution: {integrity: sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==}
engines: {node: '>=6.11.5'}
- resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==}
-
resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
engines: {node: '>=8'}
@@ -9054,9 +8885,6 @@ packages:
resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==}
- resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==}
-
resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==}
engines: {node: '>= 0.6'}
@@ -9543,18 +9371,6 @@ packages:
resolution: {integrity: sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-p99EFNsA/yX6UhVO93f5kJsDRLAg+CTA2RBqdHK4RtK8u5IJw32Hyb2dTGKbnnFmnuoBv5r7Z2CURI9sGZpSuA==}
- hasBin: true
- peerDependencies:
- ws: ^8.18.0
- zod: 4.3.6
- peerDependenciesMeta:
- ws:
- optional: true
- zod:
- optional: true
-
resolution: {integrity: sha512-NHRpPEUPzAvFOAFs9+9pC6+HCw/iWsYsKCMPXH5Kw7BpMxqd8g/A07/1o7Gx2TWtCnzevVRyKMRFqyiHyAlqcA==}
hasBin: true
@@ -9741,9 +9557,6 @@ packages:
resolution: {integrity: sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==}
- resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==}
-
resolution: {integrity: sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==}
@@ -10454,9 +10267,6 @@ packages:
resolution: {integrity: sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==}
engines: {node: '>= 10.13.0'}
- resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==}
-
resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==}
@@ -10489,16 +10299,6 @@ packages:
resolution: {integrity: sha512-y9WzzDj3BsGgKLCh0ugiinufS//YqOfao/yVJjkXA4VLuyNCfHOLU/cbulGPxs3aeCqhvROw7qPL04JSZnCo0w==}
- resolution: {integrity: sha512-4FbuZ/TMl02sqv0RTFexu0SP6V+ywaIe5bAWCCEik0fk17BhALgwvUDVF7e3Uvf9pxmwCEJsRPmlkUE6HdzLAw==}
- engines: {node: '>=10'}
- peerDependencies:
- seroval: ^1.0
-
- resolution: {integrity: sha512-OwrZRZAfhHww0WEnKHDY8OM0U/Qs8OTfIDWhUD4BLpNJUfXK4cGmjiagGze086m+mhI+V2nD0gfbHEnJjb9STA==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==}
engines: {node: '>= 18'}
@@ -10592,9 +10392,6 @@ packages:
resolution: {integrity: sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A==}
engines: {node: '>= 10.0.0', npm: '>= 3.0.0'}
- resolution: {integrity: sha512-cpkxDPvO/AuKBugVv6xKFd1C9VC0XZMu4VtF56IlHoux8HgyW44uqNSWbozMnVcpIzHIhS3vVXPAVZYM26jpWw==}
-
resolution: {integrity: sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w==}
peerDependencies:
@@ -10639,11 +10436,6 @@ packages:
resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==}
- resolution: {integrity: sha512-Cqc355SYlTAaUt8iDPaC/4DPPXK925PePLMxyBKuWd5kKc5mwsG3nT9+Mq2tyguL5s7b4Jg+IRMpTRsNTAfpSQ==}
- peerDependencies:
- svelte: ^4.0.0 || ^5.0.0-next.0
-
resolution: {integrity: sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==}
@@ -10839,23 +10631,6 @@ packages:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==}
- engines: {node: '>=16'}
-
- resolution: {integrity: sha512-QtxqyclFeAsxEUeZIYmsaQ0UjimSq1RZ9Un7I68/0ClKK/U3LoyQunwkQfJZr2fc22DfIXLNDc2wFyTEikCUpg==}
- peerDependencies:
- react: ^16.11.0 || ^17.0.0 || ^18.0.0
-
- resolution: {integrity: sha512-LqVcOHSB4cPGgitD1riJ1Hh4vdmITOp+BkmfmXRh4hSF/t7EnS4iD+SOTmq7w5pPm/SiPeto4ADbKS6dHUDWFA==}
-
- resolution: {integrity: sha512-zjEkcP8Ywmj+xOJW3lIT65ciY/4AL4e/Or7Gj0MzU3zBJNMdJiT8geVZhINavnlHRMMCcJLHhraLTAiDOTmQ9g==}
- peerDependencies:
- vue: '>=3.2.26 < 4'
-
resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
@@ -11384,14 +11159,6 @@ packages:
jsdom:
optional: true
- resolution: {integrity: sha512-8s/56uK6r01r1icG/aEOHqyMVxd1bkYcSe9j8HcKtr/xTOFWvnzIVTehNW+5Yt89f+DLBe4A569pnZLS5HzAMA==}
- peerDependencies:
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
-
resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==}
@@ -11413,10 +11180,6 @@ packages:
resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}
engines: {node: '>= 8'}
- resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==}
- engines: {node: '>= 14'}
-
resolution: {integrity: sha512-r4DIlprAGwJ7YM11VZp4R884m0Vmgr6EAKe3P+kO0PPj3Unqyvv59rczf6UiGcb9Z8QxZVcqKNwv/g0WNdWwsw==}
@@ -11595,11 +11358,6 @@ packages:
resolution: {integrity: sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-uSt90Gzc/tUfyNqxnjlfBs8W6WSGpNBv0rVsNxP/BVSMHMKGdthPYff4xtCHYloJGM0CFxFsb3NbC0eqPhfImw==}
- peerDependencies:
- zod: 4.3.6
-
resolution: {integrity: sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==}
peerDependencies:
@@ -11623,74 +11381,8 @@ snapshots:
'@adobe/[email protected]': {}
- dependencies:
- '@ai-sdk/provider': 0.0.24
- eventsource-parser: 1.1.2
- nanoid: 3.3.11
- secure-json-parse: 2.7.0
- optionalDependencies:
- zod: 4.3.6
-
- '@ai-sdk/[email protected]':
- dependencies:
- json-schema: 0.4.0
-
- dependencies:
- '@ai-sdk/provider-utils': 1.0.20([email protected])
- '@ai-sdk/ui-utils': 0.0.46([email protected])
- swr: 2.2.5([email protected])
- optionalDependencies:
- react: 19.2.4
- zod: 4.3.6
-
- dependencies:
- '@ai-sdk/provider-utils': 1.0.20([email protected])
- '@ai-sdk/ui-utils': 0.0.46([email protected])
- optionalDependencies:
- solid-js: 1.8.18
- transitivePeerDependencies:
- - zod
-
- dependencies:
- '@ai-sdk/provider-utils': 1.0.20([email protected])
- '@ai-sdk/ui-utils': 0.0.46([email protected])
- sswr: 2.1.0([email protected])
- optionalDependencies:
- svelte: 4.2.19
- transitivePeerDependencies:
- - zod
-
- dependencies:
- '@ai-sdk/provider': 0.0.24
- '@ai-sdk/provider-utils': 1.0.20([email protected])
- json-schema: 0.4.0
- secure-json-parse: 2.7.0
- zod-to-json-schema: 3.23.2([email protected])
- optionalDependencies:
- zod: 4.3.6
-
- dependencies:
- '@ai-sdk/provider-utils': 1.0.20([email protected])
- '@ai-sdk/ui-utils': 0.0.46([email protected])
- optionalDependencies:
- vue: 3.4.27([email protected])
- transitivePeerDependencies:
- - zod
-
'@alloc/[email protected]': {}
- '@ampproject/[email protected]':
- dependencies:
- '@jridgewell/gen-mapping': 0.3.13
- '@jridgewell/trace-mapping': 0.3.31
-
dependencies:
json-schema-to-ts: 3.1.1
@@ -14001,7 +13693,7 @@ snapshots:
transitivePeerDependencies:
- aws-crt
dependencies:
'@cfworker/json-schema': 4.1.1
'@standard-schema/spec': 1.1.0
@@ -14009,7 +13701,7 @@ snapshots:
camelcase: 6.3.0
decamelize: 1.2.0
js-tiktoken: 1.0.21
- langsmith: 0.5.11(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ langsmith: 0.5.11(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
mustache: 4.2.0
p-queue: 6.6.2
uuid: 11.1.0
@@ -14067,9 +13759,9 @@ snapshots:
- '@langchain/core'
- supports-color
dependencies:
- '@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
uuid: 10.0.0
@@ -14077,13 +13769,13 @@ snapshots:
'@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
uuid: 10.0.0
dependencies:
p-queue: 9.1.0
p-retry: 7.1.1
uuid: 13.0.0
optionalDependencies:
- '@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
react: 19.2.4
react-dom: 19.2.4([email protected])
@@ -14097,11 +13789,11 @@ snapshots:
react: 19.2.4
react-dom: 19.2.4([email protected])
dependencies:
- '@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
- '@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
+ '@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
'@standard-schema/spec': 1.1.0
uuid: 10.0.0
zod: 4.3.6
@@ -16995,8 +16687,6 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]': {}
-
dependencies:
dompurify: 3.3.3
@@ -17098,21 +16788,10 @@ snapshots:
dependencies:
'@types/node': 24.3.0
- '@types/[email protected]':
- dependencies:
- '@types/node': 24.3.0
- form-data: 4.0.5
- optional: true
-
dependencies:
undici-types: 5.26.5
- '@types/[email protected]':
- dependencies:
- undici-types: 5.26.5
- optional: true
-
dependencies:
undici-types: 5.26.5
@@ -17527,59 +17206,6 @@ snapshots:
convert-source-map: 2.0.0
tinyrainbow: 3.1.0
- dependencies:
- '@babel/parser': 7.29.2
- '@vue/shared': 3.4.27
- entities: 4.5.0
- estree-walker: 2.0.2
- source-map-js: 1.2.1
-
- dependencies:
- '@vue/compiler-core': 3.4.27
- '@vue/shared': 3.4.27
-
- dependencies:
- '@babel/parser': 7.29.2
- '@vue/compiler-core': 3.4.27
- '@vue/compiler-dom': 3.4.27
- '@vue/compiler-ssr': 3.4.27
- '@vue/shared': 3.4.27
- estree-walker: 2.0.2
- magic-string: 0.30.21
- postcss: 8.5.8
- source-map-js: 1.2.1
-
- dependencies:
- '@vue/compiler-dom': 3.4.27
- '@vue/shared': 3.4.27
-
- dependencies:
- '@vue/shared': 3.4.27
-
- dependencies:
- '@vue/reactivity': 3.4.27
- '@vue/shared': 3.4.27
-
- dependencies:
- '@vue/runtime-core': 3.4.27
- '@vue/shared': 3.4.27
- csstype: 3.2.3
-
- dependencies:
- '@vue/compiler-ssr': 3.4.27
- '@vue/shared': 3.4.27
- vue: 3.4.27([email protected])
-
- '@vue/[email protected]': {}
-
'@webassemblyjs/[email protected]':
dependencies:
'@webassemblyjs/helper-numbers': 1.13.2
@@ -17710,37 +17336,6 @@ snapshots:
- dependencies:
- humanize-ms: 1.2.1
- optional: true
-
- dependencies:
- '@ai-sdk/provider': 0.0.24
- '@ai-sdk/provider-utils': 1.0.20([email protected])
- '@ai-sdk/react': 0.0.62([email protected])([email protected])
- '@ai-sdk/solid': 0.0.49([email protected])([email protected])
- '@ai-sdk/svelte': 0.0.51([email protected])([email protected])
- '@ai-sdk/ui-utils': 0.0.46([email protected])
- '@opentelemetry/api': 1.9.0
- eventsource-parser: 1.1.2
- json-schema: 0.4.0
- jsondiffpatch: 0.6.0
- nanoid: 3.3.11
- secure-json-parse: 2.7.0
- zod-to-json-schema: 3.23.2([email protected])
- optionalDependencies:
- react: 19.2.4
- sswr: 2.1.0([email protected])
- svelte: 4.2.19
- zod: 4.3.6
- transitivePeerDependencies:
- - solid-js
- - vue
-
optionalDependencies:
ajv: 8.17.1
@@ -18280,14 +17875,6 @@ snapshots:
- dependencies:
- '@jridgewell/sourcemap-codec': 1.5.5
- '@types/estree': 1.0.8
- acorn: 8.16.0
- estree-walker: 3.0.3
- periscopic: 3.1.0
-
dependencies:
'@codemirror/autocomplete': 6.17.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])
@@ -18421,11 +18008,6 @@ snapshots:
domutils: 3.2.2
nth-check: 2.1.1
- dependencies:
- mdn-data: 2.0.30
- source-map-js: 1.2.1
-
@@ -18644,8 +18226,6 @@ snapshots:
dependencies:
dequal: 2.0.3
-
@@ -19285,8 +18865,6 @@ snapshots:
-
@@ -19525,9 +19103,6 @@ snapshots:
cross-spawn: 7.0.6
signal-exit: 4.1.0
- optional: true
-
dependencies:
asynckit: 0.4.0
@@ -19547,12 +19122,6 @@ snapshots:
- dependencies:
- node-domexception: 1.0.0
- web-streams-polyfill: 4.0.0-beta.3
- optional: true
-
dependencies:
fetch-blob: 3.2.0
@@ -19914,11 +19483,6 @@ snapshots:
- dependencies:
- ms: 2.1.3
- optional: true
-
@@ -20157,10 +19721,6 @@ snapshots:
dependencies:
'@types/estree': 1.0.8
- dependencies:
- '@types/estree': 1.0.8
-
dependencies:
call-bound: 1.0.4
@@ -20743,8 +20303,6 @@ snapshots:
-
@@ -20755,12 +20313,6 @@ snapshots:
- dependencies:
- '@types/diff-match-patch': 1.0.36
- chalk: 5.6.2
- diff-match-patch: 1.0.5
-
dependencies:
'@jsep-plugin/assignment': 1.3.0([email protected])
@@ -20812,12 +20364,12 @@ snapshots:
dependencies:
- '@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
- '@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
- langsmith: 0.4.12(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))
+ '@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
+ langsmith: 0.4.12(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))
uuid: 10.0.0
zod: 4.3.6
transitivePeerDependencies:
@@ -20868,7 +20420,7 @@ snapshots:
dependencies:
langfuse-core: 3.38.6
dependencies:
'@types/uuid': 10.0.0
chalk: 4.1.2
@@ -20880,7 +20432,7 @@ snapshots:
'@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])
dependencies:
@@ -20896,7 +20448,7 @@ snapshots:
'@opentelemetry/sdk-trace-base': 2.6.1(@opentelemetry/[email protected])
dependencies:
'@types/uuid': 10.0.0
chalk: 5.6.2
@@ -20908,7 +20460,7 @@ snapshots:
'@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])
ws: 8.18.3
@@ -20996,8 +20548,6 @@ snapshots:
-
dependencies:
p-locate: 4.1.0
@@ -21318,8 +20868,6 @@ snapshots:
dependencies:
'@types/mdast': 4.0.4
-
@@ -21929,22 +21477,6 @@ snapshots:
is-inside-container: 1.0.0
wsl-utils: 0.1.0
- dependencies:
- '@types/node': 18.19.130
- '@types/node-fetch': 2.6.13
- abort-controller: 3.0.0
- agentkeepalive: 4.6.0
- form-data-encoder: 1.7.2
- formdata-node: 4.4.1
- node-fetch: 2.7.0
- optionalDependencies:
- ws: 8.18.3
- zod: 4.3.6
- transitivePeerDependencies:
- - encoding
- optional: true
-
optionalDependencies:
ws: 8.18.3
@@ -22148,12 +21680,6 @@ snapshots:
- dependencies:
- '@types/estree': 1.0.8
- estree-walker: 3.0.3
- is-reference: 3.0.3
-
optional: true
@@ -22952,8 +22478,6 @@ snapshots:
ajv-formats: 2.1.1([email protected])
ajv-keywords: 5.1.0([email protected])
-
dependencies:
parseley: 0.12.1
@@ -22986,14 +22510,6 @@ snapshots:
- dependencies:
- seroval: 1.5.1
- optional: true
-
- optional: true
-
dependencies:
encodeurl: 2.0.0
@@ -23132,13 +22648,6 @@ snapshots:
ip-address: 10.1.0
smart-buffer: 4.2.0
- dependencies:
- csstype: 3.2.3
- seroval: 1.5.1
- seroval-plugins: 1.5.1([email protected])
- optional: true
-
dependencies:
react: 19.2.4
@@ -23175,11 +22684,6 @@ snapshots:
- dependencies:
- svelte: 4.2.19
- swrev: 4.0.0
-
@@ -23382,35 +22886,6 @@ snapshots:
- dependencies:
- '@ampproject/remapping': 2.3.0
- '@jridgewell/sourcemap-codec': 1.5.5
- '@jridgewell/trace-mapping': 0.3.31
- '@types/estree': 1.0.8
- acorn: 8.16.0
- aria-query: 5.3.2
- axobject-query: 4.1.0
- code-red: 1.0.4
- css-tree: 2.3.1
- estree-walker: 3.0.3
- is-reference: 3.0.3
- locate-character: 3.0.0
- magic-string: 0.30.21
- periscopic: 3.1.0
-
- dependencies:
- client-only: 0.0.1
- react: 19.2.4
- use-sync-external-store: 1.6.0([email protected])
-
-
- dependencies:
- vue: 3.4.27([email protected])
-
@@ -23937,16 +23412,6 @@ snapshots:
transitivePeerDependencies:
- msw
- dependencies:
- '@vue/compiler-dom': 3.4.27
- '@vue/compiler-sfc': 3.4.27
- '@vue/runtime-dom': 3.4.27
- '@vue/server-renderer': 3.4.27([email protected]([email protected]))
- '@vue/shared': 3.4.27
- optionalDependencies:
- typescript: 5.9.2
-
@@ -23966,9 +23431,6 @@ snapshots:
- optional: true
-
@@ -24172,10 +23634,6 @@ snapshots:
- dependencies:
- zod: 4.3.6
-
dependencies:
zod: 4.3.6
diff --git a/web/package.json b/web/package.json
index b6bcf73f98..ac5384598d 100644
--- a/web/package.json
+++ b/web/package.json
@@ -102,7 +102,6 @@
"@trpc/server": "^11.13.4",
"@uiw/codemirror-themes": "^4.23.7",
"@uiw/react-codemirror": "^4.25.8",
- "ai": "^3.4.9",
"bcryptjs": "^2.4.3",
"bullmq": "^5.34.10",
"chroma-js": "^3.1.2",
diff --git a/web/src/__tests__/server/prompts.v2.servertest.ts b/web/src/__tests__/server/prompts.v2.servertest.ts
index 379d79e7dc..92a599abd1 100644
--- a/web/src/__tests__/server/prompts.v2.servertest.ts
+++ b/web/src/__tests__/server/prompts.v2.servertest.ts
@@ -11,7 +11,7 @@ import {
PromptType,
} from "@langfuse/shared";
import { parsePromptDependencyTags } from "@langfuse/shared";
-import { generateId, nanoid } from "ai";
+import { nanoid } from "nanoid";
import { type PromptsMetaResponse } from "@/src/features/prompts/server/actions/getPromptsMeta";
import {
@@ -544,7 +544,7 @@ describe("/api/public/v2/prompts API Endpoint", () => {
it("should create and fetch a chat prompt with message placeholders", async () => {
const { auth } = await createOrgProjectAndApiKey();
- const promptName = `prompt-name-message-placeholders${generateId()}`;
+ const promptName = `prompt-name-message-placeholders${nanoid()}`;
const commitMessage = "feat: add message placeholders support";
const chatMessages = [
{
diff --git a/web/src/features/playground/server/chatCompletionHandler.ts b/web/src/features/playground/server/chatCompletionHandler.ts
index b47724c0f4..c03c3c3551 100644
--- a/web/src/features/playground/server/chatCompletionHandler.ts
+++ b/web/src/features/playground/server/chatCompletionHandler.ts
@@ -1,4 +1,3 @@
-import { StreamingTextResponse } from "ai";
import { NextResponse, type NextRequest } from "next/server";
import {
@@ -131,7 +130,12 @@ export default async function chatCompletionHandler(req: NextRequest) {
streaming,
});
- return new StreamingTextResponse(completion);
+ return new Response(completion, {
+ status: 200,
+ headers: {
+ "Content-Type": "text/plain; charset=utf-8",
+ },
+ });
} else {
const completion = await fetchLLMCompletion({
...fetchLLMCompletionParams,