radareorg / r2ai

local language model for radare2
https://www.radare.org
MIT License
103 stars 17 forks source link

progressbar #49

Open trufae opened 2 months ago

trufae commented 2 months ago

Should not be displayed when the first token from the model is printed. otherwise you get a glitchy terminal. maybe we can have an option to disable it. or depending no the stream/batch/interactive mode use it

nitanmarcel commented 2 months ago

Does transient=True fixes it?

trufae commented 2 months ago

TypeError: progress_bar() got an unexpected keyword argument 'transient'

nitanmarcel commented 2 months ago

TypeError: progress_bar() got an unexpected keyword argument 'transient'

Do it in the ProgressBar usage. In progressbar.py

trufae commented 2 months ago

its disabled for now