Registrarse Iniciar sesión
n/chit-chat · Hace 6 mes. · 704 vistas
u/patrick0306Rico como un reyMaestro
n/chit-chatu/patrick0306 · Hace 6 mes.
Sobre rojo

(有红包)有佬能帮我看一下openclaw接入不了ai.nodeloc.com的api的问题吗?

如题,输出的内容是以下,api是可用的,接口地址不管是/v1还是/v1/chat/completetions 我都试过,有人能帮我解答一下吗?(我还有400刀的余额啊,不想浪费了)
◇ API Base URL
│ https://ai.nodeloc.com/v1/chat/completions
│
◇ How do you want to provide this API key?
│ Paste API key now
│
◇ API Key (leave blank if not required)
│ ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
│
◇ Model ID
│ gpt-4.1,gpt-5,gpt-5.1,gpt-5.2,gpt-5.3-codex,grok-4.1,grok-4.2,gemini-3-pro,gemini-3.1-pro
│
◇ Could not detect endpoint type.
│
◇ Endpoint detection ───────────────────────────────────────────────────╮
│ │
│ This endpoint did not respond to OpenAI or Anthropic style requests. │

2
52
Iniciar sesión para unirte a la conversación.

52 respuestas

Orden
  1. GeorgeXie 💬 Maestro Nunca abandonar Hace 6 mes.

    帮顶下

    4
  2. ICBC Maestro Miembro Maestro Hace 6 mes.

    在openclaw.json编辑文件

    配置可以这样

    "models": {
        "mode": "merge",
        "providers": {
          "router": {
            "baseUrl": "http://你的Url",
            "apiKey": "sk-你的Key",
            "api": "anthropic-messages",
            "headers": {
              "User-Agent": "curl/8.0"
            },
            "authHeader": true,
            "models": [
              {
                "id": "claude-opus-4-6",
                "name": "Claude Opus 4.6",
                "reasoning": true,
                "input": [
                  "text",
                  "image"
                ],
                "cost": {
                  "input": 0,
                  "output": 0,
                  "cacheRead": 0,
                  "cacheWrite": 0
                },
                "contextWindow": 200000,
                "maxTokens": 8192
              }
            ]
          }
        }
      },
      "agents": {
        "defaults": {
          "model": {
            "primary": "router/claude-opus-4-6"
          },
          "maxConcurrent": 4,
          "subagents": {
            "maxConcurrent": 8
          }
        }
      },
    
    2
  3. Nova Platino Hace 6 mes.

    先领个包 哈哈

    1
  4. ICBC Maestro Miembro Maestro Hace 6 mes.

    好像需要加一个users agents,这样

    "headers": {
              "User-Agent": "OpenClaw-Agent/1.0 (compatible; Anthropic-API-Client)"
    
    1
  5. BearPaw Maestro Hace 6 mes.

    楼主大气,感谢红包

    1
  6. Yyang Oro Hace 6 mes.

    我是来蹭大佬的红包的。看不懂 :ac01:

    0
  7. wgfily Plata Hace 6 mes.

    感谢红包,帮顶! :xhj001:

    0
  8. keale 🎧 Diamante 3 AÑOS Hace 6 mes.

    感谢红包,帮顶

    0
  9. huxubo Diamante Hace 6 mes.

    蹭个红包再说

    0
  10. hbzx Oro Hace 6 mes.

    没用过NL的AI

    0
  11. sydney1 Diamante Hace 6 mes.

    我是来蹭红包的,看不懂

    0
  12. pastking Miembro de honor Maestro 2 AÑOS Hace 6 mes.

    我没留意,但如果 ai.nodeloc.com 套了cf,那就需要你自己中转价格请求头。

    0
  13. applemilk Diamante 3 AÑOS Hace 6 mes.

    完全不懂,蹭蹭红包,帮顶一下

    0
  14. MSaZs Oro Hace 6 mes.

    看不懂,先领个红包吧 :ac44:

    0
  15. ICBC Maestro Miembro Maestro Hace 6 mes.

    先拿一个红包

    0
  16. M2026 💬 Platino 2 AÑOS Hace 6 mes.

    感谢红包,帮顶!

    0
  17. hakd Maestro 2 AÑOS Hace 6 mes.

    我的也接入不了,但扣了我API的用量。
    我也希望官方能出一个教程,要如何设置。

    0
  18. linxone2895 Oro Hace 6 mes. Editado

    我是来蹭大佬红包的!帮顶一下!

    0
  19. liuping Oro Hace 6 mes.

    我看看怎么个事儿

    0
  20. Yyang Oro Hace 6 mes.
    Un moderador eliminó esta respuesta
  21. user68 💬 Platino 3 AÑOS Hace 6 mes.

    感谢红包,帮顶!

    0
  22. Struhaqi Oro Hace 6 mes.

    帮顶一下

    0
  23. jinqike1026 Plata Hace 6 mes.

    看看

    0
  24. imluckyboy Platino 3 AÑOS Hace 6 mes.

    baseurl地址只到v1/

    0
  25. w-d Diamante Hace 6 mes.

    来学习的

    0
  26. yoyogo Plata Hace 6 mes.

    让它自己修

    0
  27. sdcfre Diamante 3 AÑOS Hace 6 mes.

    谢谢 领个红包

    0
  28. zxylxy Platino Hace 6 mes.

    看看

    0
  29. hk5rf 🍉 Platino Nunca abandonar, nunca rendirse Hace 6 mes.

    感谢红包

    0
  30. Grter Oro Siempre juntos, pase lo que pase Hace 6 mes.

    没有用过,不了解。

    0
  31. withmy Oro Hace 6 mes.

    看不懂,蹭一下红包

    0