Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description = "A SDK library for accessing big model apis from Z.ai"
authors = ["Z.ai"]
readme = "README.md"
packages = [{include = "zai", from = "src"}]
include = ["src/zai/py.typed"]
Copy link

Copilot AI Nov 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The include path is incorrect for Poetry's package configuration. Since packages = [{include = \"zai\", from = \"src\"}] is specified, the include path should be relative to the project root without the 'src/' prefix. Change to include = [\"zai/py.typed\"] or use the full path pattern \"src/zai/py.typed\" only if it's meant to be included from the project root (which would be redundant given the packages config). The correct approach is include = [\"zai/py.typed\"].

Suggested change
include = ["src/zai/py.typed"]
include = ["zai/py.typed"]

Copilot uses AI. Check for mistakes.

[tool.poetry.dependencies]
python = ">=3.8,<4.0.0,!=3.9.7 "
Expand Down
Empty file added src/zai/py.typed
Empty file.