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

我应该如何修改系统预设?修改prompts.ts后未生效 #354

Open
6 tasks done
WindOct opened this issue Mar 15, 2025 · 5 comments
Open
6 tasks done

我应该如何修改系统预设?修改prompts.ts后未生效 #354

WindOct opened this issue Mar 15, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@WindOct
Copy link

WindOct commented Mar 15, 2025

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整浏览项目 README 和项目文档并未找到解决方案
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我将以礼貌和尊重的态度提问,不得使用不文明用语 (包括在此发布评论的所有人同样适用, 不遵守的人将被 block)
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
根据https://www.chatnio.com/docs/preset 中的步骤修改相关文件后,系统提供的预设并未改变,请问是需要重新编译吗?
是使用docker-compose安装的版本,修改文件后执行docker-compose restart,预设仍未改变
感谢您的帮助!
Image

@WindOct WindOct added the bug Something isn't working label Mar 15, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: How should I modify the system presets? It does not take effect after modifying propts.ts

  • I have confirmed that there is currently no similar issue
  • I have confirmed that I have upgraded to the latest version
  • I have fully browsed the project README and project documentation and found no solution
  • I understand and am willing to follow up on this issue, assist in testing and provide feedback
  • I will ask questions with politeness and respect and must not use uncivilized terms (the same applies to all those who post comments here, and those who do not comply will be blocked)
  • I understand and acknowledge the above and understand that project maintainers have limited energy and that non-compliance with the rules may be ignored or closed directly**

Problem Description
After modifying the relevant files according to the steps in https://www.chatnio.com/docs/preset, the preset provided by the system has not changed. Does it need to be recompiled?
It is a version installed using docker-compose. After modifying the file, docker-compose restart is executed. The preset has not changed yet.
Thanks for your help!
Image

@Sh1n3zZ
Copy link
Collaborator

Sh1n3zZ commented Mar 22, 2025

您好,

是需要重新编译的

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Hello,

It needs to be recompiled

@WindOct
Copy link
Author

WindOct commented Mar 25, 2025

您好,

是需要重新编译的

非常感谢您的回复,但是我尝试编译后还是没变化,询问大模型后同样无果,非常抱歉耽误您的时间,但是希望能获得您的进一步帮助
以下是尝试使用的代码,万分感谢

npm install -g pnpm
pnpm install
pnpm build

cd ..
go build -o chatnio
docker-compose down
docker-compose up -d

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Hello,

It needs to be recompiled

Thank you very much for your reply, but I still haven't changed after trying to compile it. I asked about the big model again and it was also fruitless. I'm sorry for delaying your time, but I hope you can get further help from you
The following is the code I tried to use, thanks very much

npm install -g pnpm
pnpm install
pnpm build

cd ..
go build -o chatnio
docker-compose down
docker-compose up -d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants