Skip to content

Commit c9de5ad

Browse files
Rana Umar MajeedRana Umar Majeed
authored andcommitted
use AWSStrandsAgent in dojo
1 parent f14c010 commit c9de5ad

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

apps/dojo/src/agents.ts

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -376,23 +376,14 @@ export const agentsIntegrations: AgentIntegrationConfig[] = [
376376
};
377377
},
378378
},
379-
// {
380-
// id: "aws-strands-integration",
381-
// agents: async () => {
382-
// return {
383-
// agentic_chat: new AWSStrandsAgent({ url: `${envVars.awsStrandsUrl}/agent/agentic_chat` }),
384-
// backend_tool_rendering: new AWSStrandsAgent({ url: `${envVars.awsStrandsUrl}/agent/backend_tool_rendering` }),
385-
// };
386-
// },
387-
// },
388379
{
389380
id: "aws-strands",
390381
agents: async () => {
391382
return {
392-
agentic_chat: new HttpAgent({ url: `${envVars.awsStrandsUrl}/agentic-chat` }),
393-
backend_tool_rendering: new HttpAgent({ url: `${envVars.awsStrandsUrl}/backend-tool-rendering` }),
394-
agentic_generative_ui: new HttpAgent({ url: `${envVars.awsStrandsUrl}/agentic-generative-ui` }),
395-
shared_state: new HttpAgent({ url: `${envVars.awsStrandsUrl}/shared-state` }),
383+
agentic_chat: new AWSStrandsAgent({ url: `${envVars.awsStrandsUrl}/agentic-chat` }),
384+
backend_tool_rendering: new AWSStrandsAgent({ url: `${envVars.awsStrandsUrl}/backend-tool-rendering` }),
385+
agentic_generative_ui: new AWSStrandsAgent({ url: `${envVars.awsStrandsUrl}/agentic-generative-ui` }),
386+
shared_state: new AWSStrandsAgent({ url: `${envVars.awsStrandsUrl}/shared-state` }),
396387
};
397388
},
398389
},

0 commit comments

Comments
 (0)