prompt read from stdin
This commit is contained in:
@@ -144,7 +144,7 @@ async def do_async_turn(conf):
|
||||
|
||||
def main():
|
||||
conf = parse_args()
|
||||
if conf.prompt == "-"
|
||||
if conf.prompt == "-":
|
||||
conf.prompt = sys.stdin.read()
|
||||
if conf.prompt:
|
||||
write(f"[{str(bb.model)}]Ask {conf.model}»[/] [{str(bb.prompt)}]{conf.prompt}[/]")
|
||||
|
||||
Reference in New Issue
Block a user