i call ai_page.ai_action('等待Generating response消失')
but /Library/Python/3.9/site-packages/autowing/playwright/fixture.py:142: ValueError
and don.t see it in code
# Perform the action
element = self.page.locator(selector)
if action == 'click':
element.click()
elif action == 'fill':
element.fill(instruction.get('value', ''))
if instruction.get('key'):
element.press(instruction.get('key'))
elif action == 'press':
element.press(instruction.get('key', 'Enter'))
else:
raise ValueError(f"Unsupported action: {action}")
i call ai_page.ai_action('等待Generating response消失')
but /Library/Python/3.9/site-packages/autowing/playwright/fixture.py:142: ValueError
and don.t see it in code
# Perform the action
element = self.page.locator(selector)
if action == 'click':
element.click()
elif action == 'fill':
element.fill(instruction.get('value', ''))
if instruction.get('key'):
element.press(instruction.get('key'))
elif action == 'press':
element.press(instruction.get('key', 'Enter'))
else:
raise ValueError(f"Unsupported action: {action}")