Skip to content

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

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

Closed
sangee2004 opened this issue Jun 13, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sangee2004
Copy link
Contributor

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.
@sangee2004 sangee2004 added the bug Something isn't working label Jun 13, 2024
@sangee2004 sangee2004 changed the title Logs relating to tool calls made are not present in console output when scrips are executed. Logs relating to tool calls made are not presented in console output when scripts are executed. Jun 13, 2024
@thedadams thedadams self-assigned this Jun 14, 2024
@thedadams
Copy link
Contributor

This should be fixed now.

@sangee2004
Copy link
Contributor Author

Tested with gptscript - version v0.0.0-dev-721d518c-dirty

Logs relating to tool calls are now seen in console output when scripts are executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants