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

fix: add custom model id #882

Merged
merged 6 commits into from
Jul 15, 2024
Merged

fix: add custom model id #882

merged 6 commits into from
Jul 15, 2024

Conversation

marknguyen1302
Copy link
Contributor

Describe Your Changes

  • add custom model id in download model api
  • fix wrong format in messages,threads,assistants api

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@@ -321,12 +321,14 @@ export class ModelsUsecases {
* @param modelId
*/
async pullModel(
modelId: string,
hfModelId: string,
Copy link
Contributor

Choose a reason for hiding this comment

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

It's not always hfModelId format

@louis-menlo louis-menlo changed the title fix: add custom model id, fix wrong format in messages,threads,assistants api fix: add custom model id Jul 15, 2024
Copy link
Contributor

@louis-menlo louis-menlo left a comment

Choose a reason for hiding this comment

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

LGTM

@marknguyen1302 marknguyen1302 merged commit 4a09e8c into dev Jul 15, 2024
2 checks passed
@marknguyen1302 marknguyen1302 deleted the fix/add-custom-model-id branch July 15, 2024 09:04
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