Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: AttributeError: 'BedrockInlineAgentOptions' object has no attribute 'region' #211

Closed
xiehust opened this issue Jan 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@xiehust
Copy link

xiehust commented Jan 24, 2025

Expected Behaviour

no error

Current Behaviour

Traceback (most recent call last):
File "/home/ubuntu/workspace/multi-agent-collaborator-test/04.bedrock_inline_agent.py", line 52, in
bedrock_inline_agent = BedrockInlineAgent(BedrockInlineAgentOptions(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/workspace/llm_model_hub/miniconda3/envs/py312/lib/python3.12/site-packages/multi_agent_orchestrator/agents/bedrock_inline_agent.py", line 66, in init
if options.region:
^^^^^^^^^^^^^^
AttributeError: 'BedrockInlineAgentOptions' object has no attribute 'region'

Code snippet

bedrock_inline_agent = BedrockInlineAgent(BedrockInlineAgentOptions(
    name="Inline Agent Creator for Agents for Amazon Bedrock",
    description="Specalized in creating Agent to solve customer request dynamically. You are provided with a list of Action groups and Knowledge bases which can help you in answering customer request",
    # action_groups_list=action_groups_list,
    knowledge_bases=knowledge_bases,
))

Possible Solution

No response

Steps to Reproduce

just inint a BedrockInlineAgent

@xiehust xiehust added the bug Something isn't working label Jan 24, 2025
@xiehust xiehust changed the title Bug: TITLE Bug: AttributeError: 'BedrockInlineAgentOptions' object has no attribute 'region' Jan 24, 2025
@cornelcroi cornelcroi removed the triage label Jan 24, 2025
@cornelcroi
Copy link
Contributor

Thanks @xiehust.
The bug is fixed in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants