Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ReasoningEffort.type
Members list
Type members
Classlikes
High reasoning effort. Maximum reasoning for complex tasks requiring deep thinking.
High reasoning effort. Maximum reasoning for complex tasks requiring deep thinking.
Provider mapping:
- OpenAI o1/o3:
reasoning_effort: "high" - Anthropic: ~32768 budget tokens for thinking
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ReasoningEffortclass Objecttrait Matchableclass AnyShow all
- Self type
-
High.type
Low reasoning effort. For tasks requiring slight deliberation but not deep analysis.
Low reasoning effort. For tasks requiring slight deliberation but not deep analysis.
Provider mapping:
- OpenAI o1/o3:
reasoning_effort: "low" - Anthropic: ~2048 budget tokens for thinking
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ReasoningEffortclass Objecttrait Matchableclass AnyShow all
- Self type
-
Low.type
Medium reasoning effort. Balanced quality vs latency for moderately complex tasks.
Medium reasoning effort. Balanced quality vs latency for moderately complex tasks.
Provider mapping:
- OpenAI o1/o3:
reasoning_effort: "medium" - Anthropic: ~8192 budget tokens for thinking
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ReasoningEffortclass Objecttrait Matchableclass AnyShow all
- Self type
-
Medium.type
No extra reasoning - standard completion. Use for simple tasks where extended reasoning adds unnecessary latency.
No extra reasoning - standard completion. Use for simple tasks where extended reasoning adds unnecessary latency.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ReasoningEffortclass Objecttrait Matchableclass AnyShow all
- Self type
-
None.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Get the default thinking budget tokens for Anthropic models.
Get the default thinking budget tokens for Anthropic models.
Value parameters
- effort
-
the reasoning effort level
Attributes
- Returns
-
number of budget tokens, 0 for None
Parse ReasoningEffort from a string (case-insensitive).
Parse ReasoningEffort from a string (case-insensitive).
Value parameters
- s
-
the string to parse
Attributes
- Returns
-
Some(ReasoningEffort) if valid, scala.None otherwise
Concrete fields
All available reasoning effort levels
All available reasoning effort levels
Attributes
Implicits
Implicits
Upickle ReadWriter for serialization/deserialization. Serializes to/from the string name (e.g., "none", "low", "medium", "high").
Upickle ReadWriter for serialization/deserialization. Serializes to/from the string name (e.g., "none", "low", "medium", "high").