Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chat_in_terminal improvements: show function call args, word wrap, etc #33

Closed
4 tasks done
zhudotexe opened this issue Mar 13, 2024 · 0 comments · Fixed by #36
Closed
4 tasks done

chat_in_terminal improvements: show function call args, word wrap, etc #33

zhudotexe opened this issue Mar 13, 2024 · 0 comments · Fixed by #36
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@zhudotexe
Copy link
Owner

zhudotexe commented Mar 13, 2024

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)
@zhudotexe zhudotexe added the enhancement New feature or request label Mar 13, 2024
@zhudotexe zhudotexe added this to the 1.0 milestone Mar 13, 2024
@zhudotexe zhudotexe self-assigned this Mar 13, 2024
@zhudotexe zhudotexe changed the title chat_in_terminal improvements: show function call args, word wrap chat_in_terminal improvements: show function call args, word wrap, etc Mar 13, 2024
@zhudotexe zhudotexe mentioned this issue Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant