verbosityDirectiveBlock returns the steering directive prefixed with the block separator, or "" when verbosity is full. It is a static string per level, so injecting it keeps the system-prompt prefix cacheable.
()
| 30 | // block separator, or "" when verbosity is full. It is a static string per |
| 31 | // level, so injecting it keeps the system-prompt prefix cacheable. |
| 32 | func verbosityDirectiveBlock() string { |
| 33 | d := outputVerbosity().Directive() |
| 34 | if d == "" { |
| 35 | return "" |
| 36 | } |
| 37 | return "\n\n" + d |
| 38 | } |
| 39 | |
| 40 | // outputEffortRoutingEnabled reports whether the complexity→effort downgrade is |
| 41 | // active. Opt-in (default off): lowering reasoning effort is a behavior change |