feat(llm): add default model/provider to auto configure the driver (#7)

This commit is contained in:
2025-04-03 00:11:53 +02:00
committed by GitHub
parent 1201eb2d3d
commit 5987585b2d
6 changed files with 59 additions and 15 deletions

View File

@@ -163,6 +163,10 @@ def create_session(
gid: Optional[int] = typer.Option(
None, "--gid", help="Group ID to run the container as (defaults to host user)"
),
model: Optional[str] = typer.Option(None, "--model", "-m", help="Model to use"),
provider: Optional[str] = typer.Option(
None, "--provider", "-p", help="Provider to use"
),
ssh: bool = typer.Option(False, "--ssh", help="Start SSH server in the container"),
) -> None:
"""Create a new MC session
@@ -269,6 +273,8 @@ def create_session(
uid=target_uid,
gid=target_gid,
ssh=ssh,
model=model,
provider=provider,
)
if session: