baml icon indicating copy to clipboard operation
baml copied to clipboard

[bug] Image path is incorrect in Windows

Open hzqjyyx opened this issue 1 year ago • 2 comments

Product

VS Code Playground

Describe the bug

Hi team, I am using windows and find strange issue when using playground + images

screenshot {
    file "./screenshot.png"
    media_type "image/png"
}

I suppose the screenshot.png should be placed in the same dir of the baml file. But it seems refer to the root dir. That makes the playground hard to use

I try to use 0.200.0/0.201.0/0.90.0, all failed with the same issue

Reproduction Steps

Here are the screenshot for repro

Image Image

BAML Version

0.200.0

Language/Framework

Python

LLM Provider

None

LLM Model

No response

Operating System

Windows

Browser

None

Code Editor

Cursor

hzqjyyx avatar Jul 10 '25 16:07 hzqjyyx

This is fixed in 0.206.0+

aaronvg avatar Sep 13 '25 23:09 aaronvg