Fix RedisStore class name typo in migration guide #7094
+4,650
−4,649
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #7084
Summary
Corrects a typo in the migration guide where
RedisCacheStorewas used instead of the correct class nameRedisStore.Problem
Users trying to use Redis cache following the migration guide example would encounter an error because
RedisCacheStoredoesn't exist - the correct class isRedisStore.Changes
python/packages/autogen-agentchat/docs/src/user-guide/agentchat-user-guide/migration-guide.mdRedisCacheStore→RedisStoreVerification
from autogen_ext.cache_store.redis import RedisStoreRedisStoreBefore:
# cache_store = RedisCacheStore[CHAT_CACHE_VALUE_TYPE](redis_instance)After:
# cache_store = RedisStore[CHAT_CACHE_VALUE_TYPE](redis_instance)This ensures users can correctly copy-paste the Redis cache example without encountering a
NameError.Thanks to @mhou7712 for reporting this issue!