Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Feedback for usage/foundation/basic - Lobe is printing responses in a tiny font in a tiny window in the chat? #4574

Open
nova-mindcorp opened this issue Nov 2, 2024 · 3 comments
Labels
💄 Design Design an style | 样式问题 Inactive No response in 30 days | 超过 30 天未活跃

Comments

@nova-mindcorp
Copy link

📝 Reference

https://github.com/lobehub/lobe-chat/tree/main/docs/usage/foundation/basic.mdx

🐛 Feedback

I am seeing Lobe write responses in a tiny font in a tiny scrolling window instead of the normal way. How can I make this stop? I need it to reply in the normal font in the normal chat.

First it seems to generate a tiny response in a tiny scrolling area that is too small to read and scroll through.

Then it generates a second response after that which is different and larger. I am not using any agents.

How do I get it NOT to do this?

Screenshot 2024-11-01 at 9 55 07 PM
@lobehubbot
Copy link
Member

👀 @nova-mindcorp

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@dosubot dosubot bot added the 💄 Design Design an style | 样式问题 label Nov 2, 2024
Copy link

dosubot bot commented Nov 2, 2024

Hey @nova-mindcorp! I'm here to help you out with any bugs, questions, or contributions you have. Let's get this issue sorted out together.

To address the issue of Lobe Chat displaying responses in a tiny font and window, you can check the following configurations:

  1. Font Size and Window Size Configuration: The font size and window size for chat responses are defined in the src/const/layoutTokens.ts file. You can adjust the constants like CHAT_PORTAL_WIDTH, CHAT_PORTAL_MAX_WIDTH, and CHAT_PORTAL_TOOL_UI_WIDTH to modify the window size. The font size is dynamically set using the useUserStore hook and userGeneralSettingsSelectors.fontSize in the src/features/PluginsUI/Render/MarkdownType/index.tsx file [1][2].

  2. User Settings for Appearance: Lobe Chat allows customization of chat response appearance through user settings. You can switch between light and dark modes, customize theme colors, and choose between conversation bubble and document modes for chat scenes. These settings might help in adjusting the appearance to your preference [3].

  3. Rendering Process: The initial tiny response followed by a larger one might be due to the streaming nature of the response rendering. The fetchSSE method processes data chunks incrementally, which can cause the initial small display before the full response is rendered [4][5].

By adjusting these settings, you should be able to achieve a more readable and appropriately sized chat response display.

To continue talking to Dosu, mention @dosu.

@SpeedupMaster
Copy link
Contributor

图片
Try to disable this function

@lobehubbot lobehubbot added the Inactive No response in 30 days | 超过 30 天未活跃 label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💄 Design Design an style | 样式问题 Inactive No response in 30 days | 超过 30 天未活跃
Projects
None yet
Development

No branches or pull requests

3 participants