openclaw - ✅(Solved) Fix [Feature]: Document MiniMax TTS environment variables (MINIMAX_TTS_MODEL, MINIMAX_TTS_VOICE_ID) [3 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#65866Fetched 2026-04-14 05:39:50
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
cross-referenced ×3

Document the MINIMAX_TTS_MODEL and MINIMAX_TTS_VOICE_ID environment variables in docs/providers/minimax.md. These are read by the MiniMax speech provider to customize TTS model and voice selection, but neither is documented on the provider page.

Root Cause

Document the MINIMAX_TTS_MODEL and MINIMAX_TTS_VOICE_ID environment variables in docs/providers/minimax.md. These are read by the MiniMax speech provider to customize TTS model and voice selection, but neither is documented on the provider page.

Fix Action

Fixed

PR fix notes

PR #65878: docs(minimax): add speech environment override guidance

Description (problem / solution / changelog)

Summary

  • fixes #65866
  • document MiniMax speech-related environment overrides in provider docs

Why

The speech provider supports MINIMAX_TTS_MODEL and MINIMAX_TTS_VOICE_ID, but docs/providers/minimax.md did not mention them, making non-default speech setup hard to discover.

Changes

  • docs/providers/minimax.md
    • add Speech environment overrides section
    • document MINIMAX_API_HOST, MINIMAX_TTS_MODEL, and MINIMAX_TTS_VOICE_ID
    • clarify config resolution order

Validation

  • pnpm check:no-conflict-markers

Notes

  • docs-only change
  • local validation passed before PR creation

Made with Cursor

Changed files

  • docs/providers/minimax.md (modified, +13/-0)

PR #65931: docs(minimax): add speech environment override guidance

Description (problem / solution / changelog)

Summary

  • fixes #65866
  • add MiniMax speech environment override docs (MINIMAX_API_HOST, MINIMAX_TTS_MODEL, MINIMAX_TTS_VOICE_ID)

Changes

  • docs/providers/minimax.md
    • add Speech environment overrides section
    • clarify resolution order

Validation

  • pnpm check:no-conflict-markers

Notes

  • docs-only update
  • local validation passed

Made with Cursor

Changed files

  • docs/providers/minimax.md (modified, +13/-0)

PR #65944: docs(minimax): add speech environment override guidance

Description (problem / solution / changelog)

Summary

  • fixes #65866
  • document MiniMax speech environment overrides used by runtime

Why

Speech runtime already reads these env values, but provider docs were missing this guidance.

Changes

  • docs/providers/minimax.md
    • add Speech environment overrides section for:
      • MINIMAX_API_HOST
      • MINIMAX_TTS_MODEL
      • MINIMAX_TTS_VOICE_ID
    • include fallback resolution order

Validation

  • pnpm check:no-conflict-markers

Notes

  • docs-only update
  • local validation passed

Made with Cursor

Changed files

  • docs/providers/minimax.md (modified, +13/-0)

Code Example

// extensions/minimax/speech-provider.ts
const model = process.env.MINIMAX_TTS_MODEL || defaultModel;
const voiceId = process.env.MINIMAX_TTS_VOICE_ID || defaultVoice;
const apiHost = process.env.MINIMAX_API_HOST || "https://api.minimax.chat";

---

$ rg "MINIMAX_TTS_MODEL|MINIMAX_TTS_VOICE_ID" docs/providers/minimax.md
(no matches)
RAW_BUFFERClick to expand / collapse

Summary

Document the MINIMAX_TTS_MODEL and MINIMAX_TTS_VOICE_ID environment variables in docs/providers/minimax.md. These are read by the MiniMax speech provider to customize TTS model and voice selection, but neither is documented on the provider page.

Problem to solve

Users who want to customize MiniMax text-to-speech behavior (e.g., selecting a different voice or model variant) have no documentation for the MINIMAX_TTS_MODEL and MINIMAX_TTS_VOICE_ID environment variables. The code in extensions/minimax/speech-provider.ts (lines 47-56, 207-211) reads these variables, but docs/providers/minimax.md does not mention them.

The existing MiniMax docs page covers API keys, web search configuration, and model lists, but omits TTS customization entirely.

Proposed solution

Add a "Text-to-Speech configuration" subsection to docs/providers/minimax.md that documents:

VariableDefaultDescription
MINIMAX_TTS_MODEL(provider default)Override the TTS model used for speech synthesis
MINIMAX_TTS_VOICE_ID(provider default)Override the voice ID for speech output
MINIMAX_API_HOSThttps://api.minimax.chatOverride the API endpoint (also affects TTS requests)

Alternatives considered

  • Documenting only in code comments — insufficient for non-developer users who want to customize voice output.
  • Adding a separate TTS docs page — unnecessary; a subsection in the existing MiniMax provider page is sufficient.

Impact

  • Affected: MiniMax users who use speech/TTS features
  • Severity: Low (documentation gap, feature works with defaults)
  • Frequency: Whenever a user wants non-default TTS voice or model
  • Consequence: Users cannot discover or customize TTS behavior without reading source code

Evidence/examples

Code reads the env vars:

// extensions/minimax/speech-provider.ts
const model = process.env.MINIMAX_TTS_MODEL || defaultModel;
const voiceId = process.env.MINIMAX_TTS_VOICE_ID || defaultVoice;
const apiHost = process.env.MINIMAX_API_HOST || "https://api.minimax.chat";

Docs page — grep returns no matches for TTS-specific env vars:

$ rg "MINIMAX_TTS_MODEL|MINIMAX_TTS_VOICE_ID" docs/providers/minimax.md
(no matches)

Additional information

MINIMAX_API_HOST is partially documented in the web search context but not in the TTS context. It affects both, so it would be helpful to mention its scope in a general "Advanced configuration" section as well.

extent analysis

TL;DR

Add a "Text-to-Speech configuration" subsection to the MiniMax provider documentation page to include details on the MINIMAX_TTS_MODEL and MINIMAX_TTS_VOICE_ID environment variables.

Guidance

  • Review the proposed solution and add the suggested subsection to docs/providers/minimax.md with the specified table detailing the environment variables.
  • Ensure the documentation clearly explains the purpose and default values of MINIMAX_TTS_MODEL and MINIMAX_TTS_VOICE_ID.
  • Consider adding a note about the scope of MINIMAX_API_HOST in a general "Advanced configuration" section, as it affects both web search and TTS requests.
  • Verify the documentation update by searching for the environment variable names in the updated docs/providers/minimax.md file to ensure they are properly documented.

Example

// Example of how the environment variables are used in the code
const model = process.env.MINIMAX_TTS_MODEL || defaultModel;
const voiceId = process.env.MINIMAX_TTS_VOICE_ID || defaultVoice;

Notes

The provided issue focuses on documenting environment variables for customizing text-to-speech behavior in the MiniMax speech provider. The solution involves updating the documentation page to include these variables, which should resolve the issue for users seeking to customize TTS settings.

Recommendation

Apply the proposed workaround by adding the "Text-to-Speech configuration" subsection to the MiniMax provider documentation, as it directly addresses the documentation gap and provides users with the necessary information to customize TTS behavior.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - ✅(Solved) Fix [Feature]: Document MiniMax TTS environment variables (MINIMAX_TTS_MODEL, MINIMAX_TTS_VOICE_ID) [3 pull requests, 1 participants]