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

考虑回复消息附加模型提示吗 #14

Open
QAbot-zh opened this issue May 1, 2024 · 2 comments
Open

考虑回复消息附加模型提示吗 #14

QAbot-zh opened this issue May 1, 2024 · 2 comments

Comments

@QAbot-zh
Copy link

QAbot-zh commented May 1, 2024

如图,我在原nextweb里做了小小的改动,增加了回复消息的模型标注
(因为时不时会切换模型,所以喜欢标注每条消息分别是哪个模型回复的)

image

改动也很小,只需要修改 app/components/chat.tsx 里的这个div:

                  <div className={styles["chat-message-action-date"]}>
                    {isContext
                      ? Locale.Chat.IsContext
                      : `${message.date.toLocaleString()}${
                        message.model ? ` - Model: ${message.model}` : ''
                      }`}
                  </div>
@vual
Copy link
Owner

vual commented May 14, 2024

这个有在做了。

@vual
Copy link
Owner

vual commented May 29, 2024

演示环境已经加上了,可以看看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants