Skip to content

Commit

Permalink
🚑 quickfix: fixed the progress bar display
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyz0918 committed Nov 19, 2024
1 parent 905b1b5 commit 0e1ca7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mle/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ def chat(model, build_mem):

for file_path in source_files:
raw_code = read_file(file_path)
progress.update(process_task, advance=1, description=f"Adding memory...")
progress.update(
process_task,
advance=1,
description=f"Adding {os.path.basename(file_path)} to memory..."
)

chunks = chunker.chunk(raw_code, token_limit=100)
memory.add(
Expand Down

0 comments on commit 0e1ca7e

Please sign in to comment.