Skip to content

Conversation

@minorun365
Copy link
Contributor

Summary

  • Fix RuntimeError when running CLI commands like agentcore dev
  • typer>=0.16.0 does not support typing.Literal, causing the following error:
    RuntimeError: Type not yet supported: typing.Literal['basic', 'production']
    
  • Change type annotations from Literal types to str for typer options
  • Add runtime validation for template values

Steps to Reproduce

pip install -U bedrock-agentcore-starter-toolkit
agentcore dev

Test plan

  • agentcore dev runs without RuntimeError
  • agentcore --help displays properly
  • agentcore create --help displays properly
  • Related unit tests pass

typer>=0.16.0 does not support typing.Literal, causing RuntimeError
when running CLI commands like 'agentcore dev'.

- Change type annotations from Literal types to str for typer options
- Add runtime validation for template values
- Update type hints in helper functions
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.

1 participant