Skip to content

Commit e526c8d

Browse files
cr
1 parent cd1571f commit e526c8d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

libs/providers/langchain-anthropic/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,15 +525,18 @@ Available commands:
525525
- Restart the session: `{ restart: true }`
526526

527527
```typescript
528-
import { ChatAnthropic, bash_20250124 } from "@langchain/anthropic";
529-
import type { Bash20250124Command } from "@langchain/anthropic";
528+
import {
529+
ChatAnthropic,
530+
tools,
531+
type Bash20250124Command,
532+
} from "@langchain/anthropic";
530533
import { execSync } from "child_process";
531534

532535
const llm = new ChatAnthropic({
533536
model: "claude-sonnet-4-5-20250929",
534537
});
535538

536-
const bash = bash_20250124({
539+
const bash = tools.bash_20250124({
537540
execute: async (args: Bash20250124Command) => {
538541
if (args.restart) {
539542
// Reset session state

0 commit comments

Comments
 (0)