Skip to content

Commit 4c7aba0

Browse files
author
Your Name
committed
fix: Uncomment conversation promotion and ensure agent_name is string
Co-authored-by: cecli (openai/gemini_cli_local/gemini-2.5-pro)
1 parent 5c6936f commit 4c7aba0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

cecli/coders/base_coder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,8 +2921,8 @@ async def process_tool_calls(self, tool_call_response):
29212921
message_dict=tool_response,
29222922
tag=MessageTag.CUR,
29232923
hash_key=(tool_response["tool_call_id"], str(time.monotonic_ns())),
2924-
# promotion=ConversationService.get_manager(self).DEFAULT_TAG_PROMOTION_VALUE,
2925-
# mark_for_demotion=1,
2924+
promotion=ConversationService.get_manager(self).DEFAULT_TAG_PROMOTION_VALUE,
2925+
mark_for_demotion=1,
29262926
)
29272927

29282928
return bool(tool_responses)
@@ -3135,8 +3135,8 @@ async def add_assistant_reply_to_cur_messages(self):
31353135
message_dict=msg,
31363136
tag=MessageTag.CUR,
31373137
hash_key=("assistant_message", str(msg), str(time.monotonic_ns())),
3138-
# promotion=ConversationService.get_manager(self).DEFAULT_TAG_PROMOTION_VALUE,
3139-
# mark_for_demotion=1,
3138+
promotion=ConversationService.get_manager(self).DEFAULT_TAG_PROMOTION_VALUE,
3139+
mark_for_demotion=1,
31403140
)
31413141

31423142
def get_file_mentions(self, content, ignore_current=False):

cecli/tui/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def update_spinner(self, msg, agent_name: str | None = None):
702702
action = msg.get("action", "start")
703703

704704
if action == "start":
705-
footer.start_spinner(msg.get("text", ""), agent_name=agent_name)
705+
footer.start_spinner(msg.get("text", ""), agent_name=agent_name or "")
706706
elif action == "update":
707707
footer.spinner_text = msg.get("text", "")
708708
elif action == "update_suffix":

0 commit comments

Comments
 (0)