root@iZt4naudvth5fc699pje2kZ:~/chatgpt-tarot-divination-main# ./venv/bin/python3 main.py
Traceback (most recent call last):
File "main.py", line 16, in
from router.chatgpt_router import router as chatgpt_router
File "/root/chatgpt-tarot-divination-main/router/chatgpt_router.py", line 17, in
from .divination import DivinationFactory
File "/root/chatgpt-tarot-divination-main/router/divination/init.py", line 1, in
from . import base
File "/root/chatgpt-tarot-divination-main/router/divination/base.py", line 16, in
class DivinationFactory(metaclass=MetaDivination):
File "/root/chatgpt-tarot-divination-main/router/divination/base.py", line 25, in DivinationFactory
def build_prompt(self, divination_body: DivinationBody) -> tuple[str, str]:
TypeError: 'type' object is not subscriptable
root@iZt4naudvth5fc699pje2kZ:~/chatgpt-tarot-divination-main# ./venv/bin/python3 main.py Traceback (most recent call last): File "main.py", line 16, in
from router.chatgpt_router import router as chatgpt_router
File "/root/chatgpt-tarot-divination-main/router/chatgpt_router.py", line 17, in
from .divination import DivinationFactory
File "/root/chatgpt-tarot-divination-main/router/divination/init.py", line 1, in
from . import base
File "/root/chatgpt-tarot-divination-main/router/divination/base.py", line 16, in
class DivinationFactory(metaclass=MetaDivination):
File "/root/chatgpt-tarot-divination-main/router/divination/base.py", line 25, in DivinationFactory
def build_prompt(self, divination_body: DivinationBody) -> tuple[str, str]:
TypeError: 'type' object is not subscriptable