()
| 1173 | } |
| 1174 | |
| 1175 | func (c *ModelConfig) IsModelURL() bool { |
| 1176 | uri := downloader.URI(c.Model) |
| 1177 | return uri.LooksLikeURL() |
| 1178 | } |
| 1179 | |
| 1180 | // ModelID returns the identifier used to reference this model across the |
| 1181 | // system: the configured Name, falling back to Model when Name is empty. |
no test coverage detected