Skip to content

Commit 31ae70f

Browse files
committed
fix(server): fix issue with tool discovery
1 parent 0a1a1fb commit 31ae70f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/string.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async def set(key: str, value: Union[str, bytes, int, float, dict], expiration:
1414
1515
Args:
1616
key (str): The key to set.
17-
value (str): The value to store.
17+
value (str, bytes, int, float, dict): The value to store.
1818
expiration (int, optional): Expiration time in seconds.
1919
2020
Returns:
@@ -52,7 +52,7 @@ async def get(key: str) -> Union[str, bytes]:
5252
key (str): The key to retrieve.
5353
5454
Returns:
55-
str: The stored value or an error message.
55+
str, bytes: The stored value or an error message.
5656
"""
5757
try:
5858
r: Redis = RedisConnectionManager.get_connection()

0 commit comments

Comments
 (0)