-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
update push to use model.Name #4291
base: main
Are you sure you want to change the base?
Conversation
reordered this series of prs so push is updated before pull |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be worth adding some better feedback as to why a model name is invalid before merging this:
❯ ./ollama create localhost:6000/nous-hermes-2-mistral -f /Users/bruce/models/nous-hermes-2-mistral/Modelfile
transferring model data
Error: invalid model name
This is a prime candidate for many people ending up in an issue that isn't related to their specific problem, due to the generic error message.
} | ||
|
||
manifest, _, err := GetManifest(mp) | ||
scheme := "https" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc: @bmizerany
I know you were making changes in this area recently, so just a heads up of the scheme changes here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good. I had a little bridge patch. Landing the fix I had is still fair game, and it looks like this is a winner.
follow up to #4290