Skip to main content

resolve_harness

Function
This function is defined in the profiles module.
Resolve a model id to a :class:HarnessProfile. Unknown / falsy models return :data:DEFAULT_PROFILE (no behaviour change).

Signature

Parameters

Optional[str]
required
The model id string (e.g. "claude-opus-4").

Returns

HarnessProfile
The first matching profile, or the default profile.

Source

View on GitHub

praisonaiagents/model_harness/profiles.py at line 104