Algorithm5838
Algorithm5838
To create a universal system prompt that can be used with non-OpenAI models, compatible with platforms such as OpenRouter or one-api, including Gemini Pro or other open-source models. It would...
Source: https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
- Removed `requestAnimationFrame` from `scrollDomToBottom` function, simplifying the scroll logic. - Updated `scrollDomToBottom` to check `autoScroll` state before setting it to `true`, reducing unnecessary state updates. - Added dependencies `[autoScroll,...
**Description:** This PR adds the model name to the message date in the chat message component, displaying it for previous messages as well. **Changes:** - Modified the `chat-message-action-date` element to...
Use a checkbox to optionally enable the use of max_tokens instead of having it disabled. This feature is useful for OpenAI models, as well as models from OpenRouter and other...
### 🥰 Feature Description Currently, in lobe-chat, there is no way to modify the conversation history or reassign roles (user, assistant, system) to existing messages. ### 🧐 Proposed Solution Implement...