Skip to content

Resolve mapping IDs automatically to new HF endpoint #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2025

Conversation

lucataco
Copy link
Contributor

This PR resolves mapping IDs automatically from the new HF endpoint API response

Goal: to keep models.ts clean with just hfModel and providerModel and not manually track mappingId
Do this by creating a lookup map for to map each mappingId to an hfModel

Now npm start works without errors

@lucataco lucataco requested a review from zeke August 15, 2025 16:41
@zeke zeke merged commit 8003a05 into main Aug 15, 2025
@zeke
Copy link
Member

zeke commented Aug 15, 2025

Nice work. Thank you for noticing it was busted!

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.

2 participants