Skip to content

微信文章读取超时 #174

@alpha-baby

Description

@alpha-baby

我在本地安装好了 wechat-article-for-ai 工具

我本地执行获取文章是可以的:

source ~/.claude/workspace/claude-python-venv/bin/activate && cd ~/.agent-reach/tools/wechat-article-for-ai && python3 main.py "https://mp.weixin.qq.com/s/rb9-m1IiuzOdZQfNU1nSIA"

12:10:53 [INFO] Processing 1 article(s)...
12:10:53 [INFO] Processing: https://mp.weixin.qq.com/s/rb9-m1IiuzOdZQfNU1nSIA
12:11:01 [INFO] Title: 了解下 FlashInfer SKILLS 写法
12:11:01 [INFO] Author: GiantPandaLLM
12:11:01 [INFO] Saved: output/了解下 FlashInfer SKILLS 写法/了解下 FlashInfer SKILLS 写法.md (9283 chars, 0 images)

但是我在 claude code 中使用该工具去获取温馨文章,就会超时:

Image

我看了下 claude code 执行的是这个命令, 然后我复制这个命令,手动执行也是好使的。

Image

我排查了下原因,是因为我启用了 claude code 的 sandbox

~/.claude/settings.json

{
    "sandbox": {
        "enabled": false,
        "autoAllowBashIfSandboxed": true,
        "allowUnsandboxedCommands": false,
        "network": {
            "allowLocalBinding": false
        }
    }
}

把 "enabled": 改成 false 就好了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions