File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 34
34
from src .browser .custom_context import BrowserContextConfig
35
35
from src .controller .custom_controller import CustomController
36
36
from src .utils import utils
37
- from src .utils .utils import update_model_dropdown , fetch_available_models
37
+ from src .utils .utils import update_model_dropdown
38
38
39
39
async def run_browser_agent (
40
40
agent_type ,
@@ -401,15 +401,6 @@ def create_ui(theme_name="Ocean"):
401
401
info = "Your API key (leave blank to use .env)"
402
402
)
403
403
404
- # Add a button to fetch available models
405
- fetch_models_button = gr .Button ("🔄 Fetch Available Models" , variant = "secondary" )
406
- fetch_models_output = gr .Textbox (
407
- label = "Available Models" ,
408
- lines = 3 ,
409
- interactive = False ,
410
- info = "List of available models for the selected provider"
411
- )
412
-
413
404
with gr .TabItem ("🌐 Browser Settings" , id = 3 ):
414
405
with gr .Group ():
415
406
with gr .Row ():
You can’t perform that action at this time.
0 commit comments