mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
add verbose mode to the show command (#9640)
Add metadata and tensor information to the show command to be able to see more information about a model. This outputs the same data as shown on the model details page on ollama.com
This commit is contained in:
parent
80c7ce381b
commit
4bed739259
6 changed files with 130 additions and 19 deletions
|
@ -347,7 +347,7 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {
|
|||
|
||||
switch args[1] {
|
||||
case "info":
|
||||
_ = showInfo(resp, os.Stderr)
|
||||
_ = showInfo(resp, false, os.Stderr)
|
||||
case "license":
|
||||
if resp.License == "" {
|
||||
fmt.Println("No license was specified for this model.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue