enhancement: update widget code to use latest version of langflow-embedded-chat (#3347)

refactor: Update widget code to use latest version of langflow-embedded-chat
This commit is contained in:
anovazzi1 2024-08-14 18:26:32 -03:00 committed by GitHub
commit 642df45bf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ export default function getWidgetCode(
flowName: string,
isAuth: boolean,
): string {
return `<script src="https://cdn.jsdelivr.net/gh/logspace-ai/langflow-embedded-chat@v1.0.4/dist/build/static/js/bundle.min.js""></script>
return `<script src="https://cdn.jsdelivr.net/gh/logspace-ai/langflow-embedded-chat@v1.0.6/dist/build/static/js/bundle.min.js""></script>
<langflow-chat
window_title="${flowName}"