Skip to content

Commit

Permalink
feat: Refactoring for first public release
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Nov 12, 2024
1 parent 0dfc527 commit d76c427
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions libertai/commands/agent.py → libertai_client/commands/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
from rich.console import Console
from rich.progress import Progress, TextColumn, SpinnerColumn, TimeElapsedColumn

from libertai.config import config
from libertai.interfaces.agent import DockerCommand, UpdateAgentResponse
from libertai.utils.agent import parse_agent_config_env
from libertai.utils.rich import TaskOfTotalColumn, TEXT_PROGRESS_FORMAT
from libertai.utils.system import get_full_path
from libertai_client.config import config
from libertai_client.interfaces.agent import DockerCommand, UpdateAgentResponse
from libertai_client.utils.agent import parse_agent_config_env
from libertai_client.utils.rich import TaskOfTotalColumn, TEXT_PROGRESS_FORMAT
from libertai_client.utils.system import get_full_path

app = typer.Typer(name="agent", help="Deploy and manage agents")

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion libertai/main.py → libertai_client/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import typer

from libertai.commands import agent
from libertai_client.commands import agent

app = typer.Typer(help="Simple CLI to interact with LibertAI products")

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion libertai/utils/agent.py → libertai_client/utils/agent.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from libertai.interfaces.agent import AgentConfig
from libertai_client.interfaces.agent import AgentConfig


def parse_agent_config_env(env: dict[str, str | None]) -> AgentConfig:
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "libertai"
name = "libertai-client"
version = "0.0.1"
description = ""
description = "CLI for LibertAI products"
authors = ["LibertAI.io team <[email protected]>"]
readme = "README.md"
homepage = "https://libertai.io"
Expand Down

0 comments on commit d76c427

Please sign in to comment.