Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Oct 29, 2024
1 parent e53ccd8 commit df7f0b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lumen/ai/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ class SourceAgent(Agent):

_extensions = ('filedropper',)

async def answer(self, messages: list[str]):
async def answer(self, messages: list):
source_controls = SourceControls(multiple=True, replace_controls=True, select_existing=False)
self.interface.send(source_controls, respond=False, user="SourceAgent")
while not source_controls._add_button.clicks > 0:
await asyncio.sleep(0.05)

async def invoke(self, messages: list[str]):
async def invoke(self, messages: list):
await self.answer(messages)


Expand Down

0 comments on commit df7f0b9

Please sign in to comment.