Skip to content

Conversation

@ariane-emory
Copy link
Owner

DUMMY PR, IGNORE.

franlol and others added 30 commits November 28, 2025 14:41
…odels

- Add safety checks in /provider endpoints before accessing sortedModels[0].id
- Prevent 'undefined is not an object' error when providers have empty models
- Return undefined instead of crashing for providers with no available models
- Fixes both /provider and /provider endpoints with filtering

Fixes error: Provider.sort(Object.values(item.models))[0].id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants