feat: separated efficient agent mode (lite mode) for small language models
This commit is contained in:
@@ -74,6 +74,20 @@ export abstract class BaseTool {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the tool is available when the assistant runs in Regular Mode.
|
||||
*/
|
||||
isAvailableInRegularMode(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the tool is available when the assistant runs in Efficient Mode.
|
||||
*/
|
||||
isAvailableInEfficientMode(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Optionally build a compact UI summary for a successful tool result.
|
||||
* The raw tool result remains the canonical output stored in agent history.
|
||||
|
||||
Reference in New Issue
Block a user