https://www.boundaryml.com logo
🟡 Building a coding agent with support for variou...
# questions
j
I'm building your typical coding agent for learning purposes, and I've got support for several models with a
/models
slash command and several baml clients across openai, ant, lmstudio, etc. How do I find the list of clients and their respective models in the
baml_client
folder? Haven't been able to find it yet poking around in
baml_client/
. For example, it would be cool to do something like
{client.options.model: client for client in b.clients}
or something like that to populate my
/models
selector.
a
We have a [
ClientRegistry
](https://docs.boundaryml.com/ref/baml_client/client-registry#clientregistry-interface) that you can use to define clients at runtime, but unfortunately it doesn't have a
list_clients()
method yet. We're working on solving that problem.