mirror of
https://github.com/ollama/ollama.git
synced 2026-08-31 07:45:09 +00:00
launch: remove warning for default policy (#14830)
This commit is contained in:
parent
abf8e8e9c8
commit
870599f5da
1 changed files with 1 additions and 1 deletions
|
|
@ -313,9 +313,9 @@ func LaunchIntegration(ctx context.Context, req IntegrationLaunchRequest) error
|
|||
}
|
||||
|
||||
var policy LaunchPolicy
|
||||
// TUI does not set a policy, whereas ollama launch <app> does as it can have flags which change the behavior
|
||||
if req.Policy == nil {
|
||||
policy = defaultLaunchPolicy(isInteractiveSession(), false)
|
||||
fmt.Fprintln(os.Stderr, "Launch policy not found from request, using default")
|
||||
} else {
|
||||
policy = *req.Policy
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue