MCPcopy Index your code
hub / github.com/AmberSahdev/Open-Interface / update_message

Method update_message

app/ui.py:399–408  ·  view source on GitHub ↗
(self, message: str)

Source from the content-addressed store, hash-verified

397 """
398
399 def update_message(self, message: str) -> None:
400 # Update the message display with the provided text.
401 # Ensure thread safety when updating the Tkinter GUI.
402 try:
403 if threading.current_thread() is threading.main_thread():
404 self.message_display['text'] = message
405 else:
406 self.message_display_queue.put(message)
407 except Exception as e:
408 print(f"Error updating message: {e}")
409
410 def process_message_display_queue(self):
411 try:

Callers 2

execute_user_requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected