mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592)
This commit is contained in:
@ -16,7 +16,7 @@ class HostingModerationFeature:
|
||||
:param prompt_messages: prompt messages
|
||||
:return:
|
||||
"""
|
||||
model_config = application_generate_entity.model_config
|
||||
model_config = application_generate_entity.model_conf
|
||||
|
||||
text = ""
|
||||
for prompt_message in prompt_messages:
|
||||
|
||||
Reference in New Issue
Block a user