Global assistant: send a full workflow YAML only for multistep changes#547
Open
hanna-paasivirta wants to merge 19 commits into
Open
Global assistant: send a full workflow YAML only for multistep changes#547hanna-paasivirta wants to merge 19 commits into
hanna-paasivirta wants to merge 19 commits into
Conversation
7 tasks
Bumps [pydantic-settings](https://github.com/pydantic/pydantic-settings) from 2.14.0 to 2.14.2. - [Release notes](https://github.com/pydantic/pydantic-settings/releases) - [Commits](pydantic/pydantic-settings@v2.14.0...v2.14.2) --- updated-dependencies: - dependency-name: pydantic-settings dependency-version: 2.14.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [langsmith](https://github.com/langchain-ai/langsmith-sdk) from 0.8.1 to 0.8.18. - [Release notes](https://github.com/langchain-ai/langsmith-sdk/releases) - [Commits](langchain-ai/langsmith-sdk@v0.8.1...v0.8.18) --- updated-dependencies: - dependency-name: langsmith dependency-version: 0.8.18 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
|
@josephjclark Let us know if you want @elias-ba to review this |
60fb859 to
cc8a9b2
Compare
Bumps the python-minor-patch group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [openai](https://github.com/openai/openai-python) | `2.41.1` | `2.44.0` | | [anthropic](https://github.com/anthropics/anthropic-sdk-python) | `0.109.1` | `0.112.0` | | [langchain-core](https://github.com/langchain-ai/langchain) | `1.4.6` | `1.4.8` | | [langchain-openai](https://github.com/langchain-ai/langchain) | `1.3.0` | `1.3.3` | | [pytest](https://github.com/pytest-dev/pytest) | `9.0.3` | `9.1.1` | | [sentry-sdk](https://github.com/getsentry/sentry-python) | `2.62.0` | `2.63.0` | | [langfuse](https://github.com/langfuse/langfuse) | `4.7.1` | `4.12.0` | | [opentelemetry-instrumentation-threading](https://github.com/open-telemetry/opentelemetry-python-contrib) | `0.63b1` | `0.64b0` | | [ruff](https://github.com/astral-sh/ruff) | `0.15.17` | `0.15.20` | Updates `openai` from 2.41.1 to 2.44.0 - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](openai/openai-python@v2.41.1...v2.44.0) Updates `anthropic` from 0.109.1 to 0.112.0 - [Release notes](https://github.com/anthropics/anthropic-sdk-python/releases) - [Changelog](https://github.com/anthropics/anthropic-sdk-python/blob/main/CHANGELOG.md) - [Commits](anthropics/anthropic-sdk-python@v0.109.1...v0.112.0) Updates `langchain-core` from 1.4.6 to 1.4.8 - [Release notes](https://github.com/langchain-ai/langchain/releases) - [Commits](langchain-ai/langchain@langchain-core==1.4.6...langchain-core==1.4.8) Updates `langchain-openai` from 1.3.0 to 1.3.3 - [Release notes](https://github.com/langchain-ai/langchain/releases) - [Commits](langchain-ai/langchain@langchain-openai==1.3.0...langchain-openai==1.3.3) Updates `pytest` from 9.0.3 to 9.1.1 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@9.0.3...9.1.1) Updates `sentry-sdk` from 2.62.0 to 2.63.0 - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](getsentry/sentry-python@2.62.0...2.63.0) Updates `langfuse` from 4.7.1 to 4.12.0 - [Release notes](https://github.com/langfuse/langfuse/releases) - [Commits](https://github.com/langfuse/langfuse/commits) Updates `opentelemetry-instrumentation-threading` from 0.63b1 to 0.64b0 - [Release notes](https://github.com/open-telemetry/opentelemetry-python-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-python-contrib/commits) Updates `ruff` from 0.15.17 to 0.15.20 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.15.17...0.15.20) --- updated-dependencies: - dependency-name: openai dependency-version: 2.44.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: anthropic dependency-version: 0.112.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: langchain-core dependency-version: 1.4.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor-patch - dependency-name: langchain-openai dependency-version: 1.3.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor-patch - dependency-name: pytest dependency-version: 9.1.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: sentry-sdk dependency-version: 2.63.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: langfuse dependency-version: 4.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: opentelemetry-instrumentation-threading dependency-version: 0.64b0 dependency-type: direct:production dependency-group: python-minor-patch - dependency-name: ruff dependency-version: 0.15.20 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Collaborator
|
Yes, this is a breaking change and is incompatible with older lightning versions. But we can release this as soon as OpenFn/lightning#4888 is live |
…-7e6f6a277e Bump the python-minor-patch group across 1 directory with 9 updates
Bump langsmith from 0.8.1 to 0.8.18
…2.14.2 Bump pydantic-settings from 2.14.0 to 2.14.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DO NOT MERGE
Until OpenFn/lightning#4888 is in lightning prod
Short Description
This changes the Global Assistant payload to always return a single full workflow YAML, instead of a YAML plus separate job code. This lets one conversation turn apply code changes across several steps.
This is a breaking change in the Global Assistant. It must be coordinated with Lightning: OpenFn/lightning#4888.
The PR also bundles a series of routing, tool, and prompt improvements to the Global Assistant.
Fixes #507.
Implementation Details
Payload
workflow_yamlattachment with the full workflow, with any generated job code already stitched in. There is no separate job-code artifact.Planner
Router
Docs and tests
AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to know!):
You can read more details in our Responsible AI Policy