Skip to content

Logs relating to tool calls made are not presented in console output when scripts are executed. #498

@sangee2004

Description

@sangee2004

gptscript version v0.0.0-dev-0e05bfbb-dirty

Steps to reproduce the problem:

  1. Execute the following script
Tools:  github.com/gptscript-ai/gpt4-v-vision, github.com/gptscript-ai/dalle-image-generation, sys.download

Generate an image of cow and download it in cow.png
Describe the image in file://./cow.png like a kindergarten teacher would.
  1. Notice that there is no logs relating to tool calls made present in console output when scrips are executed.
gptscript --disable-cache testimagevision.gpt
15:36:31 download [https://oaidalleapiprodscus.blob.core.windows.net/private/org-UZ21HIS1j93qUiZVWBOGePHu/user-nfhF7kaasrYgX69n1He52KF9/img-8OyAq7hfuyeLzkSNmRX3LTyO.png?rscd=inline&rsct=image%2Fpng&se=2024-06-13T23%3A36%3A25Z&sig=xaL%2F8ysMFMufqEZqBPGIM7v6iab0Apr4j3HJjcuwv8w%3D&ske=2024-06-14T19%3A00%3A32Z&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sks=b&skt=2024-06-13T19%3A00%3A32Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skv=2023-11-03&sp=r&sr=b&st=2024-06-13T21%3A36%3A25Z&sv=2023-11-03] to [./cow.png]

OUTPUT:

Oh, look at this beautiful picture, everyone! We can see a big, lovely cow with spots of white and brown standing in a field on a sunny day. The cow looks so calm, grazing on the fresh green grass. Can you see the long shadows? They show us that the sun is shining brightly up in the sky. There are trees with lots of leaves making some shady spots, and a zigzaggy wooden fence is stretching all the way back to the hills. It's such a peaceful day on the farm, isn't it? Can you imagine how the cow might feel, enjoying the warm sun and the yummy grass? What a nice place to be!

  1. No logs are presented even when executing the script with "--debug-messages" option.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions