Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: fix missing id and message_id (#31008)
wangxiaolei1dd89a02ea54
diff --git a/api/fields/message_fields.py b/api/fields/message_fields.pyindex 2bba198fa82..c81e482f731 100644--- a/api/fields/message_fields.py+++ b/api/fields/message_fields.py@@ -2,6 +2,7 @@ from __future__ import annotationsfrom datetime import datetimefrom typing import TypeAlias+from uuid import uuid4from pydantic import BaseModel, ConfigDict, Field, field_validator@@ -20,8 +21,8 @@ class SimpleFeedback(ResponseModel):class RetrieverResource(ResponseModel):- id: str- message_id: str+ id: str = Field(default_factory=lambda: str(uuid4()))+ message_id: str = Field(default_factory=lambda: str(uuid4()))position: intdataset_id: str | None = Nonedataset_name: str | None = None