Skip to content

fix: fix tool creation to accept dev portal POST request #1445

fix: fix tool creation to accept dev portal POST request

fix: fix tool creation to accept dev portal POST request #1445

Triggered via pull request August 17, 2024 00:43
Status Success
Total duration 44s
Artifacts

pyright_types.yml

on: pull_request
Matrix: Pyright types check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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#L180
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/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#L18
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_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)