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):
130
130
When not set, the agent will inherit the model from its ancestor.
131
131
"""
132
132
133
- config_type : ClassVar [type [BaseAgentConfig ]] = LlmAgentConfig
133
+ config_type : ClassVar [Type [BaseAgentConfig ]] = LlmAgentConfig
134
134
"""The config type for this agent."""
135
135
136
136
instruction : Union [str , InstructionProvider ] = ''
Original file line number Diff line number Diff line change 17
17
from __future__ import annotations
18
18
19
19
from typing import AsyncGenerator
20
+ from typing import ClassVar
20
21
from typing import Type
21
22
22
23
from typing_extensions import override
33
34
class SequentialAgent (BaseAgent ):
34
35
"""A shell agent that runs its sub-agents in sequence."""
35
36
36
- config_type : Type [BaseAgentConfig ] = SequentialAgentConfig
37
+ config_type : ClassVar [ Type [BaseAgentConfig ] ] = SequentialAgentConfig
37
38
"""The config type for this agent."""
38
39
39
40
@override
You can’t perform that action at this time.
0 commit comments