Package com.tnsai.skills
Enum Class SkillResolverPolicy
- All Implemented Interfaces:
Serializable,Comparable<SkillResolverPolicy>,Constable
How an agent surfaces and activates skills (TNS-289).
- Since:
- 0.10.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionResolver runs on every user turn; top-N candidate descriptions are appended to the system prompt and the LLM may invoke any of them via the syntheticinvoke_skilltool.Resolver does NOT run automatically; only manual user-driven invocation (/skill-name [args]) and programmaticagent.invokeSkill(...)are honoured.Skill layer disabled. -
Method Summary
Modifier and TypeMethodDescriptionstatic SkillResolverPolicyReturns the enum constant of this class with the specified name.static SkillResolverPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AUTO
Resolver runs on every user turn; top-N candidate descriptions are appended to the system prompt and the LLM may invoke any of them via the syntheticinvoke_skilltool. Users can also invoke a skill manually with/skill-name [args]. -
MANUAL_ONLY
Resolver does NOT run automatically; only manual user-driven invocation (/skill-name [args]) and programmaticagent.invokeSkill(...)are honoured. Useful when the deployment wants deterministic skill loading. -
OFF
Skill layer disabled. The store may still be wired (e.g. for inspection by other tooling) but no skill content reaches the LLM. This is the framework default when noSkillStoreis configured.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-