Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions agent.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createAgent } from 'langchain'
import { MemorySaver } from '@langchain/langgraph'
import { randomUUIDv7 } from 'bun'
import { llm } from './llm'
import { web_search_tool } from './tools'
import { llm } from './llm.js'
import { web_search_tool } from './tools.js'
import ora from 'ora'
import { ui } from './ui'
import { ui } from './ui.js'

const checkpointer = new MemorySaver()

Expand Down
2 changes: 1 addition & 1 deletion bro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { rl } from './io.js'
import { handle_args } from './nonInteractive.js'
import { call_agent } from './agent.js'
import { end, setup } from './setup.js'
import { ui } from './ui'
import { ui } from './ui.js'

setup()

Expand Down
4 changes: 2 additions & 2 deletions nonInteractive.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { call_agent } from './agent'
import { ui } from './ui'
import { call_agent } from './agent.js'
import { ui } from './ui.js'

/**
* Handles non-interactive mode with streaming and error feedback.
Expand Down
4 changes: 2 additions & 2 deletions setup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { rl } from './io'
import { ui } from './ui'
import { rl } from './io.js'
import { ui } from './ui.js'

/**
* Sets up the CLI environment, including signal handlers and help flag check.
Expand Down