Skip to content

[Bug] Failed to connect to SOCKS proxy from env vars #104

@ryuujo1573

Description

@ryuujo1573

What happened? / 实际发生了什么?

实例化 mimo_stt_api(mimo_stt) 提供商适配器失败:Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using pip install httpx[socks].

Expected behavior / 预期行为

AstrBot desktop should have httpx[socks] installed.

Steps to reproduce / 复现步骤

  1. install the latest version
  2. configure SOCKS proxy through http_proxy https_proxy & all_proxy
  3. open the App
  4. configure online Model Providers, e.g. TTS with MiMo-v2
  5. set up configs and click save
  6. the error will show up

Desktop version / 桌面端版本

4.22.1

Installation channel / 安装来源

GitHub Release installer

OS / 操作系统

macOS

Architecture / 架构

arm64

Upstream AstrBot ref used by desktop build (optional) / 桌面构建使用的上游 AstrBot Ref(可选)

No response

Logs, screenshots, and additional context / 日志、截图与补充信息

How can this missing python package requirement be satisfied by manual installation?

Which python runtime is dedicate desktop is using?

Willing to submit a PR? / 是否愿意提交 PR?

  • I am willing to submit a PR to fix this issue. / 我愿意提交 PR 修复此问题。

Code of Conduct

  • I agree to follow the project's Code of Conduct. / 我同意遵守项目行为准则。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions