mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-10-09 23:23:59 +02:00
fix(hub): fix hub config wiring and volume expansion in client
This commit is contained in:
1 parent
f3899279d5
commit
6cd8fd3cf5
4 files changed
+118
-4
No files matched your search
@@ -13,6 +13,7 @@ from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
from contextlib import asynccontextmanager
|
||||
from typing import TYPE_CHECKING, Any, cast
|
||||
@@ -242,7 +243,7 @@ class HubClient:
|
||||
|
||||
# Add volumes
|
||||
for volume in config.volumes:
|
||||
cmd.extend(["-v", volume])
|
||||
cmd.extend(["-v", os.path.expanduser(volume)])
|
||||
|
||||
# Add environment variables
|
||||
for key, value in config.environment.items():
|
||||
|
||||
Reference in new issue
Block a user