Skip to content

Commit 749096d

Browse files
stho32claude
andcommitted
fix: Update bot name consistency in math-bots scenario
- Changed bot name from "CalcBot" to "CalculatorBot" in generator-with-bot.py - Fixed inconsistency between documentation and script - Reformatted long command line in quickstart documentation This ensures the automated example works correctly when following the documentation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4675ea5 commit 749096d

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/scenarios/math-bots/python/generator-with-bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
import time
33

44
print("Math Generator mit Bot-Kommunikation startet...", flush=True)
5-
print("Sende Befehle an CalcBot", flush=True)
5+
print("Sende Befehle an CalculatorBot", flush=True)
66
print("-" * 50, flush=True)
77

88
while True:
99
a = random.randint(1, 10)
1010
b = random.randint(1, 10)
1111

1212
# WICHTIG: Bot-Name muss mit --clientName beim Bot-Start uebereinstimmen!
13-
print(f'/msg CalcBot exec calculate.ps1 "{a} + {b}"', flush=True)
13+
print(f'/msg CalculatorBot exec calculate.ps1 "{a} + {b}"', flush=True)
1414

1515
time.sleep(5)

docs/scenarios/math-bots/quickstart-math-bots.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@ Ausgabe im Observer:
9595
Das Script `python/generator-with-bot.py` sendet automatisch Befehle an den Bot:
9696

9797
```bash
98-
LocalNetAppChat.ConsoleClient emitter \
99-
--server localhost --port 5000 --key "demo" \
100-
--clientName "AutoMath" \
101-
--command "python -u python/generator-with-bot.py"
98+
LocalNetAppChat.ConsoleClient emitter --server localhost --port 5000 --key "demo" --clientName "AutoMath" --command "python -u python/generator-with-bot.py"
10299
```
103100

104101
**Wichtig**: Stellen Sie sicher, dass der Bot (aus Option 2) mit dem Namen "CalcBot" läuft!

0 commit comments

Comments
 (0)