Skip to content

Commit

Permalink
feat: update version to 0.1.62
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh-dixit committed Apr 1, 2024
1 parent b2736ca commit 153bec1
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion autogen/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
dynamic = ["classifiers", "version", "readme", "authors", "requires-python", "description"]
dependencies = [
"composio_core===0.1.59",
"composio_core===0.1.62",
"pyautogen===0.2.19"
]
name = "composio_autogen"
Expand Down
2 changes: 1 addition & 1 deletion autogen/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def resolve_paths(*paths):

setup(
name="composio_autogen",
version="0.1.59",
version="0.1.62",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your Autogen agent.",
Expand Down
2 changes: 0 additions & 2 deletions core/composio/composio_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,3 @@ def main():
args.func(args)
else:
console.print("[red]Error: No valid command provided. Use --help for more information.[/red]")

main()
5 changes: 4 additions & 1 deletion core/composio/sdk/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class FrameworkEnum(Enum):
AUTOGEN = "autogen"
LANGCHAIN = "langchain"

__IS_FIRST_TIME__ = True

class ComposioCore:
sdk: Composio = None
framework: FrameworkEnum = None
Expand All @@ -33,7 +35,7 @@ def __init__(self, base_url = "https://backend.composio.dev/api", manage_auth =
'x-api-key': api_key
});
self.sdk = Composio(api_key, base_url)
if framework is not None:
if framework is not None and __IS_FIRST_TIME__ == True:
try:
git_info = get_git_user_info()
self.http_client.post(f"{self.base_url}/v1/client/auth/track", json={
Expand All @@ -43,6 +45,7 @@ def __init__(self, base_url = "https://backend.composio.dev/api", manage_auth =
"email": git_info.email
} if git_info.name and git_info.email else None
});
__IS_FIRST_TIME__ = False
except:
pass

Expand Down
2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def run(self):

setup(
name="composio_core",
version="0.1.59",
version="0.1.62",
author="Utkarsh",
author_email="utkarsh@composio.dev",
description="Core package to act as a bridge between composio platform and other services.",
Expand Down
2 changes: 1 addition & 1 deletion crew_ai/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
dynamic = ["classifiers", "version", "readme", "authors", "requires-python", "description"]
dependencies = [
"composio_langchain===0.1.59",
"composio_langchain===0.1.62",
]
name = "composio_crewai"

Expand Down
2 changes: 1 addition & 1 deletion crew_ai/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
composio_langchain===0.1.59
composio_langchain===0.1.62
2 changes: 1 addition & 1 deletion crew_ai/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def resolve_paths(*paths):

setup(
name="composio_crewai",
version="0.1.59",
version="0.1.62",
author="Himanshu",
author_email="himanshu@composio.dev",
description="Use Composio to get an array of tools with your CrewAI agent.",
Expand Down
2 changes: 1 addition & 1 deletion langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies = [
"langchain-openai===0.0.2.post1",
"langchainhub==0.1.15",
"pydantic===2.6.4",
"composio_core===0.1.59"
"composio_core===0.1.62"
]
name = "composio_langchain"

Expand Down
2 changes: 1 addition & 1 deletion langchain/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ langchain===0.1.0
langchain-openai===0.0.2.post1
pydantic===2.6.4
langchainhub==0.1.15
composio_core===0.1.59
composio_core===0.1.62
2 changes: 1 addition & 1 deletion langchain/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def resolve_paths(*paths):

setup(
name="composio_langchain",
version="0.1.59",
version="0.1.62",
author="Karan",
author_email="karan@composio.dev",
description="Use Composio to get an array of tools with your LangChain agent.",
Expand Down

0 comments on commit 153bec1

Please sign in to comment.