diff --git a/CHANGELOG.md b/CHANGELOG.md index 766c900..b1bacf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ and this project adheres to ### Changed - 📦️(front) update react +- ✨(front) add ui-kit +- ✨(front) add dark-mode + ### Fixed @@ -18,6 +21,10 @@ and this project adheres to - 🐛(back) fix system prompt compatibility with self-hosted models #200 - ⚰️(back) remove dead code and unused files +### Removed + +- 🔥(chat) remove thinking part from frontend #227 + ## [0.0.10] - 2025-12-15 ### Added diff --git a/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx b/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx index 696d607..a58449b 100644 --- a/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx +++ b/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx @@ -813,30 +813,12 @@ export const Chat = ({ )} {message.parts - ?.filter( - (part) => - part.type === 'reasoning' || - part.type === 'tool-invocation', - ) + ?.filter((part) => part.type === 'tool-invocation') .map( - ( - part: ReasoningUIPart | ToolInvocationUIPart, - partIndex: number, - ) => - part.type === 'reasoning' ? ( - - {part.reasoning} - - ) : part.type === 'tool-invocation' && - isCurrentlyStreaming && - isLastAssistantMessageInConversation ? ( + (part: ToolInvocationUIPart, partIndex: number) => + part.type === 'tool-invocation' && + isCurrentlyStreaming && + isLastAssistantMessageInConversation ? ( diff --git a/src/frontend/apps/e2e/__tests__/app-conversations/chat.spec.ts b/src/frontend/apps/e2e/__tests__/app-conversations/chat.spec.ts index 2e757aa..a059975 100644 --- a/src/frontend/apps/e2e/__tests__/app-conversations/chat.spec.ts +++ b/src/frontend/apps/e2e/__tests__/app-conversations/chat.spec.ts @@ -52,7 +52,7 @@ test.describe('Chat page', () => { const messageContent = page.getByTestId('assistant-message-content'); await expect(messageContent).toBeVisible(); - await expect(messageContent).not.toBeEmpty(); + await expect(messageContent).not.toBeEmpty(); // Check history const chatHistoryLink = page