Fix route key mismatch in conditional-routing.py workflow example #1996
Fix route key mismatch in conditional-routing.py workflow example #1996AAliKKhan wants to merge 3 commits into
Conversation
✅ Deploy Preview for adk-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
i have signed the agreement |
The route_weekend function yields route names ("cheap_ideas", "fancy_ideas") that don't exist in the edges dictionary (only "value_ideas" and "premium_ideas" are defined). This causes a runtime failure when the workflow tries to resolve the unknown
route keys.
Changed the routes to match the edges: cheap_ideas→value_ideas, fancy_ideas→premium_ideas.