XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update download path

7755a1c2
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/mcp/pa_downloader.py +1 -1
@@ -117,7 +117,7 @@ def _download_raw(repo: str, ref: str, name: str, timeout: float) -> bytes:
117 117
118 118 def _workspace_target(directory: Optional[str] = None) -> Path:
119 119 """Resolve the target workspace directory, creating it if needed."""
120 target = Path(directory).expanduser() if directory else get_workspace_dir()
120 target = Path(directory).expanduser() if directory else (get_workspace_dir() / "pa-providers")
121 121 target.mkdir(parents=True, exist_ok=True)
122 122 return target
123 123