@@ -190,6 +190,32 @@ def __init__(
190190 else :
191191 use_mentalist = True
192192
193+ """Initialize a TeamAgent instance.
194+
195+ Args:
196+ id (Text): Unique identifier for the team agent.
197+ name (Text): Name of the team agent.
198+ agents (List[Agent], optional): List of agents in the team. Defaults to [].
199+ description (Text, optional): Description of the team agent. Defaults to "".
200+ llm (Optional[LLM], optional): LLM instance. Defaults to None.
201+ supervisor_llm (Optional[LLM], optional): Supervisor LLM instance. Defaults to None.
202+ api_key (Optional[Text], optional): API key. Defaults to config.TEAM_API_KEY.
203+ supplier (Union[Dict, Text, Supplier, int], optional): Supplier. Defaults to "aiXplain".
204+ version (Optional[Text], optional): Version. Defaults to None.
205+ cost (Optional[Dict], optional): Cost information. Defaults to None.
206+ inspectors (List[Inspector], optional): List of inspectors. Defaults to [].
207+ inspector_targets (List[InspectorTarget], optional): Inspector targets. Defaults to [InspectorTarget.STEPS].
208+ status (AssetStatus, optional): Status of the team agent. Defaults to AssetStatus.DRAFT.
209+ instructions (Optional[Text], optional): Instructions for the team agent. Defaults to None.
210+ output_format (OutputFormat, optional): Output format. Defaults to OutputFormat.TEXT.
211+ expected_output (Optional[Union[BaseModel, Text, dict]], optional): Expected output format. Defaults to None.
212+ **additional_info: Additional keyword arguments.
213+
214+ Deprecated Args:
215+ llm_id (Text, optional): DEPRECATED. Use 'llm' parameter instead. ID of the language model. Defaults to "6646261c6eb563165658bbb1".
216+ mentalist_llm (Optional[LLM], optional): DEPRECATED. Mentalist/Planner LLM instance. Defaults to None.
217+ use_mentalist (bool, optional): DEPRECATED. Whether to use mentalist/planner. Defaults to True.
218+ """
193219 super ().__init__ (id , name , description , api_key , supplier , version , cost = cost )
194220 self .additional_info = additional_info
195221 self .agents = agents
0 commit comments