Skip to content

feat: add Parallel Tool mode for Vertex AI #1603

feat: add Parallel Tool mode for Vertex AI

feat: add Parallel Tool mode for Vertex AI #1603

Re-run triggered December 18, 2024 05:04
Status Failure
Total duration 58s
Artifacts

pyright.yml

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

Annotations

36 errors and 5 warnings
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L34
Type of "model_list" is partially unknown   Type of "model_list" is "list[Unknown]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L34
Argument type is partially unknown   Argument corresponds to parameter "iterable" in function "__init__"   Argument type is "tuple[Unknown, ...]" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L34
Argument of type "BaseModel | list[BaseModel] | type" cannot be assigned to parameter "typehint" of type "type[Iterable[T@get_types_array]]" in function "get_types_array"   Type "BaseModel | list[BaseModel] | type" is incompatible with type "type[Iterable[T@get_types_array]]"     Type "BaseModel" is incompatible with type "type[Iterable[T@get_types_array]]" (reportArgumentType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L40
Type of "model" is partially unknown   Type of "model" is "Unknown | BaseModel | type" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L41
Argument of type "Unknown | BaseModel | type" cannot be assigned to parameter "model" of type "BaseModel" in function "_create_gemini_json_schema"   Type "Unknown | BaseModel | type" is incompatible with type "BaseModel"     "type" is incompatible with "BaseModel" (reportArgumentType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L43
Type of "__name__" is partially unknown   Type of "__name__" is "Unknown | str" (reportUnknownMemberType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L43
Argument type is partially unknown   Argument corresponds to parameter "name" in function "__init__"   Argument type is "Unknown | str" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L44
Type of "__doc__" is partially unknown   Type of "__doc__" is "Unknown | str | None" (reportUnknownMemberType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L44
Argument type is partially unknown   Argument corresponds to parameter "description" in function "__init__"   Argument type is "Unknown | str | None" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.11): instructor/client_vertexai.py#L47
Type of "append" is partially unknown   Type of "append" is "(object: Unknown, /) -> None" (reportUnknownMemberType)
Pyright (macos-latest, 3.9)
The job was canceled because "ubuntu-latest_3_11" failed.
Pyright (ubuntu-latest, 3.9)
The job was canceled because "ubuntu-latest_3_11" failed.
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L34
Type of "model_list" is partially unknown   Type of "model_list" is "list[Unknown]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L34
Argument type is partially unknown   Argument corresponds to parameter "iterable" in function "__init__"   Argument type is "tuple[Unknown, ...]" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L34
Argument of type "BaseModel | list[BaseModel] | type" cannot be assigned to parameter "typehint" of type "type[Iterable[T@get_types_array]]" in function "get_types_array"   Type "BaseModel | list[BaseModel] | type" is incompatible with type "type[Iterable[T@get_types_array]]"     Type "BaseModel" is incompatible with type "type[Iterable[T@get_types_array]]" (reportArgumentType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L40
Type of "model" is partially unknown   Type of "model" is "Unknown | BaseModel | type" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L41
Argument of type "Unknown | BaseModel | type" cannot be assigned to parameter "model" of type "BaseModel" in function "_create_gemini_json_schema"   Type "Unknown | BaseModel | type" is incompatible with type "BaseModel"     "type" is incompatible with "BaseModel" (reportArgumentType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L43
Type of "__name__" is partially unknown   Type of "__name__" is "Unknown | str" (reportUnknownMemberType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L43
Argument type is partially unknown   Argument corresponds to parameter "name" in function "__init__"   Argument type is "Unknown | str" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L44
Type of "__doc__" is partially unknown   Type of "__doc__" is "Unknown | str | None" (reportUnknownMemberType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L44
Argument type is partially unknown   Argument corresponds to parameter "description" in function "__init__"   Argument type is "Unknown | str | None" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.9): instructor/client_vertexai.py#L47
Type of "append" is partially unknown   Type of "append" is "(object: Unknown, /) -> None" (reportUnknownMemberType)
Pyright (macos-latest, 3.11)
The job was canceled because "ubuntu-latest_3_11" failed.
Pyright (ubuntu-latest, 3.10)
The job was canceled because "ubuntu-latest_3_11" failed.
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L34
Type of "model_list" is partially unknown   Type of "model_list" is "list[Unknown]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L34
Argument type is partially unknown   Argument corresponds to parameter "iterable" in function "__init__"   Argument type is "tuple[Unknown, ...]" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L34
Argument of type "BaseModel | list[BaseModel] | type" cannot be assigned to parameter "typehint" of type "type[Iterable[T@get_types_array]]" in function "get_types_array"   Type "BaseModel | list[BaseModel] | type" is incompatible with type "type[Iterable[T@get_types_array]]"     Type "BaseModel" is incompatible with type "type[Iterable[T@get_types_array]]" (reportArgumentType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L40
Type of "model" is partially unknown   Type of "model" is "Unknown | BaseModel | type" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L41
Argument of type "Unknown | BaseModel | type" cannot be assigned to parameter "model" of type "BaseModel" in function "_create_gemini_json_schema"   Type "Unknown | BaseModel | type" is incompatible with type "BaseModel"     "type" is incompatible with "BaseModel" (reportArgumentType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L43
Type of "__name__" is partially unknown   Type of "__name__" is "Unknown | str" (reportUnknownMemberType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L43
Argument type is partially unknown   Argument corresponds to parameter "name" in function "__init__"   Argument type is "Unknown | str" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L44
Type of "__doc__" is partially unknown   Type of "__doc__" is "Unknown | str | None" (reportUnknownMemberType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L44
Argument type is partially unknown   Argument corresponds to parameter "description" in function "__init__"   Argument type is "Unknown | str | None" (reportUnknownArgumentType)
Pyright (ubuntu-latest, 3.10): instructor/client_vertexai.py#L47
Type of "append" is partially unknown   Type of "append" is "(object: Unknown, /) -> None" (reportUnknownMemberType)
Pyright (macos-latest, 3.10)
The job was canceled because "ubuntu-latest_3_11" failed.
Pyright (macos-latest, 3.10)
The operation was canceled.
Pyright (ubuntu-latest, 3.10)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (ubuntu-latest, 3.11)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (ubuntu-latest, 3.9)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (macos-latest, 3.10)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (ubuntu-latest, 3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636