feat: regenerate in Chat, agent and Chatflow app (#7661)

This commit is contained in:
Hash Brown 2024-09-22 03:15:11 +08:00 • committed by GitHub
commit 8c51d06222
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 606 additions and 181 deletions

View file

@ -109,6 +109,7 @@ class ChatMessageApi(Resource):
parser.add_argument("files", type=list, required=False, location="json")
parser.add_argument("model_config", type=dict, required=True, location="json")
parser.add_argument("conversation_id", type=uuid_value, location="json")
parser.add_argument("parent_message_id", type=uuid_value, required=False, location="json")
parser.add_argument("response_mode", type=str, choices=["blocking", "streaming"], location="json")
parser.add_argument("retriever_from", type=str, required=False, default="dev", location="json")
args = parser.parse_args()