mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
update messages (#156)
* update messages * Update opendevin/action/agent.py Co-authored-by: Robert Brennan <accounts@rbren.io> * Update opendevin/action/agent.py Co-authored-by: Robert Brennan <accounts@rbren.io> --------- Co-authored-by: Hesham Haroon <heshamharoon@Heshams-MacBook-Pro.local> Co-authored-by: Robert Brennan <accounts@rbren.io>
This commit is contained in:
@@ -19,7 +19,8 @@ class AgentRecallAction(ExecutableAction):
|
||||
|
||||
@property
|
||||
def message(self) -> str:
|
||||
return f"Recalling memories with query: {self.query}"
|
||||
return f"Let me dive into my memories to find what you're looking for! Searching for: '{self.query}'. This might take a moment."
|
||||
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -32,7 +33,8 @@ class AgentThinkAction(NotExecutableAction):
|
||||
|
||||
@property
|
||||
def message(self) -> str:
|
||||
return f"Thinking: {self.thought}"
|
||||
return self.thought
|
||||
|
||||
|
||||
@dataclass
|
||||
class AgentEchoAction(ExecutableAction):
|
||||
@@ -44,7 +46,8 @@ class AgentEchoAction(ExecutableAction):
|
||||
|
||||
@property
|
||||
def message(self) -> str:
|
||||
return f"Echoing: {self.content}"
|
||||
return self.content
|
||||
|
||||
|
||||
@dataclass
|
||||
class AgentFinishAction(NotExecutableAction):
|
||||
@@ -55,4 +58,4 @@ class AgentFinishAction(NotExecutableAction):
|
||||
|
||||
@property
|
||||
def message(self) -> str:
|
||||
return "Finished!"
|
||||
return "All done! What's next on the agenda?"
|
||||
|
||||
Reference in New Issue
Block a user