Skip to content

Commit d03bd2d

Browse files
committed
chore(ui): better ui
1 parent 0712564 commit d03bd2d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

AgentCrew/modules/gui/widgets/configs/agent_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,12 @@ def init_ui(self):
186186

187187
self.system_prompt_input = QTextEdit()
188188
self.system_prompt_input.setMinimumHeight(200)
189+
self.system_prompt_input.setAcceptRichText(False)
189190

190191
local_agent_layout.addLayout(local_form_layout)
191192
local_agent_layout.addWidget(tools_group)
192193
local_agent_layout.addWidget(QLabel("System Prompt:"))
193-
local_agent_layout.addWidget(self.system_prompt_input)
194+
local_agent_layout.addWidget(self.system_prompt_input, 1)
194195
local_agent_layout.addStretch()
195196

196197
# Remote Agent Editor Widget

AgentCrew/modules/gui/widgets/message_bubble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def start_streaming(self):
301301
self.raw_text_buffer = ""
302302
self.character_queue = []
303303

304-
self.message_label.setTextFormat(Qt.TextFormat.MarkdownText)
304+
self.message_label.setTextFormat(Qt.TextFormat.PlainText)
305305
self.message_label.setText("")
306306

307307
def add_streaming_chunk(self, chunk_queue: list):

0 commit comments

Comments
 (0)