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

update push to use model.Name #4291

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

update push to use model.Name #4291

wants to merge 1 commit into from

Conversation

mxyng
Copy link
Contributor

@mxyng mxyng commented May 9, 2024

follow up to #4290

@mxyng
Copy link
Contributor Author

mxyng commented Jun 4, 2024

reordered this series of prs so push is updated before pull

Copy link
Contributor

@BruceMacD BruceMacD left a 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"
Copy link
Contributor

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.

Copy link
Contributor

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.

Base automatically changed from mxyng/modelname-4 to main June 5, 2024 19:05
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.

None yet

3 participants