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
A validation error occurs during deployment on Hugging Face due to a missing or improperly set chatbot_name field in the Chainlit configuration file. The error message is: pydantic.error_wrappers.ValidationError: 1 validation error for ChainlitConfig chatbot_name none is not an allowed value (type=type_error.none.not_allowed).
To Reproduce
Steps to reproduce the behavior:
Configure Chainlit with a config.toml file.
Deploy the application on Hugging Face.
Observe the deployment logs or error messages.
Expected behavior
The application should deploy successfully without validation errors related to the configuration file. Specifically, the chatbot_name field should be correctly set to avoid None value errors.
Screenshots
Desktop (please complete the following information):
Browser: [e.g., Chrome]
The error indicates that the chatbot_name field in the Chainlit configuration is either missing or set to None, which is not allowed. Ensure that this field is properly defined and not left empty. The configuration file should include a valid name under the [UI] section,
A validation error occurs during deployment on Hugging Face due to a missing or improperly set chatbot_name field in the Chainlit configuration file. The error message is: pydantic.error_wrappers.ValidationError: 1 validation error for ChainlitConfig chatbot_name none is not an allowed value (type=type_error.none.not_allowed).
To Reproduce
Steps to reproduce the behavior:
Configure Chainlit with a config.toml file.
Deploy the application on Hugging Face.
Observe the deployment logs or error messages.
Expected behavior
The application should deploy successfully without validation errors related to the configuration file. Specifically, the chatbot_name field should be correctly set to avoid None value errors.
Screenshots
Desktop (please complete the following information):
Browser: [e.g., Chrome]
The error indicates that the chatbot_name field in the Chainlit configuration is either missing or set to None, which is not allowed. Ensure that this field is properly defined and not left empty. The configuration file should include a valid name under the [UI] section,
here is my config file code
`[project]
[UI]
name = "Chatbot"
default_collapse_content = false
cot = "hidden"
custom_font = "https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.swap"
[code]
action_callbacks.sync = true
[UI.theme]
default = "dark"
layout = "wide"
font_family = "Inter, sans-serif"
[UI.theme.light]
[UI.theme.light.primary]
[UI.theme.light.text]
[UI.theme.dark]
[UI.theme.dark.primary]
[UI.theme.dark.text]
[meta]
generated_by = "1.1.402"
`
The text was updated successfully, but these errors were encountered: