gptscript-ai / desktop

MIT License
22 stars 13 forks source link

Description for the tool is truncated in UI. #126

Open sangee2004 opened 4 months ago

sangee2004 commented 4 months ago

Steps to reproduce the problem:

  1. Launch UI using - GPTSCRIPT_CHAT_UI_TOOL=github.com/gptscript-ai/ui@v2 gptscript --ui

  2. Execute the following script which has a long decsription

    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 user types bye or quit.
  3. Description for the tool is truncated in UI.

Screenshot 2024-06-10 at 3 39 23 PM

Expected Behavior: There should be no truncation of description in the list view. If we do not want to show the entire description in the list view , then we should be able to show this information in the chat session view.

tylerslaton commented 2 months ago

@sangee2004 The new page for my assistants will no longer truncate this. Does that fix your original issue?

sangee2004 commented 2 months ago

Tested with Version 0.10.0-rc2 (0.10.0-rc2)

Truncation is still present in the description field though it is able to show more contents.

My Assistants view (Truncated):

Image

From Edit View:

Image