fix: autoqa requirements.txt (#5812)
This commit is contained in:
parent
c550f6cf0d
commit
b7b3eb9d19
@ -1,18 +1,18 @@
|
|||||||
# Core dependencies
|
# Core dependencies
|
||||||
cua-computer[all]>=0.3.5
|
cua-computer[all]~=0.3.5
|
||||||
cua-agent[all]>=0.3.0
|
cua-agent[all]~=0.3.0
|
||||||
cua-agent @ git+https://github.com/menloresearch/cua.git@compute-agent-0.3.0-patch#subdirectory=libs/python/agent
|
cua-agent @ git+https://github.com/menloresearch/cua.git@compute-agent-0.3.0-patch#subdirectory=libs/python/agent
|
||||||
|
|
||||||
# ReportPortal integration
|
# ReportPortal integration
|
||||||
reportportal-client>=5.6.5
|
reportportal-client~=5.6.5
|
||||||
|
|
||||||
# Screen recording and automation
|
# Screen recording and automation
|
||||||
opencv-python>=4.12.0
|
opencv-python~=4.10.0
|
||||||
numpy>=2.2.6
|
numpy~=2.2.6
|
||||||
PyAutoGUI>=0.9.54
|
PyAutoGUI~=0.9.54
|
||||||
|
|
||||||
# System utilities
|
# System utilities
|
||||||
psutil>=7.0.0
|
psutil~=7.0.0
|
||||||
|
|
||||||
# Server component
|
# Server component
|
||||||
cua-computer-server>=0.1.19
|
cua-computer-server~=0.1.19
|
||||||
@ -1,13 +1,13 @@
|
|||||||
prompt = """
|
prompt = """
|
||||||
You are going to test the Jan application by downloading and chatting with a model (qwen2.5).
|
You are going to test the Jan application by downloading and chatting with a model (bitcpm4).
|
||||||
|
|
||||||
Step-by-step instructions:
|
Step-by-step instructions:
|
||||||
1. Given the Jan application is already opened.
|
1. Given the Jan application is already opened.
|
||||||
2. In the **bottom-left corner**, click the **“Hub”** menu item.
|
2. In the **bottom-left corner**, click the **“Hub”** menu item.
|
||||||
3. Scroll through the model list or use the search bar to find **qwen2.5**.
|
3. Scroll through the model list or use the search bar to find **bitcpm4**.
|
||||||
4. Click **“Use”** on the qwen2.5 model.
|
4. Click **“Use”** on the bitcpm4 model.
|
||||||
5. Wait for the model to finish downloading and become ready.
|
5. Wait for the model to finish downloading and become ready.
|
||||||
6. Once redirected to the chat screen, type any message into the input box (e.g. `Hello qwen2.5`).
|
6. Once redirected to the chat screen, type any message into the input box (e.g. `Tell me 5 words about you`).
|
||||||
7. Press **Enter** to send the message.
|
7. Press **Enter** to send the message.
|
||||||
8. Wait for the model’s response.
|
8. Wait for the model’s response.
|
||||||
|
|
||||||
|
|||||||
@ -279,8 +279,8 @@ def start_jan_app(jan_app_path=None):
|
|||||||
|
|
||||||
# Wait a bit more after maximizing
|
# Wait a bit more after maximizing
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
logger.info("Jan application should be ready")
|
logger.info("Jan application should be ready, waiting for additional setup...")
|
||||||
time.sleep(10) # Additional wait to ensure everything is ready
|
time.sleep(120) # Additional wait to ensure everything is ready
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error starting Jan application: {e}")
|
logger.error(f"Error starting Jan application: {e}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user