Skip to content

feat: Add API keys to memgpt server REST API #236

feat: Add API keys to memgpt server REST API

feat: Add API keys to memgpt server REST API #236

Triggered via pull request February 16, 2024 21:11
@cpackercpacker
synchronize #1014
chatui-feats
Status Success
Total duration 35s
Artifacts

pyright_types.yml

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

Annotations

10 errors and 1 warning
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#L647
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#L679
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#L42
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)
Pyright types check (3.11): memgpt/config.py#L70
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#L73
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#L74
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#L75
Expression of type "None" cannot be assigned to declared type "str"   "None" is incompatible with "str" (reportAssignmentType)
Pyright types check (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.