From 620f06b72cdc41473211edb9bbd32e5f7a5b375c Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Thu, 9 Apr 2026 20:35:52 +0800 Subject: [PATCH 01/14] Update quick-start.md --- .../current/llmservice/quick-start.md | 48 +++++++++---------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md index 72a3d567..7c67d916 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md @@ -1,40 +1,38 @@ -# 快速开始 +# 快速上手 (Quick Start) -本章节将引导你在 Bank of AI 平台上完成 LLM Service 的初始配置,快速开启 AI 使用体验。 +本章节将引导您完成 [**B.AI**](https://b.ai/) 平台内 LLM 服务(大语言模型服务)的初始设置。请按照以下步骤开启您的 AI 之旅。 -## 1. 连接钱包 - -LLM Service 采用去中心化登录方式,支持通过 Web3 钱包进行授权登录,无需用户名和密码,安全便捷。 +--- -### 登录步骤: +## 1. 连接钱包 +LLM 服务采用去中心化登录方式。您可以使用受支持的 Web3 钱包进行连接并授权登录。这种方式既安全又便捷,无需记住复杂的用户名和密码。 -1. 访问 [Bank of AI 对话平台](https://chat.bankofai.io/chat) -2. 点击右上角 **登录** -3. 选择你的钱包并授权连接 -4. 在钱包中确认签名完成登录 +### 如何登录: +1. 访问 [[**B.AI**](https://b.ai/) 聊天平台](https://chat.b.ai/chat)。 +2. 点击页面右上角的 **Log in (登录)** 按钮。 +3. 在弹出的窗口中,选择您的钱包供应商并授权连接。 +4. 在钱包中确认签名请求以完成登录。 -登录成功后,右上角会显示你的钱包地址。 +登录成功后,您的钱包地址将显示在右上角,表明您已成功进入平台。 -> 注意:请确保浏览器或移动设备中已安装兼容的 Web3 钱包,并妥善保管助记词和私钥。 +> **注意:** *请确保您的浏览器或移动设备中已安装兼容的 Web3 钱包。请务必妥善保管您的助记词和私钥。* --- -## 2. 开始首次对话 - -进入平台后即可直接使用 LLM Service 进行 AI 交互。 +## 2. 开始您的第一次对话 +进入平台后,您可以立即通过我们的 LLM 服务开始与 AI 交互。 -- **选择模型:** 点击当前模型名称,从列表中选择需要使用的模型(如 GPT、Claude、Gemini 等) -- **发送消息:** 在输入框输入内容,点击发送按钮或按 Enter -- **多轮对话:** 支持连续上下文对话,AI 会根据历史内容进行响应 +* **选择 AI 模型:** 在聊天界面中,您将看到当前的默认 AI 模型。点击模型名称展开列表,选择您想要使用的模型(例如:GPT-4o, Claude 3.5, Gemini)。 +* **发送消息:** 在页面底部的输入框中输入您的提示词(Prompt)或任务,然后点击发送按钮或按回车键。 +* **上下文交互:** AI 的回复将以对话形式呈现。您可以进行多轮对话,AI 会根据上下文内容进行响应。 --- -## 3. 余额与使用 - -LLM Service 采用积分(Credits)计费,通过链上支付获取。 +## 3. 额度与使用 +LLM 服务基于积分制运行。您可以通过无缝的链上交易获取积分,从而使用 AI 服务。 -- **充值入口:** 在控制台页面进入 **充值** -- **购买积分:** 使用支持的链上代币支付,在钱包中确认交易 -- **自动到账:** 区块链交易确认后,系统会自动为账户增加对应积分 +* **充值界面:** 导航至控制面板中的 **Top up (充值)** 栏目以管理您的余额。 +* **购买积分:** [**B.AI**](https://b.ai/) 平台支持主流区块链上的常用代币。只需在钱包中确认交易,将代币传输至指定地址即可。 +* **自动到账:** 交易在区块链上获得确认后,系统会自动将相应的数值计入您的账户余额。 -完成以上步骤后,你即可使用多种主流 AI 模型。 +完成这些步骤后,您即可通过 [**B.AI**](https://b.ai/) 畅享各种行业领先的 AI 模型服务。 From 463dd62dbd5cd2f3f25e7ba42d3b6d59875ca5d3 Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Thu, 9 Apr 2026 20:37:45 +0800 Subject: [PATCH 02/14] Update quick-start.md --- .../current/llmservice/quick-start.md | 42 ++++++++++--------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md index 7c67d916..720f9174 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md @@ -1,38 +1,42 @@ -# 快速上手 (Quick Start) +# 快速上手(Quick Start) -本章节将引导您完成 [**B.AI**](https://b.ai/) 平台内 LLM 服务(大语言模型服务)的初始设置。请按照以下步骤开启您的 AI 之旅。 +本章节将引导您完成 [**B.AI**](https://b.ai/) 平台中 **LLM 服务**(大语言模型服务)的初始设置。请按照以下步骤开始您的 AI 使用之旅。 --- ## 1. 连接钱包 -LLM 服务采用去中心化登录方式。您可以使用受支持的 Web3 钱包进行连接并授权登录。这种方式既安全又便捷,无需记住复杂的用户名和密码。 -### 如何登录: -1. 访问 [[**B.AI**](https://b.ai/) 聊天平台](https://chat.b.ai/chat)。 -2. 点击页面右上角的 **Log in (登录)** 按钮。 -3. 在弹出的窗口中,选择您的钱包供应商并授权连接。 -4. 在钱包中确认签名请求以完成登录。 +LLM 服务采用去中心化登录方式。您可以使用受支持的 Web3 钱包完成连接并授权登录。该方式安全便捷,无需记忆复杂的用户名和密码。 -登录成功后,您的钱包地址将显示在右上角,表明您已成功进入平台。 +### 登录步骤 -> **注意:** *请确保您的浏览器或移动设备中已安装兼容的 Web3 钱包。请务必妥善保管您的助记词和私钥。* +1. 访问 [**B.AI 聊天平台**](https://chat.b.ai/chat)。 +2. 点击页面右上角的 **Log in(登录)** 按钮。 +3. 在弹出的窗口中选择您的钱包提供方,并完成钱包连接授权。 +4. 在钱包中确认签名请求,完成登录。 + +登录成功后,您的钱包地址将显示在页面右上角,表示您已成功进入平台。 + +> **注意:** 请确保您的浏览器或移动设备中已安装兼容的 Web3 钱包。同时,请妥善保管您的助记词和私钥。 --- ## 2. 开始您的第一次对话 -进入平台后,您可以立即通过我们的 LLM 服务开始与 AI 交互。 -* **选择 AI 模型:** 在聊天界面中,您将看到当前的默认 AI 模型。点击模型名称展开列表,选择您想要使用的模型(例如:GPT-4o, Claude 3.5, Gemini)。 -* **发送消息:** 在页面底部的输入框中输入您的提示词(Prompt)或任务,然后点击发送按钮或按回车键。 -* **上下文交互:** AI 的回复将以对话形式呈现。您可以进行多轮对话,AI 会根据上下文内容进行响应。 +登录平台后,您即可通过 LLM 服务开始与 AI 进行交互。 + +- **选择 AI 模型:** 在聊天界面中,您将看到当前默认使用的 AI 模型。点击模型名称展开列表,选择您希望使用的模型(例如:GPT、Claude、Gemini)。 +- **发送消息:** 在页面底部的输入框中输入您的提示词(Prompt)或任务内容,然后点击发送按钮或按回车键。 +- **多轮上下文交互:** AI 的回复将以对话形式呈现。您可以持续进行多轮对话,AI 会结合上下文内容进行响应。 --- ## 3. 额度与使用 -LLM 服务基于积分制运行。您可以通过无缝的链上交易获取积分,从而使用 AI 服务。 -* **充值界面:** 导航至控制面板中的 **Top up (充值)** 栏目以管理您的余额。 -* **购买积分:** [**B.AI**](https://b.ai/) 平台支持主流区块链上的常用代币。只需在钱包中确认交易,将代币传输至指定地址即可。 -* **自动到账:** 交易在区块链上获得确认后,系统会自动将相应的数值计入您的账户余额。 +LLM 服务采用积分制运行。您可以通过便捷的链上交易获取积分,用于调用 AI 服务。 + +- **充值入口:** 前往控制面板中的 **Top up(充值)** 页面管理您的余额。 +- **购买积分:** [**B.AI**](https://b.ai/) 平台支持多条主流区块链上的常用代币。您只需在钱包中确认交易,并将代币转入指定地址即可完成充值。 +- **自动到账:** 当交易在区块链上确认后,系统将自动把对应额度计入您的账户余额。 -完成这些步骤后,您即可通过 [**B.AI**](https://b.ai/) 畅享各种行业领先的 AI 模型服务。 +完成以上步骤后,您即可在 [**B.AI**](https://b.ai/) 平台畅享多种行业领先的 AI 模型服务。 From 283d807814b7af357c26197a3c74403d2bb4fe66 Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Thu, 9 Apr 2026 20:43:47 +0800 Subject: [PATCH 03/14] Update introduction.md --- .../current/llmservice/introduction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md index 995f9af8..1928ec79 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md @@ -2,12 +2,12 @@ ## 关于 LLM Service -LLM Service 是 Bank of AI 生态中的专业 AI 服务模块,基于顶级区块链基础设施构建,致力于为用户提供高效、易用且富有创造力的 AI 交互体验。作为 Bank of AI 的核心 AI 基础设施,该服务结合区块链的去中心化、安全性与高效率,打造全新的 AI 服务模式。 +LLM Service 是 [**B.ai**](https://b.ai/) 生态中的专业 AI 服务模块,基于顶级区块链基础设施构建,致力于为用户提供高效、易用且富有创造力的 AI 交互体验。作为 [**B.ai**](https://b.ai/) 的核心 AI 基础设施,该服务结合区块链的去中心化、安全性与高效率,打造全新的 AI 服务模式。 核心功能包括: - **多模型 AI 对话:** 集成多种行业领先的大语言模型(LLMs),用户可根据需求自由选择最合适的模型。 -- **强大的 AI 服务能力:** 提供完整的 AI API 服务,支持在 Bank of AI 框架内快速接入与集成。 +- **强大的 AI 服务能力:** 提供完整的 AI API 服务,支持在 [**B.ai**](https://b.ai/) 框架内快速接入与集成。 - **原生 Web3 体验:** 无缝集成主流 Web3 钱包,实现从登录到支付的一体化原生体验。 ## 为什么选择 LLM Service? From 3e5caac83252970582acc16df432a76b740612ec Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Thu, 9 Apr 2026 20:44:33 +0800 Subject: [PATCH 04/14] Update introduction.md --- .../current/llmservice/introduction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md index 1928ec79..3b5534dd 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md @@ -2,12 +2,12 @@ ## 关于 LLM Service -LLM Service 是 [**B.ai**](https://b.ai/) 生态中的专业 AI 服务模块,基于顶级区块链基础设施构建,致力于为用户提供高效、易用且富有创造力的 AI 交互体验。作为 [**B.ai**](https://b.ai/) 的核心 AI 基础设施,该服务结合区块链的去中心化、安全性与高效率,打造全新的 AI 服务模式。 +LLM Service 是 [**B.AI**](https://b.ai/) 生态中的专业 AI 服务模块,基于顶级区块链基础设施构建,致力于为用户提供高效、易用且富有创造力的 AI 交互体验。作为 [**B.AI**](https://b.ai/) 的核心 AI 基础设施,该服务结合区块链保持去中心化、安全性与高效率,打造全新的 AI 服务模式。 核心功能包括: - **多模型 AI 对话:** 集成多种行业领先的大语言模型(LLMs),用户可根据需求自由选择最合适的模型。 -- **强大的 AI 服务能力:** 提供完整的 AI API 服务,支持在 [**B.ai**](https://b.ai/) 框架内快速接入与集成。 +- **强大的 AI 服务能力:** 提供完整的 AI API 服务,支持在 [**B.AI**](https://b.ai/) 框架内快速接入与集成。 - **原生 Web3 体验:** 无缝集成主流 Web3 钱包,实现从登录到支付的一体化原生体验。 ## 为什么选择 LLM Service? From d035af772774ff31e764e728065343d7c8653747 Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Thu, 9 Apr 2026 20:46:32 +0800 Subject: [PATCH 05/14] Update introduction.md --- docs/llmservice/introduction.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/llmservice/introduction.md b/docs/llmservice/introduction.md index b6233320..796c06ea 100644 --- a/docs/llmservice/introduction.md +++ b/docs/llmservice/introduction.md @@ -2,18 +2,18 @@ ## About LLM Service -LLM Service is a professional AI service module within the Bank of AI ecosystem, built on top-tier blockchain infrastructure. It is dedicated to providing users with an efficient, user-friendly, and creative AI interaction experience. As a core AI service infrastructure of Bank of AI, this service leverages the decentralization, security, and high efficiency of blockchain technology to introduce a brand-new AI service model. +LLM Service is a professional AI service module within the [**B.AI**](https://b.ai/) ecosystem. Built on top-tier blockchain infrastructure, it is dedicated to providing users with an efficient, user-friendly, and creative AI interaction experience. As the core AI infrastructure of [**B.AI**](https://b.ai/), this service combines the decentralization, security, and efficiency of blockchain to create a brand-new AI service model. -The service's core features include: +Core features include: -* **Multi-Model AI Chat:** We integrate various industry-leading Large Language Models (LLMs), allowing users to select the most suitable model based on their specific needs. -* **Powerful Integrated AI Services:** We offer comprehensive AI-related API services, enabling users to access and integrate them rapidly and easily within the Bank of AI framework. -* **Web3 Native Experience:** Through seamless integration with mainstream Web3 wallets, we provide an end-to-end native experience, from login to payment. +- **Multi-model AI Chat:** Integrated with multiple industry-leading Large Language Models (LLMs), allowing users to freely choose the most suitable model based on their needs. +- **Powerful AI Service Capabilities:** Provides complete AI API services, supporting rapid access and integration within the [**B.AI**](https://b.ai/) framework. +- **Native Web3 Experience:** Seamlessly integrates mainstream Web3 wallets to achieve a unified native experience from login to payment. ## Why Choose LLM Service? -Choosing our LLM Service means enjoying the unique advantages of a secure blockchain ecosystem alongside meticulously designed features. +By choosing LLM Service, you can simultaneously enjoy the advantages of the blockchain ecosystem and a high-quality AI service experience: -* **Multi-chain Ecosystem Advantages:** As part of the Bank of AI ecosystem, users can make payments using mainstream tokens on supported chains, benefiting from fast transaction confirmations and low fees. -* **Low Cost & High Efficiency:** By optimizing resources and ensuring efficient on-chain interactions, we deliver highly cost-effective AI services to users. -* **Security & Privacy Protection:** We utilize a decentralized login method. Users can complete authentication simply by signing with their Web3 wallet, ensuring greater security and privacy for all AI interactions. +- **Multi-chain Ecosystem Advantage:** Supports mainstream token payments across multiple chains, offering the benefits of fast confirmation and low transaction fees. +- **Low Cost and High Efficiency:** Achieves more cost-effective AI services through resource optimization and efficient on-chain interaction. +- **Security and Privacy Protection:** Based on a decentralized login mechanism, users only need to complete authentication via Web3 wallet signatures, ensuring security and privacy throughout the interaction process. From a9f04aab63cb2139e8d19f0c0d39e48f097fd6cf Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Thu, 9 Apr 2026 21:15:56 +0800 Subject: [PATCH 06/14] Update introduction.md --- docs/llmservice/introduction.md | 37 +++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/docs/llmservice/introduction.md b/docs/llmservice/introduction.md index 796c06ea..28ec7f23 100644 --- a/docs/llmservice/introduction.md +++ b/docs/llmservice/introduction.md @@ -1,19 +1,38 @@ # Welcome to LLM Service + + ## About LLM Service -LLM Service is a professional AI service module within the [**B.AI**](https://b.ai/) ecosystem. Built on top-tier blockchain infrastructure, it is dedicated to providing users with an efficient, user-friendly, and creative AI interaction experience. As the core AI infrastructure of [**B.AI**](https://b.ai/), this service combines the decentralization, security, and efficiency of blockchain to create a brand-new AI service model. -Core features include: -- **Multi-model AI Chat:** Integrated with multiple industry-leading Large Language Models (LLMs), allowing users to freely choose the most suitable model based on their needs. -- **Powerful AI Service Capabilities:** Provides complete AI API services, supporting rapid access and integration within the [**B.AI**](https://b.ai/) framework. -- **Native Web3 Experience:** Seamlessly integrates mainstream Web3 wallets to achieve a unified native experience from login to payment. +LLM Service is a professional AI service module within the Bank of AI ecosystem, built on top-tier blockchain infrastructure. It is dedicated to providing users with an efficient, user-friendly, and creative AI interaction experience. As a core AI service infrastructure of Bank of AI, this service leverages the decentralization, security, and high efficiency of blockchain technology to introduce a brand-new AI service model. + + + +The service's core features include: + + + +* **Multi-Model AI Chat:** We integrate various industry-leading Large Language Models (LLMs), allowing users to select the most suitable model based on their specific needs. + +* **Powerful Integrated AI Services:** We offer comprehensive AI-related API services, enabling users to access and integrate them rapidly and easily within the Bank of AI framework. + +* **Web3 Native Experience:** Through seamless integration with mainstream Web3 wallets, we provide an end-to-end native experience, from login to payment. + + ## Why Choose LLM Service? -By choosing LLM Service, you can simultaneously enjoy the advantages of the blockchain ecosystem and a high-quality AI service experience: -- **Multi-chain Ecosystem Advantage:** Supports mainstream token payments across multiple chains, offering the benefits of fast confirmation and low transaction fees. -- **Low Cost and High Efficiency:** Achieves more cost-effective AI services through resource optimization and efficient on-chain interaction. -- **Security and Privacy Protection:** Based on a decentralized login mechanism, users only need to complete authentication via Web3 wallet signatures, ensuring security and privacy throughout the interaction process. + +Choosing our LLM Service means enjoying the unique advantages of a secure blockchain ecosystem alongside meticulously designed features. + + + +* **Multi-chain Ecosystem Advantages:** As part of the Bank of AI ecosystem, users can make payments using mainstream tokens on supported chains, benefiting from fast transaction confirmations and low fees. + +* **Low Cost & High Efficiency:** By optimizing resources and ensuring efficient on-chain interactions, we deliver highly cost-effective AI services to users. + +* **Security & Privacy Protection:** We utilize a decentralized login method. Users can complete authentication simply by signing with their Web3 wallet, ensuring greater security and privacy for all AI interactions. + From 90d5caa67e8a7a27192c6b4efcd32dbd64614e85 Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Thu, 9 Apr 2026 21:23:04 +0800 Subject: [PATCH 07/14] Update quick-start.md --- .../current/llmservice/quick-start.md | 84 ++++++++++++++----- 1 file changed, 62 insertions(+), 22 deletions(-) diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md index 720f9174..8658aee2 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/quick-start.md @@ -1,42 +1,82 @@ -# 快速上手(Quick Start) +# 快速开始 + + + +本章节将引导你在 Bank of AI 平台上完成 LLM Service 的初始配置,快速开启 AI 使用体验。 -本章节将引导您完成 [**B.AI**](https://b.ai/) 平台中 **LLM 服务**(大语言模型服务)的初始设置。请按照以下步骤开始您的 AI 使用之旅。 ---- ## 1. 连接钱包 -LLM 服务采用去中心化登录方式。您可以使用受支持的 Web3 钱包完成连接并授权登录。该方式安全便捷,无需记忆复杂的用户名和密码。 -### 登录步骤 -1. 访问 [**B.AI 聊天平台**](https://chat.b.ai/chat)。 -2. 点击页面右上角的 **Log in(登录)** 按钮。 -3. 在弹出的窗口中选择您的钱包提供方,并完成钱包连接授权。 -4. 在钱包中确认签名请求,完成登录。 +LLM Service 采用去中心化登录方式,支持通过 Web3 钱包进行授权登录,无需用户名和密码,安全便捷。 + + + +### 登录步骤: + + + +1. 访问 [Bank of AI 对话平台](https://chat.bankofai.io/chat) + +2. 点击右上角 **登录** + +3. 选择你的钱包并授权连接 + +4. 在钱包中确认签名完成登录 + + + +登录成功后,右上角会显示你的钱包地址。 + + + +> 注意:请确保浏览器或移动设备中已安装兼容的 Web3 钱包,并妥善保管助记词和私钥。 -登录成功后,您的钱包地址将显示在页面右上角,表示您已成功进入平台。 -> **注意:** 请确保您的浏览器或移动设备中已安装兼容的 Web3 钱包。同时,请妥善保管您的助记词和私钥。 --- -## 2. 开始您的第一次对话 -登录平台后,您即可通过 LLM 服务开始与 AI 进行交互。 -- **选择 AI 模型:** 在聊天界面中,您将看到当前默认使用的 AI 模型。点击模型名称展开列表,选择您希望使用的模型(例如:GPT、Claude、Gemini)。 -- **发送消息:** 在页面底部的输入框中输入您的提示词(Prompt)或任务内容,然后点击发送按钮或按回车键。 -- **多轮上下文交互:** AI 的回复将以对话形式呈现。您可以持续进行多轮对话,AI 会结合上下文内容进行响应。 +## 2. 开始首次对话 + + + +进入平台后即可直接使用 LLM Service 进行 AI 交互。 + + + +- **选择模型:** 点击当前模型名称,从列表中选择需要使用的模型(如 GPT、Claude、Gemini 等) + +- **发送消息:** 在输入框输入内容,点击发送按钮或按 Enter + +- **多轮对话:** 支持连续上下文对话,AI 会根据历史内容进行响应 + + --- -## 3. 额度与使用 -LLM 服务采用积分制运行。您可以通过便捷的链上交易获取积分,用于调用 AI 服务。 -- **充值入口:** 前往控制面板中的 **Top up(充值)** 页面管理您的余额。 -- **购买积分:** [**B.AI**](https://b.ai/) 平台支持多条主流区块链上的常用代币。您只需在钱包中确认交易,并将代币转入指定地址即可完成充值。 -- **自动到账:** 当交易在区块链上确认后,系统将自动把对应额度计入您的账户余额。 +## 3. 余额与使用 + + + +LLM Service 采用积分(Credits)计费,通过链上支付获取。 + + + +- **充值入口:** 在控制台页面进入 **充值** + +- **购买积分:** 使用支持的链上代币支付,在钱包中确认交易 + +- **自动到账:** 区块链交易确认后,系统会自动为账户增加对应积分 + + + +完成以上步骤后,你即可使用多种主流 AI 模型。 + + -完成以上步骤后,您即可在 [**B.AI**](https://b.ai/) 平台畅享多种行业领先的 AI 模型服务。 From 21d856eb95423fef99b4c22eb83fd233c88c6aba Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Thu, 9 Apr 2026 21:27:45 +0800 Subject: [PATCH 08/14] Update introduction.md --- .../current/llmservice/introduction.md | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md index 3b5534dd..74a14988 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/introduction.md @@ -1,19 +1,37 @@ # 欢迎使用 LLM Service + + ## 关于 LLM Service -LLM Service 是 [**B.AI**](https://b.ai/) 生态中的专业 AI 服务模块,基于顶级区块链基础设施构建,致力于为用户提供高效、易用且富有创造力的 AI 交互体验。作为 [**B.AI**](https://b.ai/) 的核心 AI 基础设施,该服务结合区块链保持去中心化、安全性与高效率,打造全新的 AI 服务模式。 + + +LLM Service 是 Bank of AI 生态中的专业 AI 服务模块,基于顶级区块链基础设施构建,致力于为用户提供高效、易用且富有创造力的 AI 交互体验。作为 Bank of AI 的核心 AI 基础设施,该服务结合区块链的去中心化、安全性与高效率,打造全新的 AI 服务模式。 + + 核心功能包括: + + - **多模型 AI 对话:** 集成多种行业领先的大语言模型(LLMs),用户可根据需求自由选择最合适的模型。 -- **强大的 AI 服务能力:** 提供完整的 AI API 服务,支持在 [**B.AI**](https://b.ai/) 框架内快速接入与集成。 + +- **强大的 AI 服务能力:** 提供完整的 AI API 服务,支持在 Bank of AI 框架内快速接入与集成。 + - **原生 Web3 体验:** 无缝集成主流 Web3 钱包,实现从登录到支付的一体化原生体验。 + + ## 为什么选择 LLM Service? + + 选择 LLM Service,即可同时享受区块链生态优势与高质量 AI 服务体验: + + - **多链生态优势:** 支持多链主流代币支付,具备快速确认与低手续费优势。 + - **低成本高效率:** 通过资源优化与高效链上交互,实现更具性价比的 AI 服务。 + - **安全与隐私保护:** 基于去中心化登录机制,用户仅需通过 Web3 钱包签名即可完成认证,保障交互过程的安全与隐私。 From a85f6d8a9d1b40424ed569100f8bf776621f6991 Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Sat, 11 Apr 2026 18:10:56 +0800 Subject: [PATCH 09/14] Create Claude Code x BANK OF AI API Configuration Guide --- ... Code x BANK OF AI API Configuration Guide | 298 ++++++++++++++++++ 1 file changed, 298 insertions(+) create mode 100644 docs/llmservice/claude code/Claude Code x BANK OF AI API Configuration Guide diff --git a/docs/llmservice/claude code/Claude Code x BANK OF AI API Configuration Guide b/docs/llmservice/claude code/Claude Code x BANK OF AI API Configuration Guide new file mode 100644 index 00000000..b08a57e7 --- /dev/null +++ b/docs/llmservice/claude code/Claude Code x BANK OF AI API Configuration Guide @@ -0,0 +1,298 @@ +# Claude Code with BANK OF AI API + +## Table of Contents + +- [Getting Started](#getting-started) +- [Option 1: settings.json (Recommended)](#option-1-settingsjson-recommended) +- [Option 2: Environment Variables](#option-2-environment-variables) +- [Switching Models](#switching-models) +- [Available Models](#available-models) +- [FAQ](#faq) + +*** + +## Getting Started + +Complete the following two prerequisites before proceeding with configuration. + +### Step 1: Install Claude Code + +Choose the installation method for your operating system: + +**macOS / Linux / WSL:** + +```bash +curl -fsSL https://claude.ai/install.sh | bash +``` + +**Windows PowerShell:** + +```powershell +irm https://claude.ai/install.ps1 | iex +``` + +**npm (requires Node.js 18+):** + +```bash +npm install -g @anthropic-ai/claude-code +``` + +### Step 2: Obtain a BANK OF AI API Key + +1. Log in to the [BANK OF AI Chat Platform](https://chat.bankofai.io/chat) +2. Navigate to the [API Key Management Page](https://chat.bankofai.io/key) +3. Click to create a new API Key + +> **Note:** Keep your API Key secure — you will need it in the configuration steps below. + +Once both prerequisites are complete, choose either option below to configure the BANK OF AI API. + +*** + +## Option 1: settings.json (Recommended) + +This approach configures Claude Code via its own settings file, without modifying system environment variables. + +### Steps + +1. Locate the `settings.json` file in the Claude Code installation directory. If it does not exist, create a new one. +2. Add the following content: + +```json +{ + "env": { + "ANTHROPIC_AUTH_TOKEN": "Your-BANK-OF-AI-API-Key", + "ANTHROPIC_BASE_URL": "https://api.bankofai.io/", + "ANTHROPIC_MODEL": "claude-sonnet-4.6", + "API_TIMEOUT_MS": "3000000" + } +} +``` + +> **Tip:** You can replace the `ANTHROPIC_MODEL` value with any model from the [Available Models](#available-models) list. + +3. Save the file and restart your terminal. +4. Verify the configuration: + +```bash +claude --version +claude +``` + +If Claude Code starts successfully and responds using the BANK OF AI model, the configuration is complete. + +*** + +## Option 2: Environment Variables + +This approach is suitable when you need the configuration to take effect globally. + +### Set Environment Variables + +Add the following lines to the appropriate shell configuration file: + +#### Bash (Linux / macOS) + +Edit `~/.bashrc` (or `~/.bash_profile` on macOS): + +```bash +# Claude Code - BANK OF AI Provider Configuration +export ANTHROPIC_BASE_URL="https://api.bankofai.io/" +export ANTHROPIC_AUTH_TOKEN="your-api-key-here" +export ANTHROPIC_MODEL="claude-sonnet-4.6" +# End of BANK OF AI Provider Configuration +``` + +Apply the changes: + +```bash +source ~/.bashrc +``` + +#### Zsh (Linux / macOS) + +Edit `~/.zshrc`: + +```bash +# Claude Code - BANK OF AI Provider Configuration +export ANTHROPIC_BASE_URL="https://api.bankofai.io/" +export ANTHROPIC_AUTH_TOKEN="your-api-key-here" +export ANTHROPIC_MODEL="claude-sonnet-4.6" +# End of BANK OF AI Provider Configuration +``` + +Apply the changes: + +```bash +source ~/.zshrc +``` + +#### PowerShell (Windows) + +Edit your `$PROFILE` file: + +```powershell +# Claude Code - BANK OF AI Provider Configuration +$env:ANTHROPIC_BASE_URL = "https://api.bankofai.io/" +$env:ANTHROPIC_AUTH_TOKEN = "your-api-key-here" +$env:ANTHROPIC_MODEL = "claude-sonnet-4.6" +# End of BANK OF AI Provider Configuration +``` + +Apply the changes: + +```powershell +. $PROFILE +``` + +#### Configuration File Path Reference + +| OS | Shell | Configuration File | +| :-----: | :--------: | :------------------------------- | +| Linux | Bash | `~/.bashrc` | +| Linux | Zsh | `~/.zshrc` | +| macOS | Bash | `~/.bashrc` or `~/.bash_profile` | +| macOS | Zsh | `~/.zshrc` | +| Windows | PowerShell | `$PROFILE` | + +### Verify the Configuration + +```bash +claude --version +claude +``` + +If Claude Code starts successfully and responds using the BANK OF AI model, the configuration is complete. + +*** + +## Switching Models + +### Temporary Switch (Current Session Only) + +**Linux / macOS:** + +```bash +ANTHROPIC_MODEL=claude-opus-4.6 claude +``` + +**Windows PowerShell:** + +```powershell +$env:ANTHROPIC_MODEL="claude-opus-4.6"; claude +``` + +### Permanent Switch + +Update the `ANTHROPIC_MODEL` value in your `settings.json` or shell configuration file, then restart the terminal or reload the configuration. + +*** + +## Available Models + +| Model Name | Provider | +| :------------------ | :-------- | +| `claude-opus-4.6` | Anthropic | +| `claude-opus-4.5` | Anthropic | +| `claude-sonnet-4.6` | Anthropic | +| `claude-sonnet-4.5` | Anthropic | +| `claude-haiku-4.5` | Anthropic | +| `gpt-5.2` | OpenAI | +| `gpt-5-mini` | OpenAI | +| `gpt-5-nano` | OpenAI | +| `gemini-3.1-pro` | Google | +| `gemini-3-flash` | Google | +| `kimi-k2.5` | Moonshot | +| `glm-5` | Zhipu AI | +| `minimax-m2.5` | MiniMax | + +> For the full and up-to-date model list, query the Models API provided by BANK OF AI. + +*** + +## FAQ + +
+Q: I get "claude command not found" — what should I do? + +Install Claude Code first: + +- **Linux / macOS:** `curl -fsSL https://claude.ai/install.sh | bash` +- **Windows:** `irm https://claude.ai/install.ps1 | iex` + +Restart your terminal after installation. + +
+ +
+Q: The setup script fails — what should I check? + +Verify the following: + +1. Claude Code is installed (`claude --version` outputs a version number) +2. `curl` is available (Linux / macOS) +3. Your network can reach `https://api.bankofai.io/` + +If the issue persists, try [Option 2: Environment Variables](#option-2-environment-variables) for manual configuration. + +
+ +
+Q: How do I verify the configuration is working? + +Check that the environment variables are set: + +**Linux / macOS:** + +```bash +echo $ANTHROPIC_BASE_URL +echo $ANTHROPIC_MODEL +``` + +**Windows PowerShell:** + +```powershell +$env:ANTHROPIC_BASE_URL +$env:ANTHROPIC_MODEL +``` + +
+ +
+Q: How do I check which model is currently in use? + +After launching Claude Code, type: + +```text +/status +``` + +
+ +
+Q: Why do I get 403 access_denied when calling some models? + +Models with a **Premium** tag may return `403 access_denied` if your BANK OF AI account has not been recharged before. + +A valid API key alone is not sufficient for Premium models. Please recharge your account first, then try again. + +
+ +
+Q: How do I remove the BANK OF AI provider configuration? + +Edit your shell configuration file and delete everything between the following comment blocks: + +```bash +# Claude Code - BANK OF AI Provider Configuration +... +# End of BANK OF AI Provider Configuration +``` + +Then reload the configuration file (e.g., `source ~/.zshrc`). + +
+ +*** + +> **Version:** v1.0 | **Last Updated:** 2026-03-27 From aa2681e71d02cda2ad8ec8b2b44292251003f4b8 Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Sat, 11 Apr 2026 18:14:37 +0800 Subject: [PATCH 10/14] Rename Claude Code x BANK OF AI API Configuration Guide to claude-code-bank-of-ai.md --- ...NK OF AI API Configuration Guide => claude-code-bank-of-ai.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/llmservice/claude code/{Claude Code x BANK OF AI API Configuration Guide => claude-code-bank-of-ai.md} (100%) diff --git a/docs/llmservice/claude code/Claude Code x BANK OF AI API Configuration Guide b/docs/llmservice/claude code/claude-code-bank-of-ai.md similarity index 100% rename from docs/llmservice/claude code/Claude Code x BANK OF AI API Configuration Guide rename to docs/llmservice/claude code/claude-code-bank-of-ai.md From 01d65879b3d53b6d7ec74ca7dec4849dc2626c3c Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Sat, 11 Apr 2026 18:17:47 +0800 Subject: [PATCH 11/14] Create Claude Code x BANK OF AI API Configuration Guide.md --- ...de x BANK OF AI API Configuration Guide.md | 300 ++++++++++++++++++ 1 file changed, 300 insertions(+) create mode 100644 i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md new file mode 100644 index 00000000..d71bfcf3 --- /dev/null +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md @@ -0,0 +1,300 @@ +## 目录 + +- [开始之前](#开始之前) +- [方案一:使用 settings.json(推荐)](#方案一使用-settingsjson推荐) +- [方案二:使用环境变量](#方案二使用环境变量) +- [切换模型](#切换模型) +- [可用模型](#可用模型) +- [常见问题](#常见问题) + +*** + +## 开始之前 + +在开始配置之前,请先完成以下两个前置步骤。 + +### 第一步:安装 Claude Code + +根据你的操作系统选择对应的安装方式: + +**macOS / Linux / WSL:** + +```bash +curl -fsSL https://claude.ai/install.sh | bash +``` + +**Windows PowerShell:** + +```powershell +irm https://claude.ai/install.ps1 | iex +``` + +**npm(需要 Node.js 18+):** + +```bash +npm install -g @anthropic-ai/claude-code +``` + +### 第二步:获取 AINFT API Key + +1. 登录 [AINFT Chat 平台](https://chat.ainft.com/) +2. 进入 [API Key 管理页面](https://chat.ainft.com/key) +3. 点击创建新的 API Key + +> **注意:** 请妥善保管你的 API Key。你将在下面的配置步骤中使用它。 + +完成以上两个前置步骤后,即可选择下面任意一种方式来配置 AINFT API。 + +*** + +## 方案一:使用 settings.json(推荐) + +这种方式通过 Claude Code 自身的配置文件完成设置,无需修改系统环境变量。 + +### 操作步骤 + +1. 找到 Claude Code 安装目录中的 `settings.json` 文件。如果文件不存在,请手动创建一个新的。 +2. 添加以下内容: + +```json +{ + "env": { + "ANTHROPIC_AUTH_TOKEN": "你的-AINFT-API-Key", + "ANTHROPIC_BASE_URL": "https://api.ainft.com/", + "ANTHROPIC_MODEL": "claude-sonnet-4.6", + "API_TIMEOUT_MS": "3000000" + } +} +``` + +> **提示:** 你可以将 `ANTHROPIC_MODEL` 替换为[可用模型](#可用模型)列表中的任意模型。 + +3. 保存文件并重启终端。 +4. 执行以下命令验证配置: + +```bash +claude --version +claude +``` + +如果 Claude Code 可以正常启动,并且能够使用 AINFT 模型返回结果,则说明配置完成。 + +*** + +## 方案二:使用环境变量 + +这种方式适用于需要全局生效配置的场景。 + +### 设置环境变量 + +将以下内容添加到对应 shell 的配置文件中: + +#### Bash(Linux / macOS) + +编辑 `~/.bashrc`(macOS 也可能是 `~/.bash_profile`): + +```bash +# Claude Code - AINFT Provider Configuration +export ANTHROPIC_BASE_URL="https://api.ainft.com/" +export ANTHROPIC_AUTH_TOKEN="your-api-key-here" +export ANTHROPIC_MODEL="claude-sonnet-4.6" +# End of AINFT Provider Configuration +``` + +应用修改: + +```bash +source ~/.bashrc +``` + +#### Zsh(Linux / macOS) + +编辑 `~/.zshrc`: + +```bash +# Claude Code - AINFT Provider Configuration +export ANTHROPIC_BASE_URL="https://api.ainft.com/" +export ANTHROPIC_AUTH_TOKEN="your-api-key-here" +export ANTHROPIC_MODEL="claude-sonnet-4.6" +# End of AINFT Provider Configuration +``` + +应用修改: + +```bash +source ~/.zshrc +``` + +#### PowerShell(Windows) + +编辑你的 `$PROFILE` 文件: + +```powershell +# Claude Code - AINFT Provider Configuration +$env:ANTHROPIC_BASE_URL = "https://api.ainft.com/" +$env:ANTHROPIC_AUTH_TOKEN = "your-api-key-here" +$env:ANTHROPIC_MODEL = "claude-sonnet-4.6" +# End of AINFT Provider Configuration +``` + +应用修改: + +```powershell +. $PROFILE +``` + +#### 配置文件路径参考 + +| 操作系统 | Shell | 配置文件路径 | +| :----------: | :-------: | :-------------------------------- | +| Linux | Bash | `~/.bashrc` | +| Linux | Zsh | `~/.zshrc` | +| macOS | Bash | `~/.bashrc` 或 `~/.bash_profile` | +| macOS | Zsh | `~/.zshrc` | +| Windows | PowerShell| `$PROFILE` | + +### 验证配置 + +```bash +claude --version +claude +``` + +如果 Claude Code 可以正常启动,并且能够使用 AINFT 模型返回结果,则说明配置完成。 + +*** + +## 切换模型 + +### 临时切换(仅当前会话生效) + +**Linux / macOS:** + +```bash +ANTHROPIC_MODEL=claude-opus-4.6 claude +``` + +**Windows PowerShell:** + +```powershell +$env:ANTHROPIC_MODEL="claude-opus-4.6"; claude +``` + +### 永久切换 + +修改 `settings.json` 或 shell 配置文件中的 `ANTHROPIC_MODEL` 值,然后重启终端或重新加载配置。 + +*** + +## 可用模型 + +| 模型名称 | 提供方 | +| :------------------ | :--------- | +| `claude-opus-4.6` | Anthropic | +| `claude-opus-4.5` | Anthropic | +| `claude-sonnet-4.6` | Anthropic | +| `claude-sonnet-4.5` | Anthropic | +| `claude-haiku-4.5` | Anthropic | +| `gpt-5.2` | OpenAI | +| `gpt-5-mini` | OpenAI | +| `gpt-5-nano` | OpenAI | +| `gemini-3.1-pro` | Google | +| `gemini-3-flash` | Google | +| `kimi-k2.5` | Moonshot | +| `glm-5` | Zhipu AI | +| `minimax-m2.5` | MiniMax | + +> 完整且最新的模型列表,请查询 [Models API](https://docs.ainft.com/reference/listmodels)。 + +*** + +## 常见问题 + +
+Q:出现 “claude command not found” 怎么办? + +请先安装 Claude Code: + +- **Linux / macOS:** `curl -fsSL https://claude.ai/install.sh | bash` +- **Windows:** `irm https://claude.ai/install.ps1 | iex` + +安装完成后请重启终端。 + +
+ +
+Q:安装脚本执行失败,我应该检查什么? + +请确认以下几点: + +1. Claude Code 已正确安装(执行 `claude --version` 可以看到版本号) +2. 已安装 `curl`(Linux / macOS) +3. 网络可以访问 `https://api.ainft.com/` + +如果问题仍然存在,可以尝试使用[方案二:使用环境变量](#方案二使用环境变量)进行手动配置。 + +
+ +
+Q:如何验证配置是否生效? + +可以检查环境变量是否已正确设置: + +**Linux / macOS:** + +```bash +echo $ANTHROPIC_BASE_URL +echo $ANTHROPIC_MODEL +``` + +**Windows PowerShell:** + +```powershell +$env:ANTHROPIC_BASE_URL +$env:ANTHROPIC_MODEL +``` + +
+ +
+Q:如何查看当前正在使用的模型? + +启动 Claude Code 后,输入: + +```text +/status +``` + +
+ +
+Q:为什么调用某些模型时会返回 403 access_denied? + +带有 **Premium** 标签的模型,如果你的 AINFT 账户此前从未充值,可能会返回 `403 access_denied`。 + +仅有有效的 API Key 并不足以调用 Premium 模型。请先完成账户充值,然后再重试。 + +
+ +
+Q:如何移除 AINFT provider 配置? + +编辑你的 shell 配置文件,删除以下注释块之间的内容: + +```bash +# Claude Code - AINFT Provider Configuration +... +# End of AINFT Provider Configuration +``` + +然后重新加载配置文件,例如: + +```bash +source ~/.zshrc +``` + +
+ +*** + +> **版本:** v1.0 | **最后更新:** 2026-03-27 From 26c666eab9c79424f7a25b076f0684806d8ee5ab Mon Sep 17 00:00:00 2001 From: ai-bankofai Date: Sat, 11 Apr 2026 18:20:51 +0800 Subject: [PATCH 12/14] Update Claude Code x BANK OF AI API Configuration Guide.md --- ...de x BANK OF AI API Configuration Guide.md | 64 ++++++++++--------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md index d71bfcf3..a1549e58 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md @@ -1,3 +1,5 @@ +# 使用 BANK OF AI API 配置 Claude Code + ## 目录 - [开始之前](#开始之前) @@ -11,7 +13,7 @@ ## 开始之前 -在开始配置之前,请先完成以下两个前置步骤。 +在继续配置之前,请先完成以下两个前置步骤。 ### 第一步:安装 Claude Code @@ -35,15 +37,15 @@ irm https://claude.ai/install.ps1 | iex npm install -g @anthropic-ai/claude-code ``` -### 第二步:获取 AINFT API Key +### 第二步:获取 BANK OF AI API Key -1. 登录 [AINFT Chat 平台](https://chat.ainft.com/) -2. 进入 [API Key 管理页面](https://chat.ainft.com/key) +1. 登录 [BANK OF AI Chat 平台](https://chat.bankofai.io/chat) +2. 进入 [API Key 管理页面](https://chat.bankofai.io/key) 3. 点击创建新的 API Key > **注意:** 请妥善保管你的 API Key。你将在下面的配置步骤中使用它。 -完成以上两个前置步骤后,即可选择下面任意一种方式来配置 AINFT API。 +完成以上两个前置步骤后,即可选择下面任意一种方式来配置 BANK OF AI API。 *** @@ -59,8 +61,8 @@ npm install -g @anthropic-ai/claude-code ```json { "env": { - "ANTHROPIC_AUTH_TOKEN": "你的-AINFT-API-Key", - "ANTHROPIC_BASE_URL": "https://api.ainft.com/", + "ANTHROPIC_AUTH_TOKEN": "你的-BANK-OF-AI-API-Key", + "ANTHROPIC_BASE_URL": "https://api.bankofai.io/", "ANTHROPIC_MODEL": "claude-sonnet-4.6", "API_TIMEOUT_MS": "3000000" } @@ -77,7 +79,7 @@ claude --version claude ``` -如果 Claude Code 可以正常启动,并且能够使用 AINFT 模型返回结果,则说明配置完成。 +如果 Claude Code 可以正常启动,并且能够使用 BANK OF AI 模型返回结果,则说明配置完成。 *** @@ -94,11 +96,11 @@ claude 编辑 `~/.bashrc`(macOS 也可能是 `~/.bash_profile`): ```bash -# Claude Code - AINFT Provider Configuration -export ANTHROPIC_BASE_URL="https://api.ainft.com/" +# Claude Code - BANK OF AI Provider Configuration +export ANTHROPIC_BASE_URL="https://api.bankofai.io/" export ANTHROPIC_AUTH_TOKEN="your-api-key-here" export ANTHROPIC_MODEL="claude-sonnet-4.6" -# End of AINFT Provider Configuration +# End of BANK OF AI Provider Configuration ``` 应用修改: @@ -112,11 +114,11 @@ source ~/.bashrc 编辑 `~/.zshrc`: ```bash -# Claude Code - AINFT Provider Configuration -export ANTHROPIC_BASE_URL="https://api.ainft.com/" +# Claude Code - BANK OF AI Provider Configuration +export ANTHROPIC_BASE_URL="https://api.bankofai.io/" export ANTHROPIC_AUTH_TOKEN="your-api-key-here" export ANTHROPIC_MODEL="claude-sonnet-4.6" -# End of AINFT Provider Configuration +# End of BANK OF AI Provider Configuration ``` 应用修改: @@ -130,11 +132,11 @@ source ~/.zshrc 编辑你的 `$PROFILE` 文件: ```powershell -# Claude Code - AINFT Provider Configuration -$env:ANTHROPIC_BASE_URL = "https://api.ainft.com/" +# Claude Code - BANK OF AI Provider Configuration +$env:ANTHROPIC_BASE_URL = "https://api.bankofai.io/" $env:ANTHROPIC_AUTH_TOKEN = "your-api-key-here" $env:ANTHROPIC_MODEL = "claude-sonnet-4.6" -# End of AINFT Provider Configuration +# End of BANK OF AI Provider Configuration ``` 应用修改: @@ -145,13 +147,13 @@ $env:ANTHROPIC_MODEL = "claude-sonnet-4.6" #### 配置文件路径参考 -| 操作系统 | Shell | 配置文件路径 | -| :----------: | :-------: | :-------------------------------- | -| Linux | Bash | `~/.bashrc` | -| Linux | Zsh | `~/.zshrc` | -| macOS | Bash | `~/.bashrc` 或 `~/.bash_profile` | -| macOS | Zsh | `~/.zshrc` | -| Windows | PowerShell| `$PROFILE` | +| 操作系统 | Shell | 配置文件路径 | +| :----------: | :--------: | :-------------------------------- | +| Linux | Bash | `~/.bashrc` | +| Linux | Zsh | `~/.zshrc` | +| macOS | Bash | `~/.bashrc` 或 `~/.bash_profile` | +| macOS | Zsh | `~/.zshrc` | +| Windows | PowerShell | `$PROFILE` | ### 验证配置 @@ -160,7 +162,7 @@ claude --version claude ``` -如果 Claude Code 可以正常启动,并且能够使用 AINFT 模型返回结果,则说明配置完成。 +如果 Claude Code 可以正常启动,并且能够使用 BANK OF AI 模型返回结果,则说明配置完成。 *** @@ -204,7 +206,7 @@ $env:ANTHROPIC_MODEL="claude-opus-4.6"; claude | `glm-5` | Zhipu AI | | `minimax-m2.5` | MiniMax | -> 完整且最新的模型列表,请查询 [Models API](https://docs.ainft.com/reference/listmodels)。 +> 完整且最新的模型列表,请查询 BANK OF AI 提供的 Models API。 *** @@ -229,7 +231,7 @@ $env:ANTHROPIC_MODEL="claude-opus-4.6"; claude 1. Claude Code 已正确安装(执行 `claude --version` 可以看到版本号) 2. 已安装 `curl`(Linux / macOS) -3. 网络可以访问 `https://api.ainft.com/` +3. 网络可以访问 `https://api.bankofai.io/` 如果问题仍然存在,可以尝试使用[方案二:使用环境变量](#方案二使用环境变量)进行手动配置。 @@ -270,21 +272,21 @@ $env:ANTHROPIC_MODEL
Q:为什么调用某些模型时会返回 403 access_denied? -带有 **Premium** 标签的模型,如果你的 AINFT 账户此前从未充值,可能会返回 `403 access_denied`。 +带有 **Premium** 标签的模型,如果你的 BANK OF AI 账户此前从未充值,可能会返回 `403 access_denied`。 仅有有效的 API Key 并不足以调用 Premium 模型。请先完成账户充值,然后再重试。
-Q:如何移除 AINFT provider 配置? +Q:如何移除 BANK OF AI provider 配置? 编辑你的 shell 配置文件,删除以下注释块之间的内容: ```bash -# Claude Code - AINFT Provider Configuration +# Claude Code - BANK OF AI Provider Configuration ... -# End of AINFT Provider Configuration +# End of BANK OF AI Provider Configuration ``` 然后重新加载配置文件,例如: From 09910379b862b17b43d190c71eaa3749dca15d94 Mon Sep 17 00:00:00 2001 From: jerryji-prog Date: Mon, 13 Apr 2026 16:09:08 +0800 Subject: [PATCH 13/14] update name --- .../claudecode-bankofai-api-configuration-guide.md} | 0 .../claudecode-bankofai-api-configuration-guide.md} | 0 .../docusaurus-plugin-content-docs/current/sidebars.js | 6 ++++++ sidebars.js | 6 ++++++ 4 files changed, 12 insertions(+) rename docs/llmservice/{claude code/claude-code-bank-of-ai.md => Claude-Code/claudecode-bankofai-api-configuration-guide.md} (100%) rename i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/{Claude Code/Claude Code x BANK OF AI API Configuration Guide.md => Claude-Code/claudecode-bankofai-api-configuration-guide.md} (100%) diff --git a/docs/llmservice/claude code/claude-code-bank-of-ai.md b/docs/llmservice/Claude-Code/claudecode-bankofai-api-configuration-guide.md similarity index 100% rename from docs/llmservice/claude code/claude-code-bank-of-ai.md rename to docs/llmservice/Claude-Code/claudecode-bankofai-api-configuration-guide.md diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude-Code/claudecode-bankofai-api-configuration-guide.md similarity index 100% rename from i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude Code/Claude Code x BANK OF AI API Configuration Guide.md rename to i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/Claude-Code/claudecode-bankofai-api-configuration-guide.md diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/sidebars.js b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/sidebars.js index 21574ba6..addcf722 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/sidebars.js +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/sidebars.js @@ -215,6 +215,12 @@ const sidebars = { collapsed: true, items: ['llmservice/openclaw/integration-guide', 'llmservice/openclaw/one-click-script-tutorial'], }, + { + type: 'category', + label: 'Claude Code', + collapsed: true, + items: ['llmservice/Claude-Code/claudecode-bankofai-api-configuration-guide'], + }, { type: 'category', label: 'API', diff --git a/sidebars.js b/sidebars.js index 986d9f27..b4fc0d39 100644 --- a/sidebars.js +++ b/sidebars.js @@ -212,6 +212,12 @@ const sidebars = { collapsed: true, items: ['llmservice/openclaw/integration-guide', 'llmservice/openclaw/one-click-script-tutorial'], }, + { + type: 'category', + label: 'Claude Code', + collapsed: true, + items: ['llmservice/Claude-Code/claudecode-bankofai-api-configuration-guide'], + }, { type: 'category', label: 'API', From 919cda6a6b168c0cffcc753f9d7da4b70686202f Mon Sep 17 00:00:00 2001 From: jerryji-prog Date: Mon, 13 Apr 2026 17:44:18 +0800 Subject: [PATCH 14/14] change version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1ce4cf3e..17f3a9ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@x402-tron/docs", - "version": "1.2.7", + "version": "1.2.9", "description": "x402-tron documentation", "license": "MIT", "scripts": {