You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model_config is indeed set up to load configurations from a YAML file, as seen in the KBSettings class, which uses SettingsConfigDict to load configurations from a YAML file located at CHATCHAT_ROOT / "kb_settings.yaml"[1]. However, if model_config is not being used elsewhere in the code, it could be a reason why the YAML settings appear ineffective.
To resolve this, you should check if there are any parts of the code that reference or utilize model_config. If not, it might be necessary to ensure that the configuration is being applied correctly in the relevant parts of the application. Additionally, verify that the YAML file path and structure are correct and that the application is loading the intended file.
问题描述 / Problem Description
v0.3.1设置yaml无效
查看libs/chatchat-server/chatchat/settings.py这个文件,
model_config = SettingsConfigDict(yaml_file=CHATCHAT_ROOT / "*.yaml")
但是model_config 下面没有使用,也就是说yaml的配置并没有使用?
请问是我安装的版本原因吗?
The text was updated successfully, but these errors were encountered: