feat: Add API keys to memgpt server
REST API
#236
Annotations
10 errors and 1 warning
Run Pyright:
examples/openai_client_assistants.py#L42
Cannot access member "messages" for type "SyncCursorPage[ThreadMessage]"
Member "messages" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
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)
|
Run Pyright:
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)
|
Run Pyright:
memgpt/config.py#L42
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Run Pyright:
memgpt/config.py#L60
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Run Pyright:
memgpt/config.py#L65
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Run Pyright:
memgpt/config.py#L70
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Run Pyright:
memgpt/config.py#L73
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Run Pyright:
memgpt/config.py#L74
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
Run Pyright:
memgpt/config.py#L75
Expression of type "None" cannot be assigned to declared type "str"
"None" is incompatible with "str" (reportAssignmentType)
|
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/.
|
The logs for this run have expired and are no longer available.
Loading