Skip to content

填写deepseek key后,执行发现错误 #1

@magixmin

Description

@magixmin

File "/Users/mac/web/auto-wing/examples/test_playwright_unittest.py", line 41, in test_01_bing_search
self.ai.ai_action('搜索输入框输入"playwright"关键字,并回车')
File "/Users/mac/anaconda3/envs/magix/lib/python3.12/site-packages/autowing/playwright/fixture.py", line 121, in ai_action
response = self.llm_client.complete(action_prompt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/anaconda3/envs/magix/lib/python3.12/site-packages/autowing/core/llm/deepseek_client.py", line 115, in complete
raise Exception(f"DeepSeek API error: {str(e)}")
Exception: DeepSeek API error: Error code: 402 - {'error': {'message': 'Insufficient Balance', 'type': 'unknown_error', 'param': None, 'code': 'invalid_request_error'}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions