From 907ca972b314490b2d3ce7a1f2db1bb93e31086e Mon Sep 17 00:00:00 2001 From: Vishal Pawar Date: Thu, 25 Jul 2024 15:19:40 +0530 Subject: [PATCH] feat: added config url --- src/app/components/Copilot/Copilot.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/Copilot/Copilot.tsx b/src/app/components/Copilot/Copilot.tsx index 29c179e..94e9d03 100644 --- a/src/app/components/Copilot/Copilot.tsx +++ b/src/app/components/Copilot/Copilot.tsx @@ -5,9 +5,9 @@ import "./Copilot.css"; import Markdown from '../ResponseFormat/Markdown'; import { PiecesClient } from 'pieces-copilot-sdk'; +import { BASE_URL } from '../../../platform.config'; // Replace 'your_base_url' with your actual base URL -export const BASE_URL = 'http://localhost:1000'; export const piecesClient = new PiecesClient({ baseUrl: BASE_URL }); let GlobalConversationID: string;