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

Don't print anything when a prompt hasn't changed #3426

Open
pokey opened this issue Jan 16, 2025 · 1 comment
Open

Don't print anything when a prompt hasn't changed #3426

pokey opened this issue Jan 16, 2025 · 1 comment

Comments

@pokey
Copy link

pokey commented Jan 16, 2025

When I call publish on a prompt, I get a message, even if the prompt hasn't changed.

@jamie-rasmussen
Copy link
Collaborator

This behavior is not specific to prompts, other Weave objects are the same.

The object publishing might be happening in a subsequent process execution where a lack of output may make the user think the publish had not been called - I'm not sure there's a behavior here that everyone would be happy with. We have a WEAVE_PRINT_CALL_LINK environment variable and could make something similar for object publishing, or perhaps allow even finer grained control over output. It's something we'll need to think about.

Thanks for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants