lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

[Request] 能否将角色设定(默认prompt)写进环境变量中

Open shentong0722 opened this issue 1 year ago • 4 comments

🥰 需求描述

允许服务端直接提供一个默认的prompt,毕竟大多数用户都不会写这个

🧐 解决方案

写进环境变量

📝 补充信息

另外,感觉现在的项目太庞大了,有种臃肿的感觉,建议瘦瘦身,加快运行效率

shentong0722 avatar Jan 11 '24 04:01 shentong0722

👀 @shentong0722

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot avatar Jan 11 '24 04:01 lobehubbot

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

Allow the server to directly provide a default prompt. After all, most users will not write this.

🧐 Solution

Write to environment variables

📝 Supplementary information

In addition, I feel that the current project is too huge and feels bloated. It is recommended to slim down and speed up the operation efficiency

lobehubbot avatar Jan 11 '24 04:01 lobehubbot

在这里跟进:

  • https://github.com/lobehub/lobe-chat/discussions/913

另外,感觉现在的项目太庞大了,有种臃肿的感觉,建议瘦瘦身,加快运行效率

展开说说?

arvinxx avatar Jan 11 '24 04:01 arvinxx

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Follow along here:

  • https://github.com/lobehub/lobe-chat/discussions/913

In addition, I feel that the current project is too huge and bloated. It is recommended to slim down and speed up the operation efficiency.

Expand and talk about it?

lobehubbot avatar Jan 11 '24 04:01 lobehubbot

✅ @shentong0722

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot avatar Feb 14 '24 17:02 lobehubbot

:tada: This issue has been resolved in version 0.128.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

lobehubbot avatar Feb 14 '24 17:02 lobehubbot