Skip to content

fix: allow multiple tools to be called by LLM and rewrite request #185

fix: allow multiple tools to be called by LLM and rewrite request

fix: allow multiple tools to be called by LLM and rewrite request #185

Triggered via pull request February 12, 2024 01:50
Status Success
Total duration 42s
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): memgpt/agent.py#L632
"packed_user_message_obj" is possibly unbound (reportPossiblyUnboundVariable)
Pyright types check (3.11): memgpt/agent.py#L662
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): memgpt/config.py#L118
Argument of type "str | None" cannot be assigned to parameter "path" of type "FileDescriptorOrPath" in function "exists" (reportArgumentType)
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/.