mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 01:40:21 +08:00
fix: 补充合并后遗漏的 from __future__ import annotations
合并 fix/python314-upgrade 后,部分文件仍使用 Optional/Dict 等旧式类型 但未添加 future annotations 导入,导致运行时 NameError。
This commit is contained in:
@@ -17,6 +17,8 @@ Gemini Files API 代理端点
|
||||
https://ai.google.dev/api/files
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Dict, Optional, Tuple
|
||||
from urllib.parse import urlencode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user