forked from phoenix-oss/llama-stack-mirror
model_type=llm for filering available models for playground
This commit is contained in:
parent
2f9fdb0ea7
commit
75e72cf2fc
2 changed files with 2 additions and 6 deletions
|
@ -12,9 +12,7 @@ with st.sidebar:
|
|||
st.header("Configuration")
|
||||
available_models = llama_stack_api.client.models.list()
|
||||
available_models = [
|
||||
model.identifier
|
||||
for model in available_models
|
||||
if model.identifier.startswith("meta-llama")
|
||||
model.identifier for model in available_models if model.model_type == "llm"
|
||||
]
|
||||
selected_model = st.selectbox(
|
||||
"Choose a model",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue