mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-03-15 12:05:57 +00:00
fix(hub): fix hub config wiring and volume expansion in client
This commit is contained in:
@@ -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