Skip to content

feat: add workflow connector integration#499

Merged
pevers merged 8 commits intomainfrom
pevers/add-wf-connector-integration
Apr 23, 2026
Merged

feat: add workflow connector integration#499
pevers merged 8 commits intomainfrom
pevers/add-wf-connector-integration

Conversation

@pevers
Copy link
Copy Markdown
Contributor

@pevers pevers commented Apr 22, 2026

  • This adds client helper functions for workflow execution using connectors
  • Workflow is executed -> waits for auth events -> prompts the user to login if needed -> continues workflow

@pevers pevers requested a review from EmmaBouhanna April 23, 2026 08:18
@pevers
Copy link
Copy Markdown
Contributor Author

pevers commented Apr 23, 2026

@EmmaBouhanna added you for already a first quick look

@pevers pevers marked this pull request as ready for review April 23, 2026 09:31
@pevers pevers requested a review from paulcacheux April 23, 2026 09:35
else:
# Stream exhausted without a terminal event — retry.
continue
# Terminal event received.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this ? since you returned already line 200

Comment thread src/mistralai/extra/workflows/connector_auth.py
Comment thread src/mistralai/extra/workflows/connector_helpers.py Outdated
Comment thread src/mistralai/extra/__init__.py Outdated
)
from .utils import response_format_from_pydantic_model
from .utils.response_format import CustomPydanticModel
from .workflows import (
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this feels like a bad idea, let's keep everything in extra.workflows no ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about this, isn't it strange that we export nothing from workflows except those ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes agreed. removing it!

Comment thread src/mistralai/extra/workflows/connector_helpers.py Outdated
Comment thread src/mistralai/extra/workflows/connector_helpers.py Outdated
@pevers pevers requested a review from paulcacheux April 23, 2026 10:11
@pevers pevers merged commit 5d8199d into main Apr 23, 2026
8 of 10 checks passed
@pevers pevers deleted the pevers/add-wf-connector-integration branch April 23, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants