File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ class LlmAgent(BaseAgent):
130130 When not set, the agent will inherit the model from its ancestor.
131131 """
132132
133- config_type : ClassVar [type [BaseAgentConfig ]] = LlmAgentConfig
133+ config_type : ClassVar [Type [BaseAgentConfig ]] = LlmAgentConfig
134134 """The config type for this agent."""
135135
136136 instruction : Union [str , InstructionProvider ] = ''
Original file line number Diff line number Diff line change 1717from __future__ import annotations
1818
1919from typing import AsyncGenerator
20+ from typing import ClassVar
2021from typing import Type
2122
2223from typing_extensions import override
3334class SequentialAgent (BaseAgent ):
3435 """A shell agent that runs its sub-agents in sequence."""
3536
36- config_type : Type [BaseAgentConfig ] = SequentialAgentConfig
37+ config_type : ClassVar [ Type [BaseAgentConfig ] ] = SequentialAgentConfig
3738 """The config type for this agent."""
3839
3940 @override
You can’t perform that action at this time.
0 commit comments