Class DisabledAiProvider
java.lang.Object
com.shaft.pilot.ai.DisabledAiProvider
- All Implemented Interfaces:
AiProvider
Deterministic no-op provider used when AI is disabled or unavailable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns unavailable without performing any network call.Returns disabled capabilities.Returns the caller's deterministic fallback without performing any network call.id()Returns the disabled provider identifier.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AiProvider
discoverModels
-
Constructor Details
-
DisabledAiProvider
public DisabledAiProvider()
-
-
Method Details
-
id
Returns the disabled provider identifier.- Specified by:
idin interfaceAiProvider- Returns:
none
-
capabilities
Returns disabled capabilities.- Specified by:
capabilitiesin interfaceAiProvider- Returns:
- disabled capabilities
-
availability
Returns unavailable without performing any network call.- Specified by:
availabilityin interfaceAiProvider- Returns:
- unavailable result
-
execute
Returns the caller's deterministic fallback without performing any network call.- Specified by:
executein interfaceAiProvider- Parameters:
request- request- Returns:
- disabled response
-