From 9c71d99852135e06299ddfbaf426766415a0466a Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 9 Jun 2023 13:59:02 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20chore(vite.config.ts):=20add=20n?= =?UTF-8?q?ew=20routes=20to=20apiRoutes=20array=20The=20new=20routes=20add?= =?UTF-8?q?ed=20to=20the=20apiRoutes=20array=20are=20"/flows=5Fstyles",=20?= =?UTF-8?q?"/flows=5Fstyles/"=20and=20"/flows=5Fstyles/*".=20These=20route?= =?UTF-8?q?s=20were=20added=20to=20allow=20the=20frontend=20to=20fetch=20t?= =?UTF-8?q?he=20styles=20for=20the=20flows.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poetry.lock | 14 +++++++------- src/frontend/vite.config.ts | 3 +++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index f5e4fcc5e..bfad801d9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2442,14 +2442,14 @@ test = ["psutil", "pytest", "pytest-asyncio"] [[package]] name = "langchainplus-sdk" -version = "0.0.6" +version = "0.0.7" description = "Client library to connect to the LangChainPlus LLM Tracing and Evaluation Platform." category = "main" optional = false python-versions = ">=3.8.1,<4.0" files = [ - {file = "langchainplus_sdk-0.0.6-py3-none-any.whl", hash = "sha256:43fe01c66442b88403c969b8812f6be81e023c0d2a6d5d3572a8d87961438658"}, - {file = "langchainplus_sdk-0.0.6.tar.gz", hash = "sha256:c911a98fd2d02baa48f742b7d700fd6a55f11c9a545ee5d66b08825940c9a32e"}, + {file = "langchainplus_sdk-0.0.7-py3-none-any.whl", hash = "sha256:aefc471058648bf9fc51f659117d33ef905d25a304d5a021f7e32c30f5921076"}, + {file = "langchainplus_sdk-0.0.7.tar.gz", hash = "sha256:b58565bdcaf301d2e6e7dd8898f0b8ccf549a35476258e0c14d871d6de02d210"}, ] [package.dependencies] @@ -6032,14 +6032,14 @@ grpc = ["grpcio", "grpcio-tools"] [[package]] name = "websocket-client" -version = "1.5.2" +version = "1.5.3" description = "WebSocket client for Python with low level API options" category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "websocket-client-1.5.2.tar.gz", hash = "sha256:c7d67c13b928645f259d9b847ab5b57fd2d127213ca41ebd880de1f553b7c23b"}, - {file = "websocket_client-1.5.2-py3-none-any.whl", hash = "sha256:f8c64e28cd700e7ba1f04350d66422b6833b82a796b525a51e740b8cc8dab4b1"}, + {file = "websocket-client-1.5.3.tar.gz", hash = "sha256:b96f3bce3e54e3486ebe6504bc22bd4c140392bd2eb71764db29be8f2639aa65"}, + {file = "websocket_client-1.5.3-py3-none-any.whl", hash = "sha256:3566f8467cd350874c4913816355642a4942f6c1ed1e9406e3d42fae6d6c072a"}, ] [package.extras] @@ -6408,4 +6408,4 @@ deploy = ["langchain-serve"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.12" -content-hash = "3cefd738bb8466d22b1403d9b40c92420ec7f248705a2604b21d96e58d5db990" +content-hash = "7f109f1f4b5fca1658563e5ce478b2280481533a7ac89cc7d7f2e7c011049ca7" diff --git a/src/frontend/vite.config.ts b/src/frontend/vite.config.ts index 37c36b15b..8176a5978 100644 --- a/src/frontend/vite.config.ts +++ b/src/frontend/vite.config.ts @@ -10,6 +10,9 @@ const apiRoutes = [ "/health", "/flows/*", "/flows/", + "/flows_styles", + "/flows_styles/", + "/flows_styles/*", ]; // Use environment variable to determine the target.