From 01ef6eb2f13becc4ec5f7b8c56d08f4fc65f232e Mon Sep 17 00:00:00 2001 From: "openclaw-docs-i18n[bot]" Date: Fri, 1 May 2026 12:50:52 +0000 Subject: [PATCH] chore(i18n): refresh zh-CN translations --- docs/zh-CN/providers/groq.md | 74 ++++++++++++++++++------------------ 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/docs/zh-CN/providers/groq.md b/docs/zh-CN/providers/groq.md index 4be1caa15..4a347e9ec 100644 --- a/docs/zh-CN/providers/groq.md +++ b/docs/zh-CN/providers/groq.md @@ -1,38 +1,38 @@ --- read_when: - - 你想在 OpenClaw 中使用 Groq + - 你想将 Groq 与 OpenClaw 搭配使用 - 你需要 API 密钥环境变量或 CLI 认证选项 -summary: Groq 设置(认证 + 模型选择) +summary: Groq 设置(身份验证 + 模型选择) title: Groq x-i18n: - generated_at: "2026-04-27T12:55:25Z" - model: gpt-5.4 + generated_at: "2026-05-01T12:50:29Z" + model: gpt-5.5 provider: openai - source_hash: ed612471939e7ac5362f8236f179d38ae07f9076709ff55020c1790f7c56a6fa + source_hash: 2cf6678047581a438906420894b250bafb68d71254fbaf30ea5dfcfc4799eac7 source_path: providers/groq.md - workflow: 15 + workflow: 16 --- -[Groq](https://groq.com) 通过自定义 LPU 硬件为开源模型(Llama、Gemma、Mistral 等)提供超高速推理。OpenClaw 通过其兼容 OpenAI 的 API 连接到 Groq。 +[Groq](https://groq.com) 使用自定义 LPU 硬件,为开源模型(Llama、Gemma、Mistral 等)提供超高速推理。OpenClaw 通过其 OpenAI 兼容 API 连接到 Groq。 -| Property | Value | -| -------- | ----- | -| 提供商 | `groq` | -| 认证 | `GROQ_API_KEY` | -| API | 兼容 OpenAI | +| 属性 | 值 | +| -------- | ----------------- | +| 提供商 | `groq` | +| 认证 | `GROQ_API_KEY` | +| API | OpenAI 兼容 | ## 入门指南 - - 在 [console.groq.com/keys](https://console.groq.com/keys) 创建 API 密钥。 + + 在 [console.groq.com/keys](https://console.groq.com/keys) 创建 API key。 - + ```bash export GROQ_API_KEY="gsk_..." ``` - + ```json5 { agents: { @@ -60,26 +60,26 @@ x-i18n: ## 内置目录 -Groq 的模型目录变化频繁。运行 `openclaw models list | grep groq` 可查看当前可用模型,或查看 [console.groq.com/docs/models](https://console.groq.com/docs/models)。 +OpenClaw 附带一个由 manifest 支撑的 Groq 目录,用于快速按提供商筛选模型列表。运行 `openclaw models list --all --provider groq` 查看内置行,或查看 [console.groq.com/docs/models](https://console.groq.com/docs/models)。 -| Model | Notes | +| 模型 | 说明 | | --------------------------- | ---------------------------------- | -| **Llama 3.3 70B Versatile** | 通用型,大上下文 | -| **Llama 3.1 8B Instant** | 快速、轻量 | -| **Gemma 2 9B** | 紧凑、高效 | -| **Mixtral 8x7B** | MoE 架构,推理能力强 | +| **Llama 3.3 70B Versatile** | 通用型,大上下文 | +| **Llama 3.1 8B Instant** | 快速、轻量 | +| **Gemma 2 9B** | 紧凑、高效 | +| **Mixtral 8x7B** | MoE 架构,推理能力强 | -使用 `openclaw models list --provider groq` 获取你的账户当前可用的最新模型列表。 +使用 `openclaw models list --all --provider groq` 查看此 OpenClaw 版本已知的、由 manifest 支撑的 Groq 行。 ## 推理模型 -OpenClaw 会将其共享 `/think` 级别映射为 Groq 模型特定的 `reasoning_effort` 值。对于 `qwen/qwen3-32b`,关闭 thinking 时会发送 `none`,启用 thinking 时会发送 `default`。对于 Groq GPT-OSS 推理模型,OpenClaw 会发送 `low`、`medium` 或 `high`;关闭 thinking 时则会省略 `reasoning_effort`,因为这些模型不支持关闭值。 +OpenClaw 会将其共享的 `/think` 级别映射到 Groq 特定于模型的 `reasoning_effort` 值。对于 `qwen/qwen3-32b`,禁用思考会发送 `none`,启用思考会发送 `default`。对于 Groq GPT-OSS 推理模型,OpenClaw 会发送 `low`、`medium` 或 `high`;禁用思考时会省略 `reasoning_effort`,因为这些模型不支持禁用值。 -## 音频转录 +## 音频转写 -Groq 还提供基于 Whisper 的快速音频转录。当配置为媒体理解提供商时,OpenClaw 会通过共享的 `tools.media.audio` 表面,使用 Groq 的 `whisper-large-v3-turbo` 模型转录语音消息。 +Groq 还提供快速的基于 Whisper 的音频转写。配置为媒体理解提供商时,OpenClaw 会使用 Groq 的 `whisper-large-v3-turbo` 模型,通过共享的 `tools.media.audio` 表面转写语音消息。 ```json5 { @@ -94,20 +94,20 @@ Groq 还提供基于 Whisper 的快速音频转录。当配置为媒体理解提 ``` - - | Property | Value | + + | 属性 | 值 | |----------|-------| | 共享配置路径 | `tools.media.audio` | - | 默认基础 URL | `https://api.groq.com/openai/v1` | - | 默认模型 | `whisper-large-v3-turbo` | - | API 端点 | 兼容 OpenAI 的 `/audio/transcriptions` | + | 默认基础 URL | `https://api.groq.com/openai/v1` | + | 默认模型 | `whisper-large-v3-turbo` | + | API 端点 | OpenAI 兼容 `/audio/transcriptions` | - - 如果 Gateway 网关以守护进程方式运行(launchd/systemd),请确保 `GROQ_API_KEY` 对该进程可用(例如放在 `~/.openclaw/.env` 中,或通过 `env.shellEnv`)。 + + 如果 Gateway 网关 以守护进程(launchd/systemd)运行,请确保 `GROQ_API_KEY` 可供该进程使用(例如在 `~/.openclaw/.env` 中,或通过 `env.shellEnv`)。 - 仅在交互式 shell 中设置的密钥,对由守护进程管理的 Gateway 网关进程不可见。要实现持久可用,请使用 `~/.openclaw/.env` 或 `env.shellEnv` 配置。 + 仅在你的交互式 shell 中设置的密钥,对守护进程管理的 Gateway 网关 进程不可见。使用 `~/.openclaw/.env` 或 `env.shellEnv` 配置以实现持久可用。 @@ -116,16 +116,16 @@ Groq 还提供基于 Whisper 的快速音频转录。当配置为媒体理解提 ## 相关内容 - + 选择提供商、模型引用和故障转移行为。 - + 完整配置 schema,包括提供商和音频设置。 Groq 仪表板、API 文档和定价。 - + 官方 Groq 模型目录。