https://www.boundaryml.com logo
🟡 Running tests with `pnpm exec baml-cli test` fo...
# questions
v
https://docs.boundaryml.com/guide/baml-advanced/checks-and-asserts Can I run related tests using
pnpm exec baml-cli test
to get detailed results of checks and asserts? It seems not possible right now, or have I missed something?
I see, relevant results are only displayed when there is a failure. Another question is whether it supports JSON or XML format output? It's a bit troublesome to organize it now
Can the model be dynamically changed through baml-cli?
client DynamicModel { provider openai-generic options { model env.MODEL_NAME base_url env.MODEL_BASE_URL api_key env.MODEL_API_KEY } }
Copy code
bash
baml-cli test -i "Evaluate*" --dotenv-path .env.qwen
baml-cli can achieve dynamic loading in this way
I found the answer. The settings in baml_log_json can affect the output of baml-cli
g
Nice finds 🙂