mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
fix: 补充合并后遗漏的 from __future__ import annotations
合并 fix/python314-upgrade 后,部分文件仍使用 Optional/Dict 等旧式类型 但未添加 future annotations 导入,导致运行时 NameError。
This commit is contained in:
@@ -5,6 +5,8 @@ Gemini Files API - 文件与 Key 绑定缓存
|
||||
并在后续 generateContent 请求中优先使用同一 Key。
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Dict, Optional, Set
|
||||
|
||||
from src.core.cache_service import CacheService
|
||||
|
||||
Reference in New Issue
Block a user