Skip to content

Commit 18e4f89

Browse files
committed
docs(templates): fix stale README info in TS templates
Remove incorrect "Fastify-based" description (SDK provides its own server) and replace hardcoded 0.0.0.0:8080 with accurate port info. Confidence: high Scope-risk: narrow
1 parent 904cd70 commit 18e4f89

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5636,7 +5636,7 @@ commands like \`deploy\`, \`dev\`, and \`invoke\` rely on the configuration stor
56365636
## Agent Root
56375637
56385638
The main entrypoint to your app is defined in \`main.ts\`. Using the AgentCore SDK \`BedrockAgentCoreApp\`, this file
5639-
defines a Fastify-based HTTP app that streams tokens from your chosen Agent framework SDK.
5639+
defines an HTTP server that streams tokens from your chosen Agent framework SDK.
56405640
56415641
\`model/load.ts\` instantiates your chosen model provider.
56425642
@@ -5651,7 +5651,7 @@ defines a Fastify-based HTTP app that streams tokens from your chosen Agent fram
56515651
56525652
If installation was successful, \`node_modules/\` is already populated with dependencies.
56535653
5654-
\`agentcore dev\` will start a local server on 0.0.0.0:8080 using \`npx tsx watch main.ts\` for hot reload.
5654+
\`agentcore dev\` will start a local server using \`npx tsx watch main.ts\` for hot reload. The port is logged to the terminal (default \`8080\`).
56555655
56565656
In a new terminal, you can invoke that server with:
56575657
@@ -5977,7 +5977,7 @@ defines an HTTP app that streams tokens using the Vercel AI SDK's \`streamText\`
59775977
59785978
If installation was successful, \`node_modules/\` is already populated with dependencies.
59795979
5980-
\`agentcore dev\` will start a local server on 0.0.0.0:8080 using \`npx tsx watch main.ts\` for hot reload.
5980+
\`agentcore dev\` will start a local server using \`npx tsx watch main.ts\` for hot reload. The port is logged to the terminal (default \`8080\`).
59815981
59825982
In a new terminal, you can invoke that server with:
59835983

src/assets/typescript/http/strands/base/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ commands like `deploy`, `dev`, and `invoke` rely on the configuration stored her
99
## Agent Root
1010

1111
The main entrypoint to your app is defined in `main.ts`. Using the AgentCore SDK `BedrockAgentCoreApp`, this file
12-
defines a Fastify-based HTTP app that streams tokens from your chosen Agent framework SDK.
12+
defines an HTTP server that streams tokens from your chosen Agent framework SDK.
1313

1414
`model/load.ts` instantiates your chosen model provider.
1515

@@ -24,7 +24,7 @@ defines a Fastify-based HTTP app that streams tokens from your chosen Agent fram
2424

2525
If installation was successful, `node_modules/` is already populated with dependencies.
2626

27-
`agentcore dev` will start a local server on 0.0.0.0:8080 using `npx tsx watch main.ts` for hot reload.
27+
`agentcore dev` will start a local server using `npx tsx watch main.ts` for hot reload. The port is logged to the terminal (default `8080`).
2828

2929
In a new terminal, you can invoke that server with:
3030

src/assets/typescript/http/vercelai/base/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defines an HTTP app that streams tokens using the Vercel AI SDK's `streamText` A
2424

2525
If installation was successful, `node_modules/` is already populated with dependencies.
2626

27-
`agentcore dev` will start a local server on 0.0.0.0:8080 using `npx tsx watch main.ts` for hot reload.
27+
`agentcore dev` will start a local server using `npx tsx watch main.ts` for hot reload. The port is logged to the terminal (default `8080`).
2828

2929
In a new terminal, you can invoke that server with:
3030

0 commit comments

Comments
 (0)