pygeai 0.4.0b1__py3-none-any.whl → 0.4.0b2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pygeai might be problematic. Click here for more details.

@@ -124,11 +124,11 @@ class AgentMigrationStrategy(MigrationStrategy):
124
124
  def __migrate_agent(self):
125
125
  new_agent = None
126
126
  try:
127
- source_agent = self.source_manager.get_agent(project_id=self.from_project_id, agent_id=self.agent_id)
127
+ source_agent = self.source_manager.get_agent(agent_id=self.agent_id)
128
128
  if not isinstance(source_agent, Agent):
129
129
  raise ValueError("Unable to retrieve requested agent.")
130
130
 
131
- new_agent = self.destination_manager.create_agent(project_id=self.to_project_id, agent=source_agent)
131
+ new_agent = self.destination_manager.create_agent(agent=source_agent)
132
132
  except Exception as e:
133
133
  Console.write_stderr(f"Agent migration failed: {e} \n")
134
134
 
@@ -174,11 +174,11 @@ class ToolMigrationStrategy(MigrationStrategy):
174
174
  def __migrate_tool(self):
175
175
  new_tool = None
176
176
  try:
177
- source_tool = self.source_manager.get_tool(project_id=self.from_project_id, tool_id=self.tool_id)
177
+ source_tool = self.source_manager.get_tool(tool_id=self.tool_id)
178
178
  if not isinstance(source_tool, Tool):
179
179
  raise ValueError("Unable to retrieve requested tool.")
180
180
 
181
- new_tool = self.destination_manager.create_tool(project_id=self.to_project_id, tool=source_tool)
181
+ new_tool = self.destination_manager.create_tool(tool=source_tool)
182
182
  except Exception as e:
183
183
  Console.write_stderr(f"Tool migration failed: {e}")
184
184
 
@@ -224,11 +224,11 @@ class AgenticProcessMigrationStrategy(MigrationStrategy):
224
224
  def __migrate_process(self):
225
225
  new_process = None
226
226
  try:
227
- source_process = self.source_manager.get_process(project_id=self.from_project_id, process_id=self.process_id)
227
+ source_process = self.source_manager.get_process(process_id=self.process_id)
228
228
  if not isinstance(source_process, AgenticProcess):
229
229
  raise ValueError("Unable to retrieve requested process.")
230
230
 
231
- new_process = self.destination_manager.create_process(project_id=self.to_project_id, process=source_process)
231
+ new_process = self.destination_manager.create_process(process=source_process)
232
232
  except Exception as e:
233
233
  Console.write_stderr(f"Process migration failed: {e}")
234
234
 
@@ -274,11 +274,11 @@ class TaskMigrationStrategy(MigrationStrategy):
274
274
  def __migrate_task(self):
275
275
  new_task = None
276
276
  try:
277
- source_task = self.source_manager.get_task(project_id=self.from_project_id, task_id=self.task_id)
277
+ source_task = self.source_manager.get_task(task_id=self.task_id)
278
278
  if not isinstance(source_task, Task):
279
279
  raise ValueError("Unable to retrieve requested task.")
280
280
 
281
- new_task = self.destination_manager.create_task(project_id=self.to_project_id, task=source_task)
281
+ new_task = self.destination_manager.create_task(task=source_task)
282
282
  except Exception as e:
283
283
  Console.write_stderr(f"Task migration failed: {e}")
284
284
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygeai
3
- Version: 0.4.0b1
3
+ Version: 0.4.0b2
4
4
  Summary: Software Development Kit to interact with Globant Enterprise AI.
5
5
  Author-email: Globant <geai-sdk@globant.com>
6
6
  License-Expression: MIT
@@ -170,7 +170,7 @@ pygeai/man/man1/__init__.py,sha256=CFvES6cP_sbhgpm-I-QSbPC1f7Bw7cFsMW2-sxm4FtM,5
170
170
  pygeai/man/man1/geai-proxy.1,sha256=N5jtjzS5dB3JjAkG0Rw8EBzhC6Jgoy6zbS7XDgcE4EA,6735
171
171
  pygeai/man/man1/geai.1,sha256=dRJjqXLu4PRr5tELX-TveOrvp-J085rTV0NbqL5I30Q,51162
172
172
  pygeai/migration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
173
- pygeai/migration/strategies.py,sha256=fedXqdtnAY57eeMI3RP5KhkjzVtYD654G51pMJb41fw,10041
173
+ pygeai/migration/strategies.py,sha256=fNTPuAPrGPxjbQN6zQn7qaVHksft_rC8doADdUw1LWQ,9785
174
174
  pygeai/migration/tools.py,sha256=DuBWwS72VxXF2b95aw89u0aLBjHP1UhD5GBlUtuG8nA,321
175
175
  pygeai/organization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
176
176
  pygeai/organization/clients.py,sha256=O9RMeFm8gm5e6OoJl2y3JTS_MUZEp2Twc8AOpsUTj4M,10073
@@ -482,9 +482,9 @@ pygeai/vendor/a2a/utils/helpers.py,sha256=6Tbd8SVfXvdNEk6WYmLOjrAxkzFf1aIg8dkFfB
482
482
  pygeai/vendor/a2a/utils/message.py,sha256=gc_EKO69CJ4HkR76IFgsy-kENJz1dn7CfSgWJWvt-gs,2197
483
483
  pygeai/vendor/a2a/utils/task.py,sha256=BYRA_L1HpoUGJAVlyHML0lCM9Awhf2Ovjj7oPFXKbh0,1647
484
484
  pygeai/vendor/a2a/utils/telemetry.py,sha256=VvSp1Ztqaobkmq9-3sNhhPEilJS32-JTSfKzegkj6FU,10861
485
- pygeai-0.4.0b1.dist-info/licenses/LICENSE,sha256=eHfqo7-AWS8cMq0cg03lq7owsLeCmZA-xS5L0kuHnl8,1474
486
- pygeai-0.4.0b1.dist-info/METADATA,sha256=7t753dmdmoBFILz_q2iiOFD3VWBzTOfPOXqtyr4HUSA,6882
487
- pygeai-0.4.0b1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
488
- pygeai-0.4.0b1.dist-info/entry_points.txt,sha256=OAmwuXVCQBTCE3HeVegVd37hbhCcp9TPahvdrCuMYWw,178
489
- pygeai-0.4.0b1.dist-info/top_level.txt,sha256=bJFwp2tURmCfB94yXDF7ylvdSJXFDDJsyUOb-7PJgwc,7
490
- pygeai-0.4.0b1.dist-info/RECORD,,
485
+ pygeai-0.4.0b2.dist-info/licenses/LICENSE,sha256=eHfqo7-AWS8cMq0cg03lq7owsLeCmZA-xS5L0kuHnl8,1474
486
+ pygeai-0.4.0b2.dist-info/METADATA,sha256=bpntcqljAoYNvhEDrvlR5sjc3QDZtp2MxaFPmtCnepA,6882
487
+ pygeai-0.4.0b2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
488
+ pygeai-0.4.0b2.dist-info/entry_points.txt,sha256=OAmwuXVCQBTCE3HeVegVd37hbhCcp9TPahvdrCuMYWw,178
489
+ pygeai-0.4.0b2.dist-info/top_level.txt,sha256=bJFwp2tURmCfB94yXDF7ylvdSJXFDDJsyUOb-7PJgwc,7
490
+ pygeai-0.4.0b2.dist-info/RECORD,,