Method IsUsableReasoningEffort
- Namespace
- MailFathom.AI.Chat
- Assembly
- MailFathom.AI.dll
IsUsableReasoningEffort(string)
Reports whether a reasoning effort is shaped like a level a provider could read.
public static bool IsUsableReasoningEffort(string effort)
Parameters
effortstringThe declared effort.
Returns
Remarks
A shape check and deliberately not a vocabulary one. Which levels exist belongs to the model, so refusing a value against a list held here is exactly the rebuild this parameter is a string to avoid — a model that adds one must be usable without a release. What is refused is a value no provider could read as a level whatever it supports: blank, padded, or long enough that it is plainly not a level, none of which a request should be spent learning.
Published so the configuration layer refuses the same values this does. The rule is one decision and a second copy of it would drift, leaving a value startup accepted and the plan then threw on.