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

(bedrock.agent): (shouldPrepareAgent) #429

Closed
iut62elec opened this issue May 5, 2024 · 1 comment
Closed

(bedrock.agent): (shouldPrepareAgent) #429

iut62elec opened this issue May 5, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation needs-triage This issue or PR still needs to be triaged.

Comments

@iut62elec
Copy link

Describe the issue

agent = Agent(
self,
"MyAgent",
foundation_model=foundation_model,
instruction=agent_instruction,
description="Agent for performing sql queries.",
shouldPrepareAgent=True

    )


inst = super(JSIIMeta, cast(JSIIMeta, cls)).__call__(*args, **kwargs)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TypeError: Agent.init() got an unexpected keyword argument 'shouldPrepareAgent'

Links

https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/src/cdk-lib/bedrock/agent.ts

@iut62elec iut62elec added documentation Improvements or additions to documentation needs-triage This issue or PR still needs to be triaged. labels May 5, 2024
@iut62elec iut62elec changed the title (module name): (short issue description) (bedrock.agent): (shouldPrepareAgent) May 5, 2024
@iut62elec
Copy link
Author

write prop in python is "should_prepare_agent"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant