Skip to content

Commit

Permalink
fix: default to fast mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhayujie committed Jul 31, 2023
1 parent 01e0293 commit ca916b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/linkai/midjourney.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def _fetch_mode(self, prompt) -> str:
mode = self.config.get("mode")
if "--relax" in prompt or mode == TaskMode.RELAX.value:
return TaskMode.RELAX.value
return mode or TaskMode.RELAX.value
return mode or TaskMode.FAST.value

def _run_loop(self, loop: asyncio.BaseEventLoop):
"""
Expand Down

0 comments on commit ca916b7

Please sign in to comment.