IsCloudProfile reports whether a profile's context_size is server-managed.
(name string)
| 43 | } |
| 44 | |
| 45 | // IsCloudProfile reports whether a profile's context_size is server-managed. |
| 46 | func IsCloudProfile(name string) bool { |
| 47 | _, ok := cloudProfileNames[name] |
| 48 | return ok |
| 49 | } |
| 50 | |
| 51 | // managedProfiles are seeded on first run: a local Ollama target and the |