mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-03 12:23:02 +01:00
Remove usages of the websocketconnected variable
This commit is contained in:
parent
bfeb64b48f
commit
9a43622cef
5 changed files with 1 additions and 4 deletions
|
@ -278,7 +278,6 @@ export default function Agents() {
|
|||
<div className={`${styles.pageLayout} w-full mx-auto`}>
|
||||
<div className={`${styles.sidePanel} top-0`}>
|
||||
<SidePanel
|
||||
webSocketConnected={true}
|
||||
conversationId={null}
|
||||
uploadedFiles={[]}
|
||||
isMobileWidth={isMobileWidth}
|
||||
|
|
|
@ -944,7 +944,6 @@ export default function Automations() {
|
|||
<div className={`grid w-full ml-auto mr-auto`}>
|
||||
<div className={`${styles.sidePanel} top-0`}>
|
||||
<SidePanel
|
||||
webSocketConnected={true}
|
||||
conversationId={null}
|
||||
uploadedFiles={[]}
|
||||
isMobileWidth={isMobileWidth}
|
||||
|
|
|
@ -194,6 +194,7 @@ export default function Chat() {
|
|||
|
||||
async function chat() {
|
||||
localStorage.removeItem("message");
|
||||
if (!queryToProcess || !conversationId) return;
|
||||
let chatAPI = `/api/chat?q=${encodeURIComponent(queryToProcess)}&conversation_id=${conversationId}&stream=true&client=web`;
|
||||
if (locationData) {
|
||||
chatAPI += `®ion=${locationData.region}&country=${locationData.country}&city=${locationData.city}&timezone=${locationData.timezone}`;
|
||||
|
|
|
@ -302,7 +302,6 @@ export default function Home() {
|
|||
</title>
|
||||
<div className={`${styles.sidePanel}`}>
|
||||
<SidePanel
|
||||
webSocketConnected={true}
|
||||
conversationId={conversationId}
|
||||
uploadedFiles={uploadedFiles}
|
||||
isMobileWidth={isMobileWidth}
|
||||
|
|
|
@ -214,7 +214,6 @@ export default function Search() {
|
|||
<div className={`${styles.searchLayout}`}>
|
||||
<div className='h-full'>
|
||||
<SidePanel
|
||||
webSocketConnected={true}
|
||||
conversationId={null}
|
||||
uploadedFiles={[]}
|
||||
isMobileWidth={isMobileWidth}
|
||||
|
|
Loading…
Reference in a new issue