fix(examples): fix crewai examples#179
Merged
namrataghadi-galileo merged 1 commit intomainfrom Apr 20, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
yashsheth46
approved these changes
Apr 20, 2026
galileo-automation
pushed a commit
that referenced
this pull request
Apr 22, 2026
## [2.4.0](ts-sdk-v2.3.0...ts-sdk-v2.4.0) (2026-04-22) ### Features * **evaluators:** add built-in budget evaluator for per-agent cost tracking ([#144](#144)) ([d4ce113](d4ce113)), closes [#130](#130) * **sdk:** add external sink ([#175](#175)) ([45f3645](45f3645)) * **server:** Align condition and template depth limits ([#166](#166)) ([03f402e](03f402e)) * **server:** Phase 0: add control version history and soft-delete unusable legacy controls ([#172](#172)) ([e5b2b33](e5b2b33)) ### Bug Fixes * **examples:** fix crewai examples ([#179](#179)) ([9004ea3](9004ea3))
Collaborator
|
🎉 This PR is included in version 2.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Summary
Fixed all CrewAI example
setup_controls.pyscripts to use the correct control definition schema (selector/evaluatornested undercondition), which was causing 422 errors against the updated server API. Updated all examplepyproject.tomlfiles and READMEs to handle thepydanticversion conflict betweenagent-control-sdkandcrewai.Scope
User-facing/API changes:
pydanticconflict (crewaicaps at<2.12,agent-control-evaluatorsrequires>=2.12.4)agent-control-sdkfrom all four examplepyproject.tomldependency lists souv pip install -e .resolves cleanlyInternal changes:
selector/evaluatorschema in all foursetup_controls.pyscripts — wrapped inconditionkey to match server API (content_publishing_flow,evaluator_showcase,secure_research_crew,steering_financial_agent)data["evaluator"]reference inevaluator_showcase/setup_controls.pytodata["condition"]["evaluator"]after the schema fixcreate_control_safeerror handler incontent_publishing_flow/setup_controls.pyfor easier debuggingOut of scope:
agent-control-evaluatorsas a hard dependency in the SDK) is not fixed here — tracked as a follow-upRisk and Rollout
Risk level: low — changes are confined to example scripts and READMEs, no production code touched.
Rollback plan: Revert example files. No server or SDK changes to roll back.
Testing
make check(not applicable — example scripts only)setup_controls.pyprogressed past 422 after schema fix; install steps validated againstcontent_publishing_flowChecklist
agent-control-evaluatorsan optional dependency in the SDK to permanently resolve the pydantic conflict