diff --git a/c/composio-autogen/0.3.1-0.3.2/README.md b/c/composio-autogen/0.3.1-0.3.2/README.md index 6946249e..5657bd6a 100644 --- a/c/composio-autogen/0.3.1-0.3.2/README.md +++ b/c/composio-autogen/0.3.1-0.3.2/README.md @@ -65,7 +65,7 @@ Description-Content-Type: text/markdown -Requires-Dist: composio_core===0.3.1 +Requires-Dist: composio_core===0.3.2 - Requires-Dist: pyautogen>=0.2.19 + Requires-Dist: ag2>=0.2.19 # Composio <> Autogen Use Composio to enhance your Autogen workflows with a suite of tools. @@ -83,110 +83,110 @@ ```diff @@ -45,22 +45,24 @@ - - def register_tools( - self, - tools: t.Sequence[App], - caller: t.Optional[ConversableAgent] = None, - executor: t.Optional[ConversableAgent] = None, - tags: t.Optional[t.Sequence[Tag]] = None, -+ entity_id: t.Optional[str] = None, - ) -> None: - """ - Register tools to the proxy agents. - - :param tools: List of tools to register. - :param caller: Caller agent. - :param executor: Executor agent. - :param tags: Filter by the list of given Tags. -+ :param entity_id: Entity ID to use for executing function calls. - """ - if isinstance(tools, App): - tools = [tools] - - caller = caller or self.caller - if caller is None: - raise RuntimeError("Please provide `caller` agent") + + def register_tools( + self, + tools: t.Sequence[App], + caller: t.Optional[ConversableAgent] = None, + executor: t.Optional[ConversableAgent] = None, + tags: t.Optional[t.Sequence[Tag]] = None, ++ entity_id: t.Optional[str] = None, + ) -> None: + """ + Register tools to the proxy agents. + + :param tools: List of tools to register. + :param caller: Caller agent. + :param executor: Executor agent. + :param tags: Filter by the list of given Tags. ++ :param entity_id: Entity ID to use for executing function calls. + """ + if isinstance(tools, App): + tools = [tools] + + caller = caller or self.caller + if caller is None: + raise RuntimeError("Please provide `caller` agent") @@ -75,28 +77,31 @@ - schema=schema.model_dump( - exclude_defaults=True, - exclude_none=True, - exclude_unset=True, - ), - caller=caller, - executor=executor, -+ entity_id=entity_id or self.entity_id, - ) - - def register_actions( - self, - actions: t.Sequence[Action], - caller: t.Optional[ConversableAgent] = None, - executor: t.Optional[ConversableAgent] = None, -+ entity_id: t.Optional[str] = None, - ): - """ - Register tools to the proxy agents. - - :param actions: List of tools to register. - :param caller: Caller agent. - :param executor: Executor agent. -+ :param entity_id: Entity ID to use for executing function calls. - """ - - caller = caller or self.caller - if caller is None: - raise RuntimeError("Please provide `caller` agent") - - executor = executor or self.executor + schema=schema.model_dump( + exclude_defaults=True, + exclude_none=True, + exclude_unset=True, + ), + caller=caller, + executor=executor, ++ entity_id=entity_id or self.entity_id, + ) + + def register_actions( + self, + actions: t.Sequence[Action], + caller: t.Optional[ConversableAgent] = None, + executor: t.Optional[ConversableAgent] = None, ++ entity_id: t.Optional[str] = None, + ): + """ + Register tools to the proxy agents. + + :param actions: List of tools to register. + :param caller: Caller agent. + :param executor: Executor agent. ++ :param entity_id: Entity ID to use for executing function calls. + """ + + caller = caller or self.caller + if caller is None: + raise RuntimeError("Please provide `caller` agent") + + executor = executor or self.executor @@ -109,14 +114,15 @@ - schema=schema.model_dump( - exclude_defaults=True, - exclude_none=True, - exclude_unset=True, - ), - caller=caller, - executor=executor, -+ entity_id=entity_id or self.entity_id, - ) - - def _process_function_name_for_registration( - self, - input_string: str, - max_allowed_length: int = 64, - num_hash_char: int = 10, + schema=schema.model_dump( + exclude_defaults=True, + exclude_none=True, + exclude_unset=True, + ), + caller=caller, + executor=executor, ++ entity_id=entity_id or self.entity_id, + ) + + def _process_function_name_for_registration( + self, + input_string: str, + max_allowed_length: int = 64, + num_hash_char: int = 10, @@ -130,28 +136,30 @@ - return processed_name - - def _register_schema_to_autogen( - self, - schema: t.Dict, - caller: ConversableAgent, - executor: ConversableAgent, -- ): -+ entity_id: t.Optional[str] = None, -+ ) -> None: -+ """Register action schema to autogen registry.""" - name = schema["name"] - appName = schema["appName"] - description = schema["description"] - - def execute_action(**kwargs: t.Any) -> t.Dict: - """Placeholder function for executing action.""" - return self.execute_action( - action=Action.from_app_and_action( - app=appName, - name=name, - ), - params=kwargs, -- entity_id=self.entity_id, -+ entity_id=entity_id or self.entity_id, - ) - - function = types.FunctionType( - code=execute_action.__code__, - globals=globals(), - name=self._process_function_name_for_registration( + return processed_name + + def _register_schema_to_autogen( + self, + schema: t.Dict, + caller: ConversableAgent, + executor: ConversableAgent, +- ): ++ entity_id: t.Optional[str] = None, ++ ) -> None: ++ """Register action schema to autogen registry.""" + name = schema["name"] + appName = schema["appName"] + description = schema["description"] + + def execute_action(**kwargs: t.Any) -> t.Dict: + """Placeholder function for executing action.""" + return self.execute_action( + action=Action.from_app_and_action( + app=appName, + name=name, + ), + params=kwargs, +- entity_id=self.entity_id, ++ entity_id=entity_id or self.entity_id, + ) + + function = types.FunctionType( + code=execute_action.__code__, + globals=globals(), + name=self._process_function_name_for_registration( input_string=name, ``` @@ -211,7 +211,7 @@ Description-Content-Type: text/markdown -Requires-Dist: composio_core===0.3.1 +Requires-Dist: composio_core===0.3.2 - Requires-Dist: pyautogen>=0.2.19 + Requires-Dist: ag2>=0.2.19 # Composio <> Autogen Use Composio to enhance your Autogen workflows with a suite of tools. @@ -246,8 +246,8 @@ "Operating System :: OS Independent", ], python_requires=">=3.9,<4", -- install_requires=["composio_core===0.3.1", "pyautogen>=0.2.19"], -+ install_requires=["composio_core===0.3.2", "pyautogen>=0.2.19"], +- install_requires=["composio_core===0.3.1", "ag2>=0.2.19"], ++ install_requires=["composio_core===0.3.2", "ag2>=0.2.19"], include_package_data=True, ) ``` diff --git a/r/ragstack-ai-langflow/0.0.4-0.0.5/README.md b/r/ragstack-ai-langflow/0.0.4-0.0.5/README.md index f28ff1bf..44ed7dbc 100644 --- a/r/ragstack-ai-langflow/0.0.4-0.0.5/README.md +++ b/r/ragstack-ai-langflow/0.0.4-0.0.5/README.md @@ -103,7 +103,7 @@ Requires-Python: >=3.10,<3.12 Classifier: License :: Other/Proprietary License @@ -55,15 +55,15 @@ - Requires-Dist: pyautogen (>=0.2.0,<0.3.0) + Requires-Dist: ag2 (>=0.2.0,<0.3.0) Requires-Dist: pymongo (>=4.6.0,<5.0.0) Requires-Dist: pysrt (>=1.1.2,<2.0.0) Requires-Dist: pytube (>=15.0.0,<16.0.0) diff --git a/r/ragstack-ai-langflow/0.0.5-0.0.7/README.md b/r/ragstack-ai-langflow/0.0.5-0.0.7/README.md index cdea8763..1f2f7fe4 100644 --- a/r/ragstack-ai-langflow/0.0.5-0.0.7/README.md +++ b/r/ragstack-ai-langflow/0.0.5-0.0.7/README.md @@ -102,7 +102,7 @@ numexpr = "^2.8.6" qianfan = "0.3.5" pgvector = "^0.2.3" - pyautogen = "^0.2.0" + ag2 = "^0.2.0" +langchain-google-genai = "^0.0.11" langchain-cohere = "^0.1.0rc1" elasticsearch = "^8.12.0" @@ -272,7 +272,7 @@ Requires-Dist: psycopg-binary (>=3.1.9,<4.0.0) Requires-Dist: psycopg2-binary (>=2.9.6,<3.0.0) Requires-Dist: pyarrow (>=14.0.0,<15.0.0) - Requires-Dist: pyautogen (>=0.2.0,<0.3.0) + Requires-Dist: ag2 (>=0.2.0,<0.3.0) Requires-Dist: pymongo (>=4.6.0,<5.0.0) -Requires-Dist: pysrt (>=1.1.2,<2.0.0) Requires-Dist: pytube (>=15.0.0,<16.0.0)