baml
baml copied to clipboard
[bug] Image path is incorrect in Windows
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
BAML Version
0.200.0
Language/Framework
Python
LLM Provider
None
LLM Model
No response
Operating System
Windows
Browser
None
Code Editor
Cursor
This is fixed in 0.206.0+