Remove Grok OAuth and legacy BYOK support
This commit is contained in:
@@ -324,16 +324,6 @@ impl PromptAlertView {
|
||||
};
|
||||
text_fragments.push(FormattedTextFragment::hyperlink(label, upgrade_url));
|
||||
}
|
||||
if UserWorkspaces::as_ref(app).is_byo_api_key_enabled(app) {
|
||||
text_fragments.push(FormattedTextFragment::plain_text(" or "));
|
||||
text_fragments.push(FormattedTextFragment::hyperlink_action(
|
||||
"use your own API keys",
|
||||
WorkspaceAction::ShowSettingsPageWithSearch {
|
||||
search_query: "api".to_string(),
|
||||
section: Some(SettingsSection::WarpAgent),
|
||||
},
|
||||
));
|
||||
}
|
||||
}
|
||||
PromptAlertState::NoAlert => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user