Skip to content

Commit 4540348

Browse files
Update webui.py
1 parent cc2ce90 commit 4540348

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

webui.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from src.browser.custom_context import BrowserContextConfig
3535
from src.controller.custom_controller import CustomController
3636
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
3838

3939
async def run_browser_agent(
4040
agent_type,
@@ -401,15 +401,6 @@ def create_ui(theme_name="Ocean"):
401401
info="Your API key (leave blank to use .env)"
402402
)
403403

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-
413404
with gr.TabItem("🌐 Browser Settings", id=3):
414405
with gr.Group():
415406
with gr.Row():

0 commit comments

Comments
 (0)