Skip to content

[Bug] py.typed is missing #455

@qwertycxz

Description

@qwertycxz

Bug Description

Pyright reports issue when there is no py.typed file in the package, and it is currently missing.

Affected Component

  • Engine
  • Sandbox
  • Tools
  • Common
  • Documentation
  • Other: Typing

Reproduction Steps

  1. Code:
from agentscope_runtime.engine.helpers.agent_api_builder import ResponseBuilder
  1. How to run:
    VSCode Python extension set to type check: strict
  2. Error occurs:
    Expected: No issue
    Actual: Type stub missing

Error Messages

找不到 "agentscope_runtime.engine.helpers.agent_api_builder" 的 Stub 文件 Pylance (reportMissingTypeStubs)

Environment

  • AgentScope Runtime Version: 1.1.0
  • Python Version: 3.14
  • OS: Windows 11 25H2
  • Installation: pip

Additional Context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions