Make give_user_input async (#584)
The only callsite in gui.py expects this to be async or return a coroutine.
This commit is contained in:
parent
570f61de5a
commit
ef459463e6
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ class Autopilot(ContinueBaseModel):
|
|||
for callback in self._on_update_callbacks:
|
||||
await callback(full_state)
|
||||
|
||||
def give_user_input(self, input: str, index: int):
|
||||
async def give_user_input(self, input: str, index: int):
|
||||
self._user_input_queue.post(str(index), input)
|
||||
|
||||
async def wait_for_user_input(self) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue