MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / user_prompt

Method user_prompt

src/hyperagent/cli/console.py:55–71  ·  view source on GitHub ↗
(self, long=False)

Source from the content-addressed store, hash-verified

53 )
54
55 def user_prompt(self, long=False):
56 if long:
57 return prompt(
58 "> ",
59 multiline=True,
60 history=self.prompt_history,
61 auto_suggest=self.prompt_auto_suggest,
62 style=self.prompt_style,
63 prompt_continuation="> ",
64 )
65 else:
66 return prompt(
67 "You: ",
68 history=self.prompt_history,
69 auto_suggest=self.prompt_auto_suggest,
70 style=self.prompt_style,
71 )
72
73 def prompt(self, text, is_password=False):
74 return prompt(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected