AOSSIE-Org / AOSSIE-Org/DebateAI

Bot Discards Valid Arguments Containing the Word "Clarify"

Offen
#295 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
84
Forks
198
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
30

Beschreibung

Description
The bot response handler aggressively filters the AI's output. If the bot's generated response contains the substring "clarify" anywhere in the text—even if used legitimately (e.g., "Let me clarify my point")—the system discards the entire argument and replaces it with a generic, canned "I don't understand" message.

How to Reproduce
1. Start a debate with any bot.
2. Make a statement that requires the bot to explain a distinction.
3. If the bot attempts to say: "To clarify, the economic impact of X is..."
4. The user will instead receive: "What do you mean?" or the bot's specific clarification catchphrase.

Root cause
In debatevsbot.go:
```
if strings.Contains(strings.ToLower(response), "clarify") {
return personalityClarificationRequest(botName)
}
```

This logic is too broad and does not distinguish between the bot asking for clarification vs. providing clarification.

Expected Behavior
The bot should only send a clarification request if it genuinely cannot generate an argument. Valid arguments containing the word "clarify" should be delivered to the user.

Potential Fixes
- Remove the code side check entirely and rely on the LLM prompt to handle confusion.
- Or, change the check to ensure "clarify" is part of a question, or strictly at the start of a short response.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.