diff --git a/backend/alembic/versions/add_microsoft_teams_support.py b/backend/alembic/versions/add_microsoft_teams_support.py index f02ebed..d09aa6c 100644 --- a/backend/alembic/versions/add_microsoft_teams_support.py +++ b/backend/alembic/versions/add_microsoft_teams_support.py @@ -12,7 +12,8 @@ def upgrade() -> None: # Add 'microsoft_teams' to im_provider_enum op.execute("ALTER TYPE im_provider_enum ADD VALUE IF NOT EXISTS 'microsoft_teams'") - op.add_column('chat_messages', sa.Column('thinking', sa.Text(), nullable=True)) + # Add 'thinking' column to chat_messages if it does not already exist + op.execute("ALTER TABLE chat_messages ADD COLUMN IF NOT EXISTS thinking TEXT") # Add 'microsoft_teams' to channel_type_enum op.execute("ALTER TYPE channel_type_enum ADD VALUE IF NOT EXISTS 'microsoft_teams'") diff --git a/frontend/src/pages/AgentCreate.tsx b/frontend/src/pages/AgentCreate.tsx index 4a53fc6..077f6bb 100644 --- a/frontend/src/pages/AgentCreate.tsx +++ b/frontend/src/pages/AgentCreate.tsx @@ -560,6 +560,36 @@ export default function AgentCreate() { )} + {/* Microsoft Teams (configure after creation in Agent settings) */} +