Skip to content

Commit

Permalink
log fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-Robusta committed Dec 1, 2024
1 parent 33d6e5b commit 9020688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robusta/core/playbooks/internal/ai_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def build_conversation_title(params: HolmesConversationParams) -> str:
def add_labels_to_ask(params: HolmesConversationParams) -> str:
label_string = f"the alert has the following labels: {params.context.get('labels')}" if params.context.get("labels") else ""
ask = f"{params.ask}, {label_string}" if label_string else params.ask
logging.warning(f"holmes ask query: {ask}")
logging.debug(f"holmes ask query: {ask}")
return ask


Expand Down

0 comments on commit 9020688

Please # to comment.