File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
libs/providers/langchain-anthropic Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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" ;
530533import { execSync } from " child_process" ;
531534
532535const 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
You can’t perform that action at this time.
0 commit comments