Skip to content

Fix first-run microphone configuration - #11

Open
felixvippp-ai wants to merge 1 commit into
dot-Justin:mainfrom
felixvippp-ai:codex/startup-config-fix
Open

Fix first-run microphone configuration#11
felixvippp-ai wants to merge 1 commit into
dot-Justin:mainfrom
felixvippp-ai:codex/startup-config-fix

Conversation

@felixvippp-ai

Copy link
Copy Markdown

Closes #7
/claim #7

Summary:

  • Load the microphone config from the repository root by default and support BONZI_MIC_CONFIG for custom paths.
  • Accept legacy mic_config.json files that use mic_index and normalize them to device_index.
  • Lazy-load PyAudio plus the LLM/TTS helpers so first-run microphone setup is not blocked before configuration.
  • Document the first-run setup flow and root mic_config.json location.
  • Add unittest coverage for missing config, legacy config compatibility, and save path creation.

Verification:

  • python -m unittest tests.test_mic_config -v
  • python -m py_compile main.py helpers/mic.py helpers/llm.py helpers/tts.py tests/test_mic_config.py

@opirebot

opirebot Bot commented Jun 24, 2026

Copy link
Copy Markdown

👀 We've notified the reward creators here.
Make sure your payment account is ready to receive the payment for your hard work 💪

@felixvippp-ai

felixvippp-ai commented Jun 24, 2026 via email

Copy link
Copy Markdown
Author

@felixvippp-ai

felixvippp-ai commented Jun 24, 2026 via email

Copy link
Copy Markdown
Author

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.

I am confused (help) I did everthing ready but this feels like a flipped slide

1 participant