failed to process events: POST "https://api.groq.com/openai/v1/chat/completions": 400 Bad Request {"message":"'reasoning_effort' : value is not one of the allowed values ['none','default']","type":"invalid_request_error"}
pencode -p "Explain the use of context in Go" 2025/06/09 22:09:44 WARN FZF not found in $PATH. Some features might be limited or slower. Error: agent processing failed: failed to process events: POST "https://api.groq.com/openai/v1/chat/completions": 400 Bad Request {"message":"'reasoning_effort' : value is not one of the allowed values ['none','default']","type":"invalid_request_error"} Usage: opencode [flags]
Examples:
Run in interactive mode
opencode
Run with debug logging
opencode -d
Run with debug logging in a specific directory
opencode -d -c /path/to/project
Print version
opencode -v
Run a single non-interactive prompt
opencode -p "Explain the use of context in Go"
Run a single non-interactive prompt with JSON output format
opencode -p "Explain the use of context in Go" -f json
Flags: -c, --cwd string Current working directory -d, --debug Debug -h, --help Help -f, --output-format string Output format for non-interactive mode (text, json) (default "text") -p, --prompt string Prompt to run in non-interactive mode -q, --quiet Hide spinner in non-interactive mode -v, --version Version
Source: opencode-ai/opencode