This is an automated email from the ASF dual-hosted git repository.

wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 884a8b47d docs: Clarify GCP auth configuration details (#13111)
884a8b47d is described below

commit 884a8b47d5762fa27aaa9af17172fc9a479b80d9
Author: Hwting <[email protected]>
AuthorDate: Thu Mar 26 08:58:51 2026 +0800

    docs: Clarify GCP auth configuration details (#13111)
    
    * docs: Fix the incorrect description in the document
    
    Fix the incorrect description in the document
    
    * docs: Clarify GCP auth configuration details
    
    Updated the description for GCP service account JSON and max TTL.
---
 docs/zh/latest/plugins/ai-proxy-multi.md | 4 ++--
 docs/zh/latest/plugins/ai-proxy.md       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/zh/latest/plugins/ai-proxy-multi.md 
b/docs/zh/latest/plugins/ai-proxy-multi.md
index 2dc500848..3f108cace 100644
--- a/docs/zh/latest/plugins/ai-proxy-multi.md
+++ b/docs/zh/latest/plugins/ai-proxy-multi.md
@@ -68,8 +68,8 @@ description: ai-proxy-multi 插件通过负载均衡、重试、故障转移和
 | instances.auth.header               | object         | 否    |                
                   |              | 身份验证标头。应配置 `header` 和 `query` 中的至少一个。 |
 | instances.auth.query                | object         | 否    |                
                   |              | 身份验证查询参数。应配置 `header` 和 `query` 中的至少一个。 |
 | instances.auth.gcp                  | object         | 否    |                
                   |              | Google Cloud Platform (GCP) 身份验证配置。 |
-| instances.auth.gcp.service_account_json | string     | 否    |                
                   |              | GCP 服务账号 JSON 文件的内容。 |
-| instances.auth.gcp.max_ttl          | integer        | 否    |                
                   | minimum = 1  | GCP 服务帐户 JSON 
文件的内容。也可以通过设置“GCP_SERVICE_ACCOUNT”环境变量来配置 |
+| instances.auth.gcp.service_account_json | string     | 否    |                
                   |              | GCP 服务帐户 JSON 
文件的内容。也可以通过设置“GCP_SERVICE_ACCOUNT”环境变量来配置。 |
+| instances.auth.gcp.max_ttl          | integer        | 否    |                
                   | minimum = 1  | 用于缓存 GCP 访问令牌的最大 TTL(以秒为单位)。 |
 | instances.auth.gcp.expire_early_secs| integer        | 否    | 60             
                   | minimum = 0  | 在访问令牌实际过期时间之前使其过期的秒数,以避免边缘情况。 |
 | instances.options                   | object         | 否    |                
                   |              | 模型配置。除了 `model` 之外,您还可以配置其他参数,它们将在请求体中转发到上游 
LLM 服务。例如,如果您使用 OpenAI、DeepSeek 或 AIMLAPI,可以配置其他参数,如 
`max_tokens`、`temperature`、`top_p` 和 `stream`。有关更多可用选项,请参阅您的 LLM 提供商的 API 文档。 |
 | instances.options.model             | string         | 否    |                
                   |              | LLM 模型的名称,如 `gpt-4` 或 
`gpt-3.5`。有关更多可用模型,请参阅您的 LLM 提供商的 API 文档。 |
diff --git a/docs/zh/latest/plugins/ai-proxy.md 
b/docs/zh/latest/plugins/ai-proxy.md
index 0b9d9f81f..f59e2f76b 100644
--- a/docs/zh/latest/plugins/ai-proxy.md
+++ b/docs/zh/latest/plugins/ai-proxy.md
@@ -59,8 +59,8 @@ description: ai-proxy 插件通过将插件配置转换为所需的请求格式
 | auth.header      | object  | 否    |         |                                
          | 身份验证标头。必须配置 `header` 或 `query` 中的至少一个。 |
 | auth.query       | object  | 否    |         |                                
          | 身份验证查询参数。必须配置 `header` 或 `query` 中的至少一个。 |
 | auth.gcp         | object  | 否    |         |                                
          | Google Cloud Platform (GCP) 身份验证配置。 |
-| auth.gcp.service_account_json | string | 否 |  |                              
            | GCP 服务账号 JSON 文件的内容。 |
-| auth.gcp.max_ttl | integer | 否    |         | minimum = 1                    
          | GCP 服务帐户 JSON 文件的内容。也可以通过设置“GCP_SERVICE_ACCOUNT”环境变量来配置。 |
+| auth.gcp.service_account_json | string | 否 |  |                              
            | GCP 服务帐户 JSON 文件的内容。也可以通过设置“GCP_SERVICE_ACCOUNT”环境变量来配置。 |
+| auth.gcp.max_ttl | integer | 否    |         | minimum = 1                    
          | 用于缓存 GCP 访问令牌的最大 TTL(以秒为单位)。 |
 | auth.gcp.expire_early_secs | integer | 否 | 60 | minimum = 0                  
            | 在访问令牌实际过期时间之前使其过期的秒数,以避免边缘情况。 |
 | options         | object  | 否    |         |                                 
         | 模型配置。除了 `model` 之外,您还可以配置其他参数,它们将在请求体中转发到上游 LLM 服务。例如,如果您使用 
OpenAI,可以配置其他参数,如 `temperature`、`top_p` 和 `stream`。有关更多可用选项,请参阅您的 LLM 提供商的 API 
文档。  |
 | options.model   | string  | 否    |         |                                 
         | LLM 模型的名称,如 `gpt-4` 或 `gpt-3.5`。请参阅 LLM 提供商的 API 文档以了解可用模型。 |

Reply via email to