Fix first-run microphone config setup - #12
Open
psremilio wants to merge 2 commits into
Open
Conversation
Author
|
/claim #7 Claiming the Opire reward for this PR. This PR fixes the first-run setup problem by:
Verified locally:
|
|
👀 We've notified the reward creators here. |
Author
|
Follow-up on current head
GitHub currently reports no Actions/check runs for this repo/commit, and PR #12 is mergeable against |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7.
Summary
mic_config.json, with aBONZI_MIC_CONFIGoverride path available for tests or custom installs.mic_indexconfigs as first-run setup instead of crashing or silently using a checked-in per-machine value.mic_config.jsonand ignore local config, env, and Python cache files.helpers/.envexplicitly and clarify the first-run setup/reset steps in the README.Verification
python -m unittest discover -s tests(6 tests)python -Wall -m py_compile main.py helpers\mic.py helpers\llm.py helpers\tts.py tests\test_mic_config.pypython -c "from helpers import mic; print(mic.DEFAULT_CONFIG_FILE); print(mic.load_config())"git diff --check origin/main...HEADI did not run a live microphone smoke test in this environment because PyAudio/audio hardware is not available here.