agentscope-ai / agentscope-ai/AgentTeams

install脚本中b撤回并没有撤销上一步的LLM_api_key

Abierto
#570 1 comentario 0 reacciones 1 asignado Reclamado por @qiacheng7 Ver en GitHub
area:model-higress
Lenguaje dominante
Go
Estrellas
5.6k
Forks
692
Merge medio
5 d 4 h
PR fusionados (30 d)
23

Descripción

```
(base) zhoujinyu@zhoujinyudeMacBook-Air Documents % bash <(curl -sSL https://higress.ai/hiclaw/install.sh)

========================================
HiClaw Installation Log
Started: 2026年 4月 6日 星期一 19时42分56秒 CST
User: zhoujinyu
System: Darwin zhoujinyudeMacBook-Air.local 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:33 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8122 arm64
Log file: /Users/zhoujinyu/hiclaw-install.log
========================================

[HiClaw] === HiClaw Manager 安装 ===
[HiClaw] 镜像仓库: higress-registry.cn-hangzhou.cr.aliyuncs.com
[HiClaw]
[HiClaw] 安装目录: /Users/zhoujinyu/Documents
[HiClaw] (env 文件 'hiclaw-manager.env' 将保存到 HOME 目录。)
[HiClaw] (请从您希望管理此安装的目录运行此脚本。)
[HiClaw]
[HiClaw] 检测到语言 / Detected language: 中文
[HiClaw] 切换语言 / Switch language:
1) 中文
2) English

请选择 / Enter choice [1]: 1
[HiClaw]
[HiClaw] (输入 b 返回上一步)
[HiClaw] --- Onboarding 模式 ---

选择安装模式:
1) 快速开始 - 使用阿里云百炼快速安装(推荐)
2) 手动配置 - 选择 LLM 提供商并自定义选项

请选择 [1/2]: 1
[HiClaw] 已选择快速开始模式 - 使用阿里云百炼
[HiClaw]
[HiClaw] (输入 b 返回上一步)
[HiClaw] 正在查询最新稳定版本...
[HiClaw] 无法查询 GitHub,使用内置版本 v1.0.9
[HiClaw] --- 版本选择 ---

选择要安装的版本:
1) latest - 最新版(默认)
2) v1.0.9 - 最新稳定版
3) 自定义 - 手动输入版本号(如 v1.0.5)

请选择 [1/2/3] [1]: 1
[HiClaw] 已选择最新版 (latest)
[HiClaw]
[HiClaw] (输入 b 返回上一步)
[HiClaw] --- LLM 配置 ---

可用 LLM 提供商:
1) 阿里云百炼 - 推荐中国用户使用
2) OpenAI 兼容 API - 自定义 Base URL(OpenAI、DeepSeek 等)

选择提供商 [1/2] [1]: 1

选择百炼模型系列:
1) CodingPlan - 专为编程任务优化(推荐)
2) 百炼通用接口

选择模型系列 [1/2] [1]: 1

选择 CodingPlan 默认模型:
1) qwen3.5-plus - 千问 3.5(速度最快)
2) glm-5 - 智谱 GLM-5(编程推荐)
3) kimi-k2.5 - Moonshot Kimi K2.5
4) MiniMax-M2.5 - MiniMax M2.5

选择模型 [1/2/3/4] [1]: 1
[HiClaw] 提供商: 阿里云百炼 CodingPlan
[HiClaw] 模型: qwen3.5-plus
[HiClaw]
[HiClaw] 💡 获取阿里云百炼 API Key:
[HiClaw] https://www.aliyun.com/product/bailian
[HiClaw]
LLM API Key:
[HiClaw] 正在测试 API 联通性...
⚠️ API 联通性测试失败(HTTP 401)。响应内容:
{"error":{"code":"invalid_api_key","message":"invalid access token or token expired","param":null,"type":"invalid_request_error"},"request_id":"8ec2246a-3e70-9263-8675-fdffb60514df"}
请根据以上错误信息联系您的模型服务商解决。
⚠️ 提示: 请确认您的 API Key 已开通阿里云百炼 CodingPlan 服务。开通地址: https://www.aliyun.com/benefit/scene/codingplan
是否仍要继续安装?[y/N/b] b
[HiClaw] (输入 b 返回上一步)
[HiClaw] 正在查询最新稳定版本...
[HiClaw] 无法查询 GitHub,使用内置版本 v1.0.9
[HiClaw] --- 版本选择 ---

选择要安装的版本:
1) latest - 最新版(默认)
2) v1.0.9 - 最新稳定版
3) 自定义 - 手动输入版本号(如 v1.0.5)

请选择 [1/2/3] [1]: 1
[HiClaw] 已选择最新版 (latest)
[HiClaw]
[HiClaw] (输入 b 返回上一步)
[HiClaw] --- LLM 配置 ---

可用 LLM 提供商:
1) 阿里云百炼 - 推荐中国用户使用
2) OpenAI 兼容 API - 自定义 Base URL(OpenAI、DeepSeek 等)

选择提供商 [1/2] [1]: 2
[HiClaw] 提供商: openai-compat(OpenAI 兼容)

Base URL(例如 https://api.openai.com/v1): https://api.deepseek.com
默认模型 ID [gpt-5.4]: deepseek-chat
[HiClaw] Base URL: https://api.deepseek.com
[HiClaw] 模型: deepseek-chat
[HiClaw]
[HiClaw] LLM API Key = (已通过环境变量预设)
[HiClaw] 正在测试 API 联通性...
⚠️ API 联通性测试失败(HTTP 401)。响应内容:
{"error":{"message":"Authentication Fails, Your api key: ****c898 is invalid","type":"authentication_error","param":null,"code":"invalid_request_error"}}
请根据以上错误信息联系您的模型服务商解决。
是否仍要继续安装?[y/N/b]
```

我注意到这里在我b退回上一步后帮我写死了[HiClaw] LLM API Key = (已通过环境变量预设)
但是我是更换了api供应商,也就是应该要更换LLM api key才对,而不是使用我之前输入的错的
是否是符合预期的?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.