[GH-ISSUE #14549] combine --experimental-yolo with non-interactive command-line prompts #71499

Open
opened 2026-05-05 01:55:11 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Orbiter on GitHub (Mar 2, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14549

I want to do i.e.

ollama run --experimental-yolo <model> "make a git diff and write a commit message"

but tools are not available in non-interactive mode.
If this would work, it would require to be combined with --experimental-yolo since --experimental would make the process interactive again, and this targets non-interactive requests.

With the construction as described here we could script a lot of useful non-interactive tools.

Originally created by @Orbiter on GitHub (Mar 2, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14549 I want to do i.e. ``` ollama run --experimental-yolo <model> "make a git diff and write a commit message" ``` but tools are not available in non-interactive mode. If this would work, it would require to be combined with --experimental-yolo since --experimental would make the process interactive again, and this targets non-interactive requests. With the construction as described here we could script a lot of useful non-interactive tools.
GiteaMirror added the feature request label 2026-05-05 01:55:11 -05:00
Author
Owner

@Harvie commented on GitHub (Mar 4, 2026):

Yes, please make --experimental-yolo work in non-interactive mode.

I am trying to get this to work in gitlab CI/CD pipeline and it has no access to files:

ollama:
  image:
    name: ollama/ollama
    entrypoint: [""]
  variables:
    MODEL: llama3.2:1b
  script:
    - ollama serve > ollama.log 2>&1 &
    - sleep 5
    - ollama pull ${MODEL}
    - ollama run ${MODEL} "Write me a haiku about Linux."
    - ollama run ${MODEL} --experimental --experimental-yolo "Give me brief overview of all files in this repo and their use"
  artifacts:
    paths:
      - ./*.log
<!-- gh-comment-id:3997696287 --> @Harvie commented on GitHub (Mar 4, 2026): Yes, please make --experimental-yolo work in non-interactive mode. I am trying to get this to work in gitlab CI/CD pipeline and it has no access to files: ```YAML ollama: image: name: ollama/ollama entrypoint: [""] variables: MODEL: llama3.2:1b script: - ollama serve > ollama.log 2>&1 & - sleep 5 - ollama pull ${MODEL} - ollama run ${MODEL} "Write me a haiku about Linux." - ollama run ${MODEL} --experimental --experimental-yolo "Give me brief overview of all files in this repo and their use" artifacts: paths: - ./*.log ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#71499