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

Expose default cache key use by DistributedCachingCacheClient #6002

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stephentoub
Copy link
Member

@stephentoub stephentoub commented Feb 28, 2025

We've had requests for this to be available separate from DCCC. This just moves the method from the internal CacheHelpers type to DistributedCachingChatClient; the implementation isn't changed at all, other than in arg validation.

Microsoft Reviewers: Open in CodeFlow

We've had requests for this to be available. This just moves the method from the internal CacheHelpers type to DistributedCachingChatClient; the implementation isn't changed at all, other than in arg validation.
@stephentoub stephentoub enabled auto-merge (squash) March 1, 2025 03:35
}
else
{
serializerOptions.MakeReadOnly();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eiriktsarpalis, can you remind me why we need to do this?

@paulbatum
Copy link

Thanks for exposing this. We have implemented a deduping logger that uses this key generation logic to make it easier to read test output that involves multi-turn conversations.

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

Successfully merging this pull request may close these issues.

2 participants