You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using codex cli with deepseek model inside gitea actions pipelines. It works pretty good in most cases, but fails when deepseek wants to execute bash command with pipes or redirects. Output is:
exec
find . -name '*.cs' -path '*/Server/*' '|' grep -i cli '|' head -20 in /workspace/ exited 1 in 3ms:
find: paths must precede expression: `|'
As I understand codex escaped pipe and redirect symbols with single quotes before executing, so most of commands fails with errors.
How can I tell codex to not to escape this symbols? Unfortunately deepseek does not take into account my prompt to wrap commands with pipes and redirects in sh -lc.
Maybe a noob question, sorry for that. Thanks in advance!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am using codex cli with deepseek model inside gitea actions pipelines. It works pretty good in most cases, but fails when deepseek wants to execute bash command with pipes or redirects. Output is:
As I understand codex escaped pipe and redirect symbols with single quotes before executing, so most of commands fails with errors.
How can I tell codex to not to escape this symbols? Unfortunately deepseek does not take into account my prompt to wrap commands with pipes and redirects in
sh -lc.Maybe a noob question, sorry for that. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions