aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml2
-rw-r--r--src/infini/handler.py2
-rw-r--r--src/infini/typing.py1
3 files changed, 3 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index b93fca7f..2f85fd04 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "infini"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
description = "Infini 核心标准文本输入输出模块"
authors = [
{ name = "苏向夜", email = "fu050409@163.com" },
diff --git a/src/infini/handler.py b/src/infini/handler.py
index 5a4e1649..79686485 100644
--- a/src/infini/handler.py
+++ b/src/infini/handler.py
@@ -12,7 +12,7 @@ class Handler:
yield Output.empty()
return
while not queue.is_empty():
- if isinstance(stream := queue.pop()(input), Generator): # TODO 新增测试
+ if isinstance(stream := queue.pop()(input), Generator):
for output in stream:
yield output
if output.block:
diff --git a/src/infini/typing.py b/src/infini/typing.py
index d9db1e61..05eea05e 100644
--- a/src/infini/typing.py
+++ b/src/infini/typing.py
@@ -7,6 +7,7 @@ from typing import (
Literal as Literal,
Sequence as Sequence,
Generator as Generator,
+ overload as overload,
TypeVar,
TypedDict,
Union,