gptscript-ai / gptscript

Build AI assistants that interact with your systems
https://gptscript.ai
Apache License 2.0
2.83k stars 251 forks source link

Text in confirmation window should be wrapped #496

Open sangee2004 opened 1 month ago

sangee2004 commented 1 month ago

gptscript version v0.0.0-dev-ac679cd0-dirty

Steps to reproduce the problem:

  1. Launch gptscript in UI mode using - gptscript --ui --disable-cache

  2. Execute the following script

    Tools:  github.com/gptscript-ai/gpt4-v-vision, github.com/gptscript-ai/dalle-image-generation, sys.download, sys.chat.finish, sys.exec
    description: This is a chatbot for image and vision tools which can read and write to local file system.
    chat: true
    This is a chatbot. Finish the chat when users type bye or quit.
  3. Enter the following chat message - Generate an image of cow and download it in cowimage.png

  4. Notice that text for download confirmation overflows.

Screenshot 2024-06-13 at 2 52 46 PM

Expected Behavior: Text in confirmation window should be wrapped

njhale commented 2 weeks ago

Just reproduced this on main (daef472ebb32664855b7bad7c32a6cbb0a3a356b).

Screenshot 2024-07-09 at 12 23 29 AM