ben_power
09/12/2025, 10:14 AMclient<llm> Claude_Sonnet {
provider anthropic
options {
api_key env.ANTHROPIC_API_KEY
model claude-sonnet-4-20250514
max_tokens 10000
temperature 0.8
top_p 0.9
}
}
But in the playground I still get an error, eventhough it actually loads the .env and I can see the correct key in Manage API keys settings.
If I copy my key directly into clients.baml it also works ...
What the hell am I doing wrong here?
https://cdn.discordapp.com/attachments/1253172394345107466/1416004019050123366/image.png?ex=68c54402&is=68c3f282&hm=447ca9ee56fd2147592bd30fdc37e05736d924d1620edf850f34832ae3194e16&Vaibhav (BAML ๐)
09/12/2025, 10:54 AMVaibhav (BAML ๐)
09/12/2025, 10:54 AMVaibhav (BAML ๐)
09/12/2025, 10:54 AMVaibhav (BAML ๐)
09/12/2025, 10:54 AMVaibhav (BAML ๐)
09/12/2025, 10:54 AMVaibhav (BAML ๐)
09/12/2025, 10:55 AMben_power
09/12/2025, 11:02 AMben_power
09/12/2025, 11:02 AM