AOSSIE-Org / AOSSIE-Org/DebateAI
Bot Discards Valid Arguments Containing the Word "Clarify"
- 主要语言
- TypeScript
- 星标
- 84
- 派生
- 198
- 平均合并
- 2 天 19 小时
- 30 天内合并 PR
- 30
描述
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.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。