agentstack-cli 0.7.0rc13__tar.gz → 0.7.0rc15__tar.gz
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.
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/PKG-INFO +1 -1
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/pyproject.toml +1 -1
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/model.py +0 -3
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/platform.py +3 -14
- agentstack_cli-0.7.0rc15/src/agentstack_cli/data/helm-chart.tgz +0 -0
- agentstack_cli-0.7.0rc13/src/agentstack_cli/data/helm-chart.tgz +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/README.md +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/__init__.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/api.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/async_typer.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/auth_manager.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/__init__.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/agent.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/build.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/connector.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/self.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/server.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/user.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/configuration.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/console.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/data/.gitignore +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/server_utils.py +0 -0
- {agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/utils.py +0 -0
|
@@ -464,9 +464,6 @@ async def _select_default_model(
|
|
|
464
464
|
{"role": "user", "content": "Hello!"},
|
|
465
465
|
],
|
|
466
466
|
)
|
|
467
|
-
console.print(f"DEBUG response: choices={test_response.choices!r}")
|
|
468
|
-
if test_response.choices:
|
|
469
|
-
console.print(f"DEBUG content: {test_response.choices[0].message.content!r}")
|
|
470
467
|
if not test_response.choices or "hello" not in (test_response.choices[0].message.content or "").lower():
|
|
471
468
|
raise ModelProviderError("Model did not provide a proper response.")
|
|
472
469
|
else:
|
{agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/platform.py
RENAMED
|
@@ -397,7 +397,7 @@ async def start_cmd(
|
|
|
397
397
|
install_dir.mkdir(parents=True, exist_ok=True)
|
|
398
398
|
if current_wsl_image.startswith("http://") or current_wsl_image.startswith("https://"):
|
|
399
399
|
with tempfile.NamedTemporaryFile(suffix=".wsl", delete=True, delete_on_close=False) as tmp:
|
|
400
|
-
with console.status(
|
|
400
|
+
with console.status("Downloading WSL distribution...", spinner="dots"):
|
|
401
401
|
async with httpx.AsyncClient(follow_redirects=True) as client:
|
|
402
402
|
async with client.stream("GET", current_wsl_image) as response:
|
|
403
403
|
response.raise_for_status()
|
|
@@ -406,24 +406,13 @@ async def start_cmd(
|
|
|
406
406
|
tmp.close()
|
|
407
407
|
await run_command(
|
|
408
408
|
["wsl.exe", "--import", vm_name, str(install_dir), tmp.name],
|
|
409
|
-
"Importing
|
|
409
|
+
"Importing WSL distribution",
|
|
410
410
|
)
|
|
411
411
|
else:
|
|
412
412
|
await run_command(
|
|
413
413
|
["wsl.exe", "--import", vm_name, str(install_dir), current_wsl_image],
|
|
414
|
-
"Importing
|
|
414
|
+
"Importing WSL distribution",
|
|
415
415
|
)
|
|
416
|
-
|
|
417
|
-
await run_in_vm(
|
|
418
|
-
vm_name,
|
|
419
|
-
[
|
|
420
|
-
"bash",
|
|
421
|
-
"-c",
|
|
422
|
-
"rm /etc/resolv.conf && mv /etc/resolv.conf-override /etc/resolv.conf && chattr +i /etc/resolv.conf",
|
|
423
|
-
],
|
|
424
|
-
"Setting up DNS configuration",
|
|
425
|
-
check=False,
|
|
426
|
-
)
|
|
427
416
|
await run_command(["wsl.exe", "--terminate", vm_name], "Restarting Agent Stack VM")
|
|
428
417
|
await run_in_vm(vm_name, ["/usr/bin/setsid", "-f", "/usr/bin/sleep", "infinity"], "Ensuring persistence of Agent Stack VM")
|
|
429
418
|
await run_in_vm(
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentstack_cli-0.7.0rc13 → agentstack_cli-0.7.0rc15}/src/agentstack_cli/commands/connector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|