You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the quickstart guide in https://awslabs.github.io/multi-agent-orchestrator/general/quickstart/ . I have set my environment with the AWS CLI, and it seems to work ok. When I run the aws sts get-caller-identity I get the proper response. I have also tried login in again just in case.
When running npx ts-node main.ts (I have renamed the .ts file) then I expect it to run the example agent. However, it does not seem to work
Error processing request: TypeError: Cannot read properties of undefined (reading 'sso_region')
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js:201:36
at resolveProfileData (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js:245:12)
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@smithy/property-provider/dist-cjs/index.js:97:27
at coalesceProvider (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@smithy/property-provider/dist-cjs/index.js:124:18)
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@smithy/property-provider/dist-cjs/index.js:142:18
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@smithy/core/dist-cjs/index.js:86:17
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:34:22
at BedrockClassifier.processRequest (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/multi-agent-orchestrator/src/classifiers/bedrockClassifier.ts:151:24)
at BedrockClassifier.classify (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/multi-agent-orchestrator/src/classifiers/classifier.ts:178:14)
at MultiAgentOrchestrator.classifyRequest (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/multi-agent-orchestrator/src/orchestrator.ts:343:32)
Error during intent classification: TypeError: Cannot read properties of undefined (reading 'sso_region')
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js:201:36
at resolveProfileData (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js:245:12)
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@smithy/property-provider/dist-cjs/index.js:97:27
at coalesceProvider (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@smithy/property-provider/dist-cjs/index.js:124:18)
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@smithy/property-provider/dist-cjs/index.js:142:18
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@smithy/core/dist-cjs/index.js:86:17
at /Users/angelgarcia/playtomic/others/bedrock-test/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:34:22
at BedrockClassifier.processRequest (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/multi-agent-orchestrator/src/classifiers/bedrockClassifier.ts:151:24)
at BedrockClassifier.classify (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/multi-agent-orchestrator/src/classifiers/classifier.ts:178:14)
at MultiAgentOrchestrator.classifyRequest (/Users/angelgarcia/playtomic/others/bedrock-test/node_modules/multi-agent-orchestrator/src/orchestrator.ts:343:32)
Code snippet
The code is the one from the guide
When running a debugger, in the ssoSessions inside credential-provider-sso/dist-cjs/index.js:186 are empty
I have tried several changes to my .aws/config file, and now it looks like:
Expected Behaviour
I am following the quickstart guide in https://awslabs.github.io/multi-agent-orchestrator/general/quickstart/ . I have set my environment with the AWS CLI, and it seems to work ok. When I run the
aws sts get-caller-identity
I get the proper response. I have also tried login in again just in case.When running
npx ts-node main.ts
(I have renamed the .ts file) then I expect it to run the example agent. However, it does not seem to workCurrent Behaviour
I get an error :
and the stacktrace:
Code snippet
The code is the one from the guide
When running a debugger, in the
ssoSessions
insidecredential-provider-sso/dist-cjs/index.js:186
are emptyI have tried several changes to my .aws/config file, and now it looks like:
Possible Solution
I have tried setting my env variables
AWS_DEFAULT_REGION
andAWS_PROFILE
, but it does not seem to work either.Steps to Reproduce
Just run the quickstart code.
The text was updated successfully, but these errors were encountered: