Update search_engine.py

add __future__ import to avoid error in py3.9
This commit is contained in:
stellaHSR 2023-09-21 15:51:13 +08:00 committed by GitHub
parent a709f408b9
commit 9860e0d510
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
@Author : alexanderwu
@File : search_engine.py
"""
# from __future__ import annotations
from __future__ import annotations  
import importlib
from typing import Callable, Coroutine, Literal, overload
@ -13,7 +13,7 @@ from typing import Callable, Coroutine, Literal, overload
from semantic_kernel.skill_definition import sk_function
from metagpt.config import CONFIG
from metagpt.tools import SearchEngineType
from metagpt.tools import SearchEngineType 
class SkSearchEngine: