Increased the character limitation (#22679)
Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
@@ -254,7 +254,7 @@ class MCPToolProvider(Base):
|
||||
# name of the mcp provider
|
||||
name: Mapped[str] = mapped_column(db.String(40), nullable=False)
|
||||
# server identifier of the mcp provider
|
||||
server_identifier: Mapped[str] = mapped_column(db.String(24), nullable=False)
|
||||
server_identifier: Mapped[str] = mapped_column(db.String(64), nullable=False)
|
||||
# encrypted url of the mcp provider
|
||||
server_url: Mapped[str] = mapped_column(db.Text, nullable=False)
|
||||
# hash of server_url for uniqueness check
|
||||
@@ -358,7 +358,7 @@ class ToolModelInvoke(Base):
|
||||
# type
|
||||
tool_type = db.Column(db.String(40), nullable=False)
|
||||
# tool name
|
||||
tool_name = db.Column(db.String(40), nullable=False)
|
||||
tool_name = db.Column(db.String(128), nullable=False)
|
||||
# invoke parameters
|
||||
model_parameters = db.Column(db.Text, nullable=False)
|
||||
# prompt messages
|
||||
|
Reference in New Issue
Block a user