Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

typo

Dillon DuPont4e8d64ff1cee
diff --git a/libs/agent/agent/ui/gradio/app.py b/libs/agent/agent/ui/gradio/app.py
index a8202de90a..ef9b813b9e 100644
--- a/libs/agent/agent/ui/gradio/app.py
+++ b/libs/agent/agent/ui/gradio/app.py
@@ -818,6 +818,7 @@ if __name__ == "__main__":
# Custom model fields visibility
gr.update(visible=is_any_custom), # Custom model name always visible for any custom option
gr.update(visible=is_custom_openai_api), # Provider base URL only for OpenAI compatible API
+ gr.update(visible=is_custom_openai_api), # Provider API key only for OpenAI compatible API
# Update the hidden model_choice field
gr.update(value=model_choice_value)
]