Error in step 3.(other environment) #190
Unanswered
shiotani-bit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the different environment, I followed the steps in the order listed in the Quick Start, but I get an error in step 3.
When I run the above command, it outputs TypeError: issubclass() arg 1 must be a class.
Execution log is following.
python -m src.start_task -a
Waiting for controller to start...
Traceback (most recent call last):
File "C:\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Desktop\develop\agentbench\AgentBench-main\AgentBench-main\src\server\task_controller.py", line 11, in
from src.typings import *
File "C:\Desktop\develop\agentbench\AgentBench-main\AgentBench-main\src\typings_init.py", line 1, in
from .config import *
File "C:\Desktop\develop\agentbench\AgentBench-main\AgentBench-main\src\typings\config.py", line 9, in
from .general import InstanceFactory, Assignment
File "C:\Desktop\develop\agentbench\AgentBench-main\AgentBench-main\src\typings\general.py", line 43, in
class ChatHistoryItem(BaseModel):
File "pydantic\main.py", line 197, in pydantic.main.ModelMetaclass.new
File "pydantic\fields.py", line 506, in pydantic.fields.ModelField.infer
File "pydantic\fields.py", line 436, in pydantic.fields.ModelField.init
File "pydantic\fields.py", line 552, in pydantic.fields.ModelField.prepare
File "pydantic\fields.py", line 668, in pydantic.fields.ModelField._type_analysis
File "C:\Python\Python39\lib\typing.py", line 852, in subclasscheck
return issubclass(cls, self.origin)
TypeError: issubclass() arg 1 must be a class
Waiting for controller to start...
Waiting for controller to start...
Waiting for controller to start...
Traceback (most recent call last):
Beta Was this translation helpful? Give feedback.
All reactions