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

Agent のエラーハンドリング不備 #912

Open
kazuhitogo opened this issue Feb 27, 2025 · 2 comments
Open

Agent のエラーハンドリング不備 #912

kazuhitogo opened this issue Feb 27, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@kazuhitogo
Copy link
Collaborator

バグの説明
設定を変えずに、Agent を実行したときに、成功するときと失敗する時がある。
失敗時に「モデルを有効化してください」、というコメントではなく適切なコメントを出してほしい

再現手順
作成したエージェントを何度か実行する

想定される動作
トレースが見えているので、エージェントの実行が失敗しただけなので(スロットリング?)、対応するエラーを出力してほしい。

スクリーンショット
Image

Image

@kazuhitogo kazuhitogo added the bug Something isn't working label Feb 27, 2025
@kazuhitogo
Copy link
Collaborator Author

処理の途中で表示されるケースがある。

Image

@kazuhitogo
Copy link
Collaborator Author

意図的にエラーが起きる Agent を実行したら再現
EventStreamError で、選択したモデルが有効化されていないようです。Bedrock コンソールの Model Access 画面にて、利用したいモデルを有効化してください。 が再現

botocore.exceptions.EventStreamError: An error occurred (dependencyFailedException) when calling the InvokeAgent operation: Your request couldn't be completed. Lambda function {FUNCTION_ARN} encountered a problem while processing request.The error message from the Lambda function is Unhandled. Check the Lambda function log for error details, then try your request again after fixing the error.

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

1 participant