-
Notifications
You must be signed in to change notification settings - Fork 0
Remove file-based config loading #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -105,13 +105,13 @@ pip install -e ".[dev]" | |||||
|
|
||||||
| ```bash | ||||||
| # Run with mock connection (for testing) | ||||||
| meshbot test --meshcore-type mock | ||||||
| meshbot test --meshcore-connection-type mock | ||||||
|
|
||||||
| # Run with serial connection | ||||||
| meshbot --meshcore-type serial --meshcore-port /dev/ttyUSB0 | ||||||
| meshbot --meshcore-connection-type serial --meshcore-port /dev/ttyUSB0 | ||||||
|
|
||||||
| # Run with custom prompt file | ||||||
| meshbot --custom-prompt my_prompt.txt --meshcore-type mock | ||||||
| meshbot --custom-prompt my_prompt.txt --meshcore-connection-type mock | ||||||
| ``` | ||||||
|
|
||||||
| ### Environment Variables | ||||||
|
|
@@ -153,7 +153,7 @@ Run with the custom prompt: | |||||
|
|
||||||
| ```bash | ||||||
| # Via command line | ||||||
| meshbot --custom-prompt my_prompt.txt --meshcore-type mock | ||||||
| meshbot --custom-prompt my_prompt.txt --meshcore-connection-type mock | ||||||
|
|
||||||
| # Via environment variable | ||||||
| export CUSTOM_PROMPT_FILE=my_prompt.txt | ||||||
|
|
@@ -192,7 +192,7 @@ meshbot | |||||
|
|
||||||
| 4. **Configuration** (`config.py`) | ||||||
| - Environment-based configuration | ||||||
| - JSON file support | ||||||
| - Command-line argument overrides | ||||||
| - Validation | ||||||
|
|
||||||
| ### Message Handling | ||||||
|
|
@@ -236,48 +236,13 @@ Sent as: | |||||
|
|
||||||
| ```bash | ||||||
| # Interactive testing with mock MeshCore | ||||||
| meshbot test --meshcore-type mock | ||||||
| meshbot test --meshcore-connection-type mock | ||||||
|
||||||
| meshbot test --meshcore-connection-type mock | |
| meshbot test user1 "Hello!" --meshcore-connection-type mock |
Copilot
AI
Nov 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test command requires two positional arguments (FROM_ID and MESSAGE), but this example only shows the optional flags. The correct syntax should be:
meshbot test user1 "Hello!" --custom-prompt debug_prompt.txt -vv --meshcore-connection-type mockThis matches the pattern used in AGENTS.md lines 224-230.
| meshbot test --custom-prompt debug_prompt.txt -vv --meshcore-connection-type mock | |
| meshbot test user1 "Hello!" --custom-prompt debug_prompt.txt -vv --meshcore-connection-type mock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
testcommand requires two positional arguments (FROM_IDandMESSAGE), but this example only shows the optional flags. The correct syntax should be:This matches the pattern used in AGENTS.md lines 224-230.