Skip to content

Delete .bedrock_agentcore.yaml file during clean up#1318

Open
ktzouvanaws wants to merge 1 commit intoawslabs:mainfrom
ktzouvanaws:fix/consequtive-notebook-executions
Open

Delete .bedrock_agentcore.yaml file during clean up#1318
ktzouvanaws wants to merge 1 commit intoawslabs:mainfrom
ktzouvanaws:fix/consequtive-notebook-executions

Conversation

@ktzouvanaws
Copy link
Copy Markdown
Contributor

…equtive notebook executions

Amazon Bedrock AgentCore Samples Pull Request

Important

  1. We strictly follow a issue-first approach, please first open an issue relating to this Pull Request.
  2. Once this Pull Request is ready for review please attach review ready label to it. Only PRs with review ready will be reviewed.

Issue number:1317

Concise description of the PR

During clean up phase, after deletion of AgentCore hosted Agent, 
also remove the local bedrock_agentcore.yaml file created during execution.
When the file is removed, users can execute the notebook consequtively without the reported issues.

User experience

Please share what the user experience looks like before and after this change
Prior to this change, if the user tries to consequtively execute the notebook they will get an error during
agent core launch function call. After the change, notebook will execute as expected launching the agent.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • Add your name to CONTRIBUTORS.md
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are you uploading a dataset?
  • Have you documented Introduction, Architecture Diagram, Prerequisites, Usage, Sample Prompts, and Clean Up steps in your example README?
  • I agree to resolve any issues created for this example in the future.
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Acknowledgment

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

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added 01-tutorials 01-tutorials 01-AgentCore-runtime 01-tutorials/01-AgentCore-runtime labels Apr 11, 2026
@akshseh akshseh requested a review from evandrofranco April 12, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

01-AgentCore-runtime 01-tutorials/01-AgentCore-runtime 01-tutorials 01-tutorials

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant