AOSSIE-Org / AOSSIE-Org/DebateAI

Bot Discards Valid Arguments Containing the Word "Clarify"

Ouverte
#295 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
84
Forks
198
Merge moyen
2 j 19 h
PR mergées (30 j)
30

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.