AOSSIE-Org / AOSSIE-Org/DebateAI
Bot Discards Valid Arguments Containing the Word "Clarify"
- Lingua principale
- TypeScript
- Stelle
- 84
- Fork
- 198
- Merge medio
- 2g 19h
- PR unite (30g)
- 30
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.