Skip to content

Fix route key mismatch in conditional-routing.py workflow example #1996

Open
AAliKKhan wants to merge 3 commits into
google:mainfrom
AAliKKhan:main
Open

Fix route key mismatch in conditional-routing.py workflow example #1996
AAliKKhan wants to merge 3 commits into
google:mainfrom
AAliKKhan:main

Conversation

@AAliKKhan

Copy link
Copy Markdown

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.

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 60bbeab
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6a616521e054380008dc43e6
😎 Deploy Preview https://deploy-preview-1996--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@google-cla

google-cla Bot commented Jul 23, 2026

Copy link
Copy Markdown

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.

@AAliKKhan

Copy link
Copy Markdown
Author

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

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.

1 participant