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
Feat/update tools length (#7141)
crazywoolaf667ef98cb7d
diff --git a/api/migrations/versions/2024_08_09_0801-1787fbae959a_update_tools_original_url_length.py b/api/migrations/versions/2024_08_09_0801-1787fbae959a_update_tools_original_url_length.pynew file mode 100644index 00000000000..db966252f1a--- /dev/null+++ b/api/migrations/versions/2024_08_09_0801-1787fbae959a_update_tools_original_url_length.py@@ -0,0 +1,39 @@+"""update tools original_url length++Revision ID: 1787fbae959a+Revises: eeb2e349e6ac+Create Date: 2024-08-09 08:01:12.817620++"""+import sqlalchemy as sa+from alembic import op++import models as models++# revision identifiers, used by Alembic.+revision = '1787fbae959a'+down_revision = 'eeb2e349e6ac'+branch_labels = None+depends_on = None+++def upgrade():+ # ### commands auto generated by Alembic - please adjust! ###+ with op.batch_alter_table('tool_files', schema=None) as batch_op:+ batch_op.alter_column('original_url',+ existing_type=sa.VARCHAR(length=255),+ type_=sa.String(length=2048),+ existing_nullable=True)++ # ### end Alembic commands ###+++def downgrade():+ # ### commands auto generated by Alembic - please adjust! ###+ with op.batch_alter_table('tool_files', schema=None) as batch_op:+ batch_op.alter_column('original_url',+ existing_type=sa.String(length=2048),+ type_=sa.VARCHAR(length=255),+ existing_nullable=True)++ # ### end Alembic commands ###diff --git a/api/models/tools.py b/api/models/tools.pyindex 49212916ec5..695ec26fbf5 100644--- a/api/models/tools.py+++ b/api/models/tools.py@@ -299,4 +299,4 @@ class ToolFile(db.Model):# mime typemimetype = db.Column(db.String(255), nullable=False)# original url- original_url = db.Column(db.String(255), nullable=True)\ No newline at end of file+ original_url = db.Column(db.String(2048), nullable=True)\ No newline at end of file