Unshare public conversations from the title pane on web app

Only show the unshare button on public conversations created by the
currently logged in user. Otherwise hide the button

Set conversation.isOwner = true only if currently logged in user
shared the current conversation.

This isOwner information is passed by the get shared conversation API
endpoint
This commit is contained in:
Debanjum
2025-03-24 17:38:37 +05:30
parent d9c758bcd2
commit 9dfa7757c5
4 changed files with 74 additions and 25 deletions

View File

@@ -196,6 +196,7 @@ export interface ChatHistoryData {
agent: AgentData;
conversation_id: string;
slug: string;
is_owner: boolean;
}
function sendFeedback(uquery: string, kquery: string, sentiment: string) {