Skip to content

fix: handle decode_responses=True in RedisKVStore (#22115)#22137

Open
C1-BA-B1-F3 wants to merge 2 commits into
run-llama:mainfrom
C1-BA-B1-F3:fix/rediskvstore-decode-responses
Open

fix: handle decode_responses=True in RedisKVStore (#22115)#22137
C1-BA-B1-F3 wants to merge 2 commits into
run-llama:mainfrom
C1-BA-B1-F3:fix/rediskvstore-decode-responses

Conversation

@C1-BA-B1-F3

Copy link
Copy Markdown

Fixes #22115. When decode_responses=True, Redis returns strings instead of bytes. Fix key.decode() to check isinstance(key, bytes) first in both sync and async get_all methods.

When decode_responses=True, Redis returns strings instead of bytes.
Fix key.decode() to check isinstance(key, bytes) first.
…22134)

Skip VAR_POSITIONAL and VAR_KEYWORD parameters when generating
tool schemas from function signatures.
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: RedisKVStore breaks with decode_responses=True

1 participant