Skip to content

feat: add token streaming to the MemGPT API #1111

feat: add token streaming to the MemGPT API

feat: add token streaming to the MemGPT API #1111

Triggered via pull request June 22, 2024 22:52
Status Success
Total duration 43s
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#L6
Import "serpapi" could not be resolved (reportMissingImports)
Pyright types check (3.11): examples/google_search.py#L81
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#L82
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#L83
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/memgpt_client.py#L43
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#L44
Cannot access attribute "messages" for class "List[Dict[Unknown, Unknown]]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): examples/memgpt_client.py#L44
Cannot access attribute "messages" for class "Tuple[List[Dict[Unknown, Unknown]], int]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): examples/openai_client_assistants.py#L41
Cannot access attribute "messages" for class "SyncCursorPage[Message]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): examples/personal_assistant_demo/gmail_test_setup.py#L5
Import "google_auth_oauthlib.flow" could not be resolved (reportMissingImports)
Pyright types check (3.11): examples/personal_assistant_demo/gmail_test_setup.py#L6
Import "googleapiclient.discovery" could not be resolved (reportMissingImports)