# NousResearch/hermes-agent · TTS config.yaml API key/URL not being read

## Open now

- Nothing open on GitHub.

A bug where the TTS subsystem ignores \`tts.openai.api_key\` and \`tts.openai.base_url\` set in config.yaml, preventing config-only setups from reaching self-hosted endpoints. Multiple fix attempts address reading these values from config before falling back to environment variables.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #73512. Verify it addresses your case.
- **Recommended:** read PR #73512 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-73512`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #26175: TTS tool ignores \`tts.openai.api_key\` / \`tts.openai.base_url\` in \`config.yaml\` — config-only setups cannot reach self-hosted endpoints

## Prior & competing PRs

- **#73512: fix(tts): honor config.yaml endpoints across all providers + bounded upstream buffering**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `tests/tools/test_tts_model_cache_lru.py`, `tests/tools/test_tts_openai_config.py`, `tests/tools/test_tts_provider_base_urls.py`, `tests/tools/test_tts_response_body_cap.py`, `tests/tools/test_tts_streaming.py`, `tests/tools/test_tts_xai_speech_tags.py`, `tools/tts_streaming.py`, `tools/tts_tool.py`
- **#26209: fix(tts): read tts.openai.api_key/base_url from config.yaml before env vars**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `b53ba0e18`
- **#26218: fix(tts): read tts.openai.api_key/base_url from config.yaml before env vars**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#26209`, `#13888`, `#4209`, `#26175`
- **#26233: fix(tts): honor config-only OpenAI audio endpoints**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#13888`, `#4209`, `#26209`, `#26175`

## Fix status

- Merged to main in PR #73512 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-28`.
- Subsystem: `agent`
