Skip to content

Commit

Permalink
chat url
Browse files Browse the repository at this point in the history
  • Loading branch information
Oceania2018 committed Feb 5, 2024
1 parent 27ac464 commit 98a12c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Public
PUBLIC_SERVICE_URL=https://botsharp.azurewebsites.net
PUBLIC_LIVECHAT_HOST=https://victorious-moss-007e11310.4.azurestaticapps.net
PUBLIC_LIVECHAT_HOST=https://victorious-moss-007e11310.4.azurestaticapps.net/
PUBLIC_LIVECHAT_ENTRY_ICON=images/users/bot.png
PUBLIC_HOME_IMAGE=images/megamenu-img.png
PUBLIC_HOME_SLOGAN=A central workspace for building, testing and evaluating your AI Agents.
Expand Down
2 changes: 1 addition & 1 deletion src/lib/common/LiveChatEntry.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
onMount(async () => {
const agentSettings = await getSettingDetail("Agent");
chatUrl = `${PUBLIC_LIVECHAT_HOST}/chat/${agentSettings.hostAgentId}`;
chatUrl = `${PUBLIC_LIVECHAT_HOST}chat/${agentSettings.hostAgentId}`;
showChatIcon = true;
});
Expand Down
10 changes: 5 additions & 5 deletions src/routes/page/task/[taskId]/execution-flow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@
task = await getAgentTaskDetail(agentId, taskId);
renderTaskNode();
const scrollElements = document.querySelectorAll('.scrollbar');
scrollElements.forEach((item) => {
const scrollbar = OverlayScrollbars(item, options);
});
});
function renderTaskNode() {
Expand All @@ -86,6 +81,11 @@
lastPosX = posX;
lastPosY = posY;
const scrollElements = document.querySelectorAll('.scrollbar');
scrollElements.forEach((item) => {
const scrollbar = OverlayScrollbars(item, options);
});
}
/** @param {import('$types').ConversationModel} conversation */
Expand Down

0 comments on commit 98a12c1

Please sign in to comment.