Skip to content

Conversation

@r2rajan
Copy link

@r2rajan r2rajan commented Nov 2, 2025

Fixed the bug where {self.city} is not defined and flow fails to achieve its goal because agents fail to get the city from self.city

  1. You pass {"city":"paris"} to kickoff_async(), but the flow doesn't have a city attribute. You need to access it from the input. Access city via self.state.get("city") instead of self.city
  2. Added f-string prefix to the query strings
  3. Added Display Markdown for the final output

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

1. Added f-string prefix to the query strings
2. You pass {"city":"paris"} to kickoff_async(), but the flow doesn't have a city attribute. You need to access it from the input. Access city via self.state.get("city") instead of self.city
3. Added Display Markdown for the final output
@monamo19
Copy link

I have reviewed and run this code and no conflict with originial branch. Its working end to end. good to merge.

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