Skip to content

Commit

Permalink
add note about ongoing discussion on message type
Browse files Browse the repository at this point in the history
  • Loading branch information
kantord committed Jan 24, 2025
1 parent 1beb48e commit 89a78e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/AlertsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ const getTitle = (alert: AlertConversation) => {
};

function TypeCellContent({ alert }: { alert: AlertConversation }) {
// TODO: this should be improved to better make sure all possible
// values from BE are properly handled
// see discussion: https://discord.com/channels/1184987096302239844/1317203257051054120/1332280487464407071
const conversationType = alert.conversation.type;
console.log({ conversationType });

if (conversationType === "chat") {
return "Chat";
}

return "Completion";
return "Code Suggestion";
}

export function AlertsTable() {
Expand Down

0 comments on commit 89a78e7

Please sign in to comment.