awslabs / awslabs/agentcore-samples
Amazon Bedrock AgentCore Samples - [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
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