File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -71,13 +71,22 @@ def get_embedders(self) -> Dict[str, Any]:
7171 return self .handle_error (e )
7272
7373 def add_agent (
74- self , agent_name : str , settings : Dict [str , Any ] = {}
74+ self ,
75+ agent_name : str ,
76+ settings : Dict [str , Any ] = {},
77+ commands : Dict [str , Any ] = {},
78+ training_urls : List [str ] = [],
7579 ) -> Dict [str , Any ]:
7680 try :
7781 response = requests .post (
7882 headers = self .headers ,
7983 url = f"{ self .base_uri } /api/agent" ,
80- json = {"agent_name" : agent_name , "settings" : settings },
84+ json = {
85+ "agent_name" : agent_name ,
86+ "settings" : settings ,
87+ "commands" : commands ,
88+ "training_urls" : training_urls ,
89+ },
8190 )
8291 return response .json ()
8392 except Exception as e :
Original file line number Diff line number Diff line change 88
99setup (
1010 name = "agixtsdk" ,
11- version = "0.0.36 " ,
11+ version = "0.0.37 " ,
1212 description = "The AGiXT SDK for Python." ,
1313 long_description = long_description ,
1414 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments