Skip to content

Refactor configuration loading with dotenv and pydantic-settings#32

Merged
74th merged 3 commits intomainfrom
feat/using-dotenv-for-settings
Apr 7, 2026
Merged

Refactor configuration loading with dotenv and pydantic-settings#32
74th merged 3 commits intomainfrom
feat/using-dotenv-for-settings

Conversation

@74th
Copy link
Copy Markdown
Owner

@74th 74th commented Apr 7, 2026

Summary

This PR modernizes configuration handling across the Python server and example apps by introducing environment-based settings with python-dotenv and pydantic-settings.

What changed

  • Added .env.template and updated setup docs for environment variable configuration.
  • Refactored speech recognition/synthesis configuration paths to use pydantic-settings.
  • Updated multiple example apps to load environment variables via dotenv.
  • Improved and expanded Japanese documentation (setup_ja, server_ja, run_sample_app_ja, firmware_ja).
  • Added documentation notes for Claude Agent SDK file system permissions and marked related sections as WIP.

Impact

  • Configuration is now more explicit and consistent across modules.
  • Local setup should be easier and less error-prone with standardized .env-based settings.

Notes

  • This branch currently contains 23 changed files and includes both implementation and documentation updates.

@74th 74th merged commit 3da712c into main Apr 7, 2026
1 check passed
@74th 74th deleted the feat/using-dotenv-for-settings branch April 7, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant