Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Dec 3, 2025

What does this PR do?

It avoids model_limit KeyError while trying to get embedding models for Watsonx

Closes #4059

Test Plan

Start server with watsonx distro:

llama stack list-deps watsonx | xargs -L1 uv pip install
uv run llama stack run watsonx

Run

client = LlamaStackClient(base_url=base_url)
client.models.list()

Check if there is any embedding model available (currently there is not a single one)


This is an automatic backport of pull request #4060 done by Mergify.

# What does this PR do?
It avoids model_limit KeyError while trying to get embedding models for
Watsonx

<!-- If resolving an issue, uncomment and update the line below -->
Closes #4059

## Test Plan
<!-- Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.* -->
Start server with watsonx distro:
```bash
llama stack list-deps watsonx | xargs -L1 uv pip install
uv run llama stack run watsonx
```
Run
```python
client = LlamaStackClient(base_url=base_url)
client.models.list()
```
Check if there is any embedding model available (currently there is not
a single one)

(cherry picked from commit 07c28cd)
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 3, 2025
@leseb leseb merged commit 0899f78 into release-0.3.x Dec 3, 2025
21 checks passed
@leseb leseb deleted the mergify/bp/release-0.3.x/pr-4060 branch December 3, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants