mirror of
https://github.com/Zippland/Snap-Solver.git
synced 2026-02-25 08:58:21 +08:00
完善截图和分析流程
This commit is contained in:
@@ -132,7 +132,7 @@ class GPT4oModel(BaseModel):
|
||||
{
|
||||
"type": "image_url",
|
||||
"image_url": {
|
||||
"url": f"data:image/png;base64,{image_data}",
|
||||
"url": image_data if image_data.startswith('data:') else f"data:image/png;base64,{image_data}",
|
||||
"detail": "high"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user