fix: refactor send_message
API
#1394
Annotations
10 errors
Pyright types check (3.11):
examples/google_search.py#L6
"ChatMemory" is unknown import symbol (reportAttributeAccessIssue)
|
Pyright types check (3.11):
examples/google_search.py#L46
Import "serpapi" could not be resolved (reportMissingImports)
|
Pyright types check (3.11):
examples/google_search.py#L76
Operator "in" not supported for types "Literal['No relevant information found.']" and "str | None"
Operator "in" not supported for types "Literal['No relevant information found.']" and "None" (reportOperatorIssue)
|
Pyright types check (3.11):
examples/google_search.py#L77
Expression of type "None" is incompatible with return type "str"
"None" is incompatible with "str" (reportReturnType)
|
Pyright types check (3.11):
examples/google_search.py#L78
Expression of type "str | None" is incompatible with return type "str"
Type "str | None" is incompatible with type "str"
"None" is incompatible with "str" (reportReturnType)
|
Pyright types check (3.11):
examples/google_search.py#L181
Cannot access attribute "messages" for class "List[Dict[Unknown, Unknown]]"
Attribute "messages" is unknown (reportAttributeAccessIssue)
|
Pyright types check (3.11):
examples/google_search.py#L181
Cannot access attribute "messages" for class "Tuple[List[Dict[Unknown, Unknown]], int]"
Attribute "messages" is unknown (reportAttributeAccessIssue)
|
Pyright types check (3.11):
examples/memgpt_local_client.py#L4
"ChatMemory" is unknown import symbol (reportAttributeAccessIssue)
|
Pyright types check (3.11):
examples/memgpt_local_client.py#L19
Cannot access attribute "messages" for class "List[Dict[Unknown, Unknown]]"
Attribute "messages" is unknown (reportAttributeAccessIssue)
|
Pyright types check (3.11):
examples/memgpt_local_client.py#L19
Cannot access attribute "messages" for class "Tuple[List[Dict[Unknown, Unknown]], int]"
Attribute "messages" is unknown (reportAttributeAccessIssue)
|