awslabs / awslabs/agentcore-samples

Amazon Bedrock AgentCore Samples - [Bug]

Open
#98 0 comments 0 reactions 0 assignees View on GitHub
01-AgentCore-runtime 01-tutorials bug
Dominant language
Python
Stars
3.4k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
30

Description

**Describe the bug**
A clear and concise description of what the bug is. This could be anything from:
Python codes should work on cross-platform, especially for Window.

## Original tutorial code which will not work on Window OS
!python langgraph_bedrock.py '{"prompt": "What is the weather now?"}'

## updated script works on Window
!python langgraph_bedrock.py "{\"prompt\": \"What is the weather now?\"}"

**Error : **
can't open file 'c:\\Users\\taehyunh\\GenAI\\amazon-bedrock-agentcore-samples\\01-tutorials\\01-AgentCore-runtime\\01-hosting-agent\\01-strands-with-bedrock-model\\langgraph_bedrock.py': [Errno 2] No such file or directory

**Expected behavior**
It should run without errors

Contributor guide

Open the contributing guide

Research direction

Start with 01-tutorials/01-AgentCore-runtime/01-hosting-agent/01-strands-with-bedrock-model/langgraph_bedrock.py and compare the original command with the updated Windows invocation in the issue. Run the sample on Windows using the corrected quoting and confirm that it opens the script and completes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
ai, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.