Skip to content

报告一个错误 #211

@lukegood

Description

@lukegood
2026-05-19 15:19:43	ERROR	upstream error diag 500 https://wishub-x6.ctyun.cn/coding/v1/chat/completions
  → outbound headers: [accept=text/event-stream, content-type=application/json, x-client-request-id=019e3f02-6fa6-7c92-ae0f-835ba0084da7, authorization=<redacted len=42>]
  → request body (164694 bytes): {"model":"GLM-5.1","messages":[{"role":"system","content":"<permissions instructions>\nFilesystem sandboxing defines which files can be read or written. `sandbox_mode` is `workspace-write`: The sandbox permits reading files, and editing files in `cwd` and `writable_roots`. Editing files in other directories requires approval. Network access is restricted.\n# Escalation Requests\n\nCommands are run outside the sandbox if they are approved by the user, or match an existing rule that allows it to run unrestricted. The command string is split into independent command segments at shell control operators, including but not limited to:\n\n- Pipes: |\n- Logical operators: &&, ||\n- Command separators: ;\n- Subshell boundaries: (...), $(...)\n\nEach resulting segment is evaluated independently for sandbox restrictions and approval requirements.\n\nExample:\n\ngit pull | tee output.txt\n\nThis is treated as two command segments:\n\n[\"git\", \"pull\"]\n\n[\"tee\", \"output.txt\"]\n\nCommands that use more advanced shell features like redirection (>, >>, <), substitutions ($(...), ...), environment variables (FOO=bar), or wildcard patterns (*, ?) will not be evaluated against rules, to limit the scope of what an approved rule allows.\n\n## How to request escalation\n\nIMPORTANT: To request approval to execute a command that will require escalated privileges:\n\n- Provide the `sandbox_permissions` parameter with the value `\"require_escalated\"`\n- Include a short question asking the user if they want to allow the action in `justification` parameter. e.g. \"Do you want to download and install dependencies for this project?\"\n- Optionally suggest a `prefix_rule` - this will be shown to the user with an option to persist the rule approval for future sessions.\n\nIf you run a command that is important to solving the user's query, but it fails because of sandboxing or with a likely sandbox-related network error (for example DNS/host resolution, registry/index access, or dependency download failure), rerun the command with \"req…(+162646 bytes truncated)
  ← response body (215 bytes): {"code":500001,"detail":"算法服务接口异常,请联系管理员","message":"INVOKE_MODEL_ERROR","error":{"code":"500001","message":"算法服务接口异常,请联系管理员","type":"INVOKE_MODEL_ERROR"}}

感谢作者老大的项目。这个错误是我在使用天翼云套餐的时候出现的,接入的模型是GLM-5.1,尝试分析了一下但是没有解决。以上内容来源于日志。

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