feat: add native tool call setting with feature flag support (#7193)
* feat: add native tool call setting with feature flag support Add a new native tool call setting that allows users to enable/disable native tool calling functionality. The setting is controlled by both a user preference and a feature flag, providing flexibility for gradual rollout. Changes include: - Added native_tool_call_enabled field to UpdateSettingsRequest proto - Implemented state management for the setting in controller and storage - Added UI toggle in feature settings section - Updated task execution logic to check both user setting and feature flag - Extended extension state interface to include the new setting * Add changeset
This commit is contained in:
10 files changed
+47
-3
No files matched your search
@@ -97,6 +97,7 @@ export interface ExtensionState {
|
||||
hooksEnabled?: ClineFeatureSetting
|
||||
remoteConfigSettings?: Partial<GlobalStateAndSettings>
|
||||
subagentsEnabled?: boolean
|
||||
nativeToolCallSetting?: ClineFeatureSetting
|
||||
}
|
||||
|
||||
export interface ClineMessage {
|
||||
|
||||
@@ -43,6 +43,7 @@ export interface GlobalState {
|
||||
lastDismissedInfoBannerVersion: number
|
||||
lastDismissedModelBannerVersion: number
|
||||
lastDismissedCliBannerVersion: number
|
||||
nativeToolCallEnabled: boolean
|
||||
}
|
||||
|
||||
export interface Settings {
|
||||
|
||||
Reference in new issue
Block a user