File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,11 @@ def agent_config_discriminator(v: Any) -> str:
6969
7070# Use a RootModel to represent the agent directly at the top level.
7171# The `discriminator` is applied to the union within the RootModel.
72- @deprecated ("AgentConfig is deprecated and will be removed in future versions." )
72+ @deprecated (
73+ "AgentConfig is deprecated and will be removed in future versions. "
74+ "Config is now loaded via reflection so the separate config class is no "
75+ "longer needed."
76+ )
7377@experimental (FeatureName .AGENT_CONFIG )
7478class AgentConfig (RootModel [ConfigsUnion ]):
7579 """The config for the YAML schema to create an agent."""
Original file line number Diff line number Diff line change 3434
3535
3636@deprecated (
37- 'BaseAgentConfig is deprecated and will be removed in future versions.'
37+ 'BaseAgentConfig is deprecated and will be removed in future versions. '
38+ 'Config is now loaded via reflection so the separate config class is no '
39+ 'longer needed.'
3840)
3941@experimental (FeatureName .AGENT_CONFIG )
4042class BaseAgentConfig (BaseModel ):
Original file line number Diff line number Diff line change 3030
3131
3232@deprecated (
33- 'LlmAgentConfig is deprecated and will be removed in future versions.'
33+ 'LlmAgentConfig is deprecated and will be removed in future versions. '
34+ 'Config is now loaded via reflection so the separate config class is no '
35+ 'longer needed.'
3436)
3537class LlmAgentConfig (BaseAgentConfig ):
3638 """The config for the YAML schema of a LlmAgent."""
Original file line number Diff line number Diff line change 2828
2929
3030@deprecated (
31- 'LoopAgentConfig is deprecated and will be removed in future versions.'
31+ 'LoopAgentConfig is deprecated and will be removed in future versions. '
32+ 'Config is now loaded via reflection so the separate config class is no '
33+ 'longer needed.'
3234)
3335@experimental (FeatureName .AGENT_CONFIG )
3436class LoopAgentConfig (BaseAgentConfig ):
Original file line number Diff line number Diff line change 2626
2727
2828@deprecated (
29- "ParallelAgentConfig is deprecated and will be removed in future versions."
29+ "ParallelAgentConfig is deprecated and will be removed in future versions. "
30+ "Config is now loaded via reflection so the separate config class is no "
31+ "longer needed."
3032)
3133@experimental (FeatureName .AGENT_CONFIG )
3234class ParallelAgentConfig (BaseAgentConfig ):
Original file line number Diff line number Diff line change 2626
2727
2828@deprecated (
29- "SequentialAgentConfig is deprecated and will be removed in future"
30- " versions."
29+ "SequentialAgentConfig is deprecated and will be removed in future "
30+ "versions. Config is now loaded via reflection so the separate config "
31+ "class is no longer needed."
3132)
3233@experimental (FeatureName .AGENT_CONFIG )
3334class SequentialAgentConfig (BaseAgentConfig ):
You can’t perform that action at this time.
0 commit comments