Skip to content

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

Merged
joefernandez merged 5 commits into
google:mainfrom
AAliKKhan:main
Jul 30, 2026
Merged

Fix route key mismatch in conditional-routing.py workflow example #1996
joefernandez merged 5 commits into
google:mainfrom
AAliKKhan:main

Conversation

@AAliKKhan

Copy link
Copy Markdown
Contributor

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 3dcce23
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6a6bd49cd000320008b53506
😎 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
Contributor 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

@joefernandez joefernandez left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@joefernandez
joefernandez enabled auto-merge (squash) July 30, 2026 22:47
@joefernandez
joefernandez merged commit 882165a into google:main Jul 30, 2026
7 of 8 checks passed
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.

2 participants