Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent: Fix button ids for resetting keys in OpenAI settings (#33032)

Danilo Lealec0f2fa79aa2
diff --git a/crates/language_models/src/provider/open_ai.rs b/crates/language_models/src/provider/open_ai.rs
index db8ba70d71b..f6e1ea559a3 100644
--- a/crates/language_models/src/provider/open_ai.rs
+++ b/crates/language_models/src/provider/open_ai.rs
@@ -905,7 +905,7 @@ impl Render for ConfigurationView {
})),
)
.child(
- Button::new("reset-key", "Reset API Key")
+ Button::new("reset-api-key", "Reset API Key")
.label_size(LabelSize::Small)
.icon(IconName::Undo)
.icon_size(IconSize::Small)
@@ -938,7 +938,7 @@ impl Render for ConfigurationView {
.child(Label::new("Custom API URL configured.")),
)
.child(
- Button::new("reset-key", "Reset API URL")
+ Button::new("reset-api-url", "Reset API URL")
.label_size(LabelSize::Small)
.icon(IconName::Undo)
.icon_size(IconSize::Small)