Repository navigation
Closed
Labels
bugSomething isn't working
Description
Describe the Bug
I get AI task failed: No child processes (os error 10) after a few seconds when I try to use agent mode.
Example:
$ flyline set-agent-mode --system-prompt "Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command." --trigger-prefix ': ' --command 'claude --effort low --model haiku --print'
$ : list all the files in the current folder
AI task failed: No child processes (os error 10)
Press Enter to run `flyline set-agent-mode --help`.When I try to run the command that it prints during execution, it works:
$ claude --effort low --model haiku --print "Be concise. Answer with a JSON array of at
most 3 items with objects containing: command and description. Command will be a Bash command
. list all the files in the current folder"
[
{
"command": "ls -1",
"description": "List files in current directory, one per line"
},
{
"command": "ls -la",
"description": "List all files including hidden ones with details"
},
{
"command": "find . -maxdepth 1 -type f",
"description": "Find all regular files in current directory"
}
]Environment & Version Information
flyline 1.4.0
git hash: acdba86
build mode: release
build datetime: 2026-07-28T08:31:56Z
build target: x86_64-unknown-linux-gnu
rustc version: rustc 1.96.0 (ac68faa20 2026-05-25)
Running in: Bash 5.3.15(1)-release
shell: /bin/bash
Running in: xterm-kitty
program: unknown
program version: unknown
locale: en_US.UTF-8 (LC_ALL: unknown, LC_CTYPE: unknown)
Running in: Arch Linux (kernel 7.1.4-arch1-1 x86_64)
system linker: unknown
dynamic linker: unknown
Running on: AMD Ryzen 5 5600X 6-Core Processor (12 cores)
Running in: a simulation
Debug Logs (Optional / If Necessary)
Click to expand logs
2026-07-28T15:52:25.429968 [INFO] (pid=15403) src/app/mod.rs:1506: Running AI command: claude --effort low --model haiku --print 'Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command.
list all the files in the current folder'
2026-07-28T15:52:31.641854 [WARN] (pid=15403) src/app/mod.rs:1169: AI task: try_wait error: No child processes (os error 10)
2026-07-28T15:52:31.641922 [ERROR] (pid=15403) src/app/mod.rs:1202: AI command failed: AI task failed: No child processes (os error 10)
2026-07-28T15:52:32.901721 [DEBUG] (pid=15403) src/app/mod.rs:241: Final state: WithoutCommand
Steps to Reproduce
- set agent mode (
flyline set-agent-mode --system-prompt "Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command." --trigger-prefix ': ' --command 'claude --effort low --model haiku --print') - try to invoke it via something like
: list all the files in the current folder
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
dyuri commentedon Jul 31, 2026
I've done some fiddling, it looks like oh-my-posh - that I use to have the same prompt for different shells - messes up something, I removed it from my bashrc and now agent mode works.