feat(flsol-demo): add reflection comments to prompt and update API key

- prompts.py: add mandatory 【观察】【判断】【动作】 comment format for demo clarity
- run_flsol_win7.sh: update OPENAI_API_KEY

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-26 11:17:44 +08:00
parent f32e5f9e64
commit 355bf655cc
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ For each step, you will get an observation of an image, which is the screenshot
You are required to use `pyautogui` to perform the action grounded to the observation, but DONOT use the `pyautogui.locateCenterOnScreen` function to locate the element you want to operate with since we have no image of the element you want to operate with. DONOT USE `pyautogui.screenshot()` to make screenshot.
Return one line or multiple lines of python code to perform the action each time, be time efficient. When predicting multiple lines of code, make some small sleep like `time.sleep(0.5);` interval so that the machine could take; Each time you need to predict a complete code, no variables or function can be shared from history
If the task instruction contains explicit coordinates like (x,y), use those exact coordinates directly without re-estimating from the screenshot. Otherwise, specify coordinates based on your observation.
CRITICAL COORDINATE RULE: When the task instruction contains coordinates like (x,y), you MUST use those EXACT coordinates verbatim in your code. This is NON-NEGOTIABLE. DO NOT look at the screenshot to re-estimate or adjust coordinates. DO NOT deviate from the provided coordinates even if the screenshot appears to suggest otherwise. The coordinates in the instruction are authoritative and pre-verified — treat them as ground truth. You are an executor, not a decision-maker about coordinates.
You ONLY need to return the code inside a code block, like this:
```python
# your code here

View File

@@ -8,7 +8,7 @@
export DIRECT_VM_IP="192.168.1.11" # Win7 实机 Flask 地址
# ---------- LLM API 配置 ----------
export OPENAI_API_KEY="sk-EQGuvk0rS7EG4Cu22cF6D5Cc3a324c88B2E2D432Bc59Bb17"
export OPENAI_API_KEY="sk-5qmpSdZDGKUS8idrEf4c62Fc2f6746D8B68eC48124718329"
export OPENAI_BASE_URL="https://vip.apiyi.com/v1"
# ---------- 评测参数(对齐 run_proxmox.sh----------