Skip to content

feat: Add data sources to REST API #432

feat: Add data sources to REST API

feat: Add data sources to REST API #432

Triggered via pull request March 10, 2024 06:12
Status Success
Total duration 38s
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/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/openai_client_assistants.py#L41
Cannot access member "messages" for type "SyncCursorPage[ThreadMessage]"   Member "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): memgpt/agent.py#L111
Expression of type "None" cannot be assigned to parameter of type "ArchivalMemory"   "None" is incompatible with "ArchivalMemory" (reportArgumentType)
Pyright types check (3.11): memgpt/agent.py#L112
Expression of type "None" cannot be assigned to parameter of type "RecallMemory"   "None" is incompatible with "RecallMemory" (reportArgumentType)
Pyright types check (3.11): memgpt/agent.py#L115
No overloads for "join" match the provided arguments (reportCallIssue)
Pyright types check (3.11): memgpt/agent.py#L116
Argument of type "list[str | Unknown | None]" cannot be assigned to parameter "__iterable" of type "Iterable[str]" in function "join"   Type "Unknown | None" cannot be assigned to type "str"     "None" is incompatible with "str"   Type "Unknown | None" cannot be assigned to type "str"     "None" is incompatible with "str" (reportArgumentType)
Pyright types check (3.11): memgpt/agent.py#L120
Argument of type "RecallMemory" cannot be assigned to parameter "__obj" of type "Sized" in function "len"   "RecallMemory" is incompatible with protocol "Sized"     "__len__" is not present (reportArgumentType)
Pyright types check (3.11): memgpt/agent.py#L121
Argument of type "ArchivalMemory" cannot be assigned to parameter "__obj" of type "Sized" in function "len"   "ArchivalMemory" is incompatible with protocol "Sized"     "__len__" is not present (reportArgumentType)
Pyright types check (3.11): memgpt/agent.py#L123
Argument of type "Unknown | None" cannot be assigned to parameter "__obj" of type "Sized" in function "len"   Type "Unknown | None" cannot be assigned to type "Sized"     "None" is incompatible with protocol "Sized"       "__len__" is not present (reportArgumentType)
Pyright types check (3.11): memgpt/agent.py#L126
Argument of type "Unknown | None" cannot be assigned to parameter "__obj" of type "Sized" in function "len"   Type "Unknown | None" cannot be assigned to type "Sized"     "None" is incompatible with protocol "Sized"       "__len__" is not present (reportArgumentType)