chat_in_terminal improvements: show function call args, word wrap, etc
zhudotexe opened this issue · 0 comments
zhudotexe commented
We should add kwargs to chat_in_terminal
to:
- Show the arguments passed to a function call (maybe a "verbose" arg) in the terminal
- maybe worth showing the function's return value too? or allow the user to specify their formatter as a kwarg
- Add a
width
kwarg to control the maximum width of a printed turn - mainly for envs like Jupyter that don't automatically line wrap- maybe default to detected terminal width?
- Add
echo
kwarg to echo the user's input to stdout - Add kwarg to select which turn to start on (user/ai)