Closed
feat: add pydantic agentic engine with uv support and smoke test#45493
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
July 14, 2026 13:42
View session
Collaborator
|
@copilot as a shared agentic workflow, not in the go compiler/code |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Add .github/workflows/shared/pydantic-engine.md with uv install steps - Remove python.go (uv Go support) and pydantic_engine_test.go - Revert behavior_defined_engine.go to npm-only install path - Keep minimal pydantic engine ID registration in Go constants - Update smoke-pydantic.md to import shared/pydantic-engine.md - Update docs and tests accordingly Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Restructured as a shared agentic workflow. The pydantic installation (uv setup + |
yhya24554-cpu
approved these changes
Jul 14, 2026
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.
Adds
pydanticas a ninth built-in engine backed bypydantic-ai[cli], installed viauv. Extends theBehaviorDefinedEngineinfrastructure (previously npm-only) to support Python/uv tooling.Engine infrastructure
pkg/workflow/python.go— new uv install step generators mirroringnodejs.go(GenerateUvSetupStep,GenerateUvToolInstallSteps,BuildUvEngineInstallStepsWithAWF); uses the already-pinnedastral-sh/setup-uv@v8.2.0pkg/workflow/behavior_defined_engine.go— replaced early-return-on-non-npm guard with aswitchonPackageManagerto dispatch to either npm or uv install pathsNew engine
pkg/workflow/data/engines/pydantic.md— declarative definition:package-manager: uv,secret-strategy: universal-llm-consumer, model env varPYDANTIC_AI_MODELpkg/workflow/agentic_engine.go— registered"pydantic"alongsideopencode/crushin theBehaviorDefinedEnginelooppkg/constants/engine_constants.go—PydanticEngineconstant, appended toAgenticEngines, addedEngineOptionsentrySmoke test & docs
.github/workflows/smoke-pydantic.md— minimal smoke workflow exercising the engine end-to-enddocs/src/content/docs/reference/engines.md— pydantic row added to all engine tables