Skip to content

Commit 4ac48f5

Browse files
halskclaude
andauthored
Fix/install slack client (#289)
* Fix #238: Filter system messages in Slack channel analysis This commit addresses issue #238 by filtering out system messages like 'user joined the channel' notifications and empty messages before sending data to the LLM for analysis. This improves the quality of analysis results in channels that primarily contain system messages rather than actual conversation content. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * fix module dependencies --------- Co-authored-by: Claude <[email protected]>
1 parent 276afe7 commit 4ac48f5

File tree

3 files changed

+516
-0
lines changed

3 files changed

+516
-0
lines changed

backend/scripts/run_analysis.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
from app.models.integration import Integration
3535
from app.models.reports.cross_resource_report import CrossResourceReport, ResourceAnalysis
36+
from app.models.reports import AnalysisType
3637
from app.models.slack import SlackChannel, SlackMessage, SlackUser, SlackWorkspace
3738
from app.services.analysis.slack_channel import SlackChannelAnalysisService
3839
from app.services.llm.openrouter import OpenRouterService

0 commit comments

Comments
 (0)