chore: bump version to 0.3.4 #335
Annotations
10 errors
Pyright types check (3.11):
examples/memgpt_client.py#L30
Argument of type "UUID" cannot be assigned to parameter "agent_id" of type "str" in function "user_message"
"UUID" is incompatible with "str" (reportArgumentType)
|
Pyright types check (3.11):
examples/memgpt_client.py#L38
Cannot access member "delete_agent" for type "LocalClient"
Member "delete_agent" is unknown (reportAttributeAccessIssue)
|
Pyright types check (3.11):
examples/memgpt_client.py#L38
Argument of type "UUID" cannot be assigned to parameter "agent_id" of type "str" in function "delete_agent"
"UUID" is incompatible with "str" (reportArgumentType)
|
Pyright types check (3.11):
examples/openai_client_assistants.py#L42
Cannot access member "messages" for type "SyncCursorPage[ThreadMessage]"
Member "messages" is unknown (reportAttributeAccessIssue)
|
Pyright types check (3.11):
memgpt/agent.py#L650
Argument of type "dict[str, str] | None" cannot be assigned to parameter "openai_message_dict" of type "dict[Unknown, Unknown]" in function "dict_to_message"
Type "dict[str, str] | None" cannot be assigned to type "dict[Unknown, Unknown]"
"None" is incompatible with "dict[Unknown, Unknown]" (reportArgumentType)
|
Pyright types check (3.11):
memgpt/agent.py#L682
Expression of type "tuple[list[dict[str, str] | dict[str, Unknown]], bool, bool, bool, int]" cannot be assigned to return type "Tuple[List[dict[Unknown, Unknown]], bool, bool, bool]"
"tuple[list[dict[str, str] | dict[str, Unknown]], bool, bool, bool, int]" is incompatible with "Tuple[List[dict[Unknown, Unknown]], bool, bool, bool]"
Tuple size mismatch; expected 4 but received 5 (reportReturnType)
|
Pyright types check (3.11):
memgpt/config.py#L36
Expression of type "str | None" cannot be assigned to declared type "str"
Type "str | None" cannot be assigned to type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Pyright types check (3.11):
memgpt/config.py#L55
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Pyright types check (3.11):
memgpt/config.py#L60
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Pyright types check (3.11):
memgpt/config.py#L65
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|