Skip to content
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

[BT-932] [BT-891] Update load_model and load_spec references to use repository util #52

Merged
merged 4 commits into from
Nov 10, 2024

Conversation

niole
Copy link
Contributor

@niole niole commented Nov 9, 2024

No description provided.

@feynmanliang feynmanliang marked this pull request as ready for review November 9, 2024 19:43
@feynmanliang feynmanliang self-requested a review November 9, 2024 19:43
@feynmanliang feynmanliang changed the title Update load_model and load_spec references to use repository util [BT-932] [BT-891] Update load_model and load_spec references to use repository util Nov 9, 2024
Copy link
Contributor

@feynmanliang feynmanliang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add tests which (1) check that HF creds are used by invoke and (2) checks that invoke returns a meaningful error message when invoked with an invalid OPENAI_API_KEY?

You may need to mock the external API calls which can be done with https://hexdocs.pm/hammox/readme.html

@feynmanliang
Copy link
Contributor

Let's follow up in BT-960

@feynmanliang feynmanliang merged commit 3fc626b into fmops:main Nov 10, 2024
1 check passed
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