File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed
tools/server/webui/src/lib/components/app/chat Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 6464 let recordingSupported = $state (false );
6565 let textareaRef: ChatFormTextarea | undefined = $state (undefined );
6666 let maxWidthClass = $derived (
67- currentConfig .responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
68- );
67+ currentConfig .responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
68+ );
6969
7070 function getAcceptStringForFileType(fileType : FileTypeCategory ): string {
7171 switch (fileType ) {
Original file line number Diff line number Diff line change 101101
102102 return serverModel ;
103103 });
104-
104+
105105 let maxWidthClass = $derived (
106- config ().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
107- );
106+ config ().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
107+ );
108108
109109 function handleCopyModel() {
110110 const model = displayedModel ();
Original file line number Diff line number Diff line change 2424 let allConversationMessages = $state <DatabaseMessage []>([]);
2525
2626 let maxWidthClass = $derived (
27- config ().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
28- );
27+ config ().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
28+ );
2929
3030 function refreshAllMessages() {
3131 const conversation = activeConversation ();
Original file line number Diff line number Diff line change 1212 let processingDetails = $derived (processingState .getProcessingDetails ());
1313 let showSlotsInfo = $derived (isCurrentConversationLoading || config ().keepStatsVisible );
1414 let maxWidthClass = $derived (
15- config ().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
16- );
15+ config ().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
16+ );
1717
1818 // Track loading state reactively by checking if conversation ID is in loading conversations array
1919 $effect (() => {
Original file line number Diff line number Diff line change 8888 let isCurrentConversationLoading = $derived (isLoading ());
8989
9090 let maxWidthClass = $derived (
91- config ().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
92- );
91+ config ().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
92+ );
9393
9494 async function handleDeleteConfirm() {
9595 const conversation = activeConversation ();
You can’t perform that action at this time.
0 commit comments