Files
plane/web/ee/helpers/pi-chat.helper.ts
Akshita Goyal 8e0a919750 fix: pi chat bug fixes (#1670)
* chore: pi empty state

* fix: response change handled

* fix: handled api failure

* fix: formatted ai messages

* fix: reverted the pi pallete

* fix: integrated  models api

* fix: disabled regenerating new chat

* fix: page loading fixed

* fix: dynamically imported markdown

* fix: removed extras

* fix: minor css

* fix: handled pi chat in bulk ops
2024-11-08 13:33:00 +05:30

14 lines
342 B
TypeScript

export const hideFloatingBot = () => {
const floatingBot = document.getElementById("floating-bot");
if (floatingBot) {
floatingBot.style.display = "none";
}
};
export const showFloatingBot = () => {
const floatingBot = document.getElementById("floating-bot");
if (floatingBot) {
floatingBot.style.display = "block";
}
};