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: BedrockInlineAgent and BedrockInlineAgentOptions not in index.d.ts #158

Closed
Flolight opened this issue Dec 17, 2024 · 1 comment
Closed
Labels
bug Something isn't working triage

Comments

@Flolight
Copy link
Contributor

Expected Behaviour

I should be able to import BedrockInlineAgent and BedrockInlineAgentOptions using the following:

import { BedrockInlineAgent, type BedrockInlineAgentOptions } from 'multi-agent-orchestrator';

Current Behaviour

This is not working as both BedrockInlineAgent and BedrockInlineAgentOptions are not exxported inside the index.d.ts.

Code snippet

import { BedrockInlineAgent, type BedrockInlineAgentOptions } from 'multi-agent-orchestrator';

Possible Solution

Adding the following to the index.d.ts is solving the issue:

export { BedrockInlineAgent, BedrockInlineAgentOptions } from './agents/bedrockInlineAgent';

Steps to Reproduce

  • Try to import in a ts file like this:
export { BedrockInlineAgent, BedrockInlineAgentOptions } from './agents/bedrockInlineAgent';
@brnaba-aws
Copy link
Contributor

brnaba-aws commented Dec 17, 2024

fixed in #159
it will be release soon

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

No branches or pull requests

2 participants