skapadia3214/groq-moa

error on start

Closed this issue · 3 comments

here is the error:
Traceback (most recent call last): File "streamlit\runtime\scriptrunner\exec_code.py", line 75, in exec_func_with_error_handling result = func() File "streamlit\runtime\scriptrunner\script_runner.py", line 574, in code_to_exec exec(code, module.__dict__) File "groq-moa\app.py", line 5, in <module> from moa.agent import MOAgent File "groq-moa\moa\agent\__init__.py", line 1, in <module> from .moa import MOAgent File "groq-moa\moa\agent\moa.py", line 33, in <module> class MOAgent: File "groq-moa\moa\agent\moa.py", line 143, in MOAgent ) -> Generator[str | ResponseChunk, None, None]: TypeError: unsupported operand type(s) for |: 'type' and '_TypedDictMeta'

the older version works but after recent update i get this error

Which version of Python are you using?

You need to use Python 3.10+ to run this repo. The | type union operator is not supported in Python 3.9. See this for more details.