Skip to content

[BUG]: Export functionality not working in blog-writer agent #388

@sanjana990

Description

@sanjana990

Description

Users cannot save blog posts due to agent coordination issue. The export functionality exists but the wrong agent responds to save requests.

Steps to Reproduce

  1. Run uv run adk run blogger_agent
  2. Complete full workflow (plan → write → social media)
  3. Ask "save this file" or "export this blog post"
  4. Observe: social_media_writer responds with "I can't save files directly"

Expected Behaviour

  • Main agent should respond to save requests
  • Should ask for filename
  • Should use save_blog_post_to_file tool to save the blog post

Actual Behavior

  • Social media writer responds incorrectly
  • User gets "I can't save files" message
  • No file is actually saved

Root Cause

  • Sub-agents don't have access to save_blog_post_to_file tool
  • Main agent has the tool but doesn't intercept save requests
  • Agent coordination issue in the workflow

Impact

  • Users cannot export their blog posts
  • Breaks the core workflow (Step 8 in README)
  • Poor user experience

Solution

  • Update main agent instructions to handle export requests
  • Add proactive export offer after social media step
  • Ensure main agent intercepts all save requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions