Add client-side user setting for agent commit attribution (#9323)
This commit is contained in:
@@ -1446,6 +1446,20 @@ define_settings_group!(AISettings, settings: [
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: true,
|
||||
}
|
||||
|
||||
// Whether Oz should add attribution (co-author line) to commit messages and PRs.
|
||||
// This is the user-level preference; it may be overridden by the team-level
|
||||
// `enable_warp_attribution` AdminEnablementSetting (see
|
||||
// `UserWorkspaces::get_agent_attribution_setting`).
|
||||
agent_attribution_enabled: AgentAttributionEnabled {
|
||||
type: bool,
|
||||
default: true,
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::No),
|
||||
private: false,
|
||||
toml_path: "agents.oz.other.agent_attribution_enabled",
|
||||
description: "Whether Oz adds an attribution co-author line to commit messages and pull requests it creates.",
|
||||
}
|
||||
]);
|
||||
|
||||
impl AISettings {
|
||||
|
||||
Reference in New Issue
Block a user