We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82dee36 + 2a03d7f commit 32f6583Copy full SHA for 32f6583
src/webui/webui_manager.py
@@ -7,6 +7,7 @@
7
from typing import Optional, Dict, List
8
import uuid
9
import asyncio
10
+import time
11
12
from gradio.components import Component
13
from browser_use.browser.browser import Browser
@@ -108,6 +109,9 @@ def load_config(self, config_path: str):
108
109
update_components[comp] = comp.__class__(value=comp_val, type="messages")
110
else:
111
update_components[comp] = comp.__class__(value=comp_val)
112
+ if comp_id == "agent_settings.planner_llm_provider":
113
+ yield update_components # yield provider, let callback run
114
+ time.sleep(0.1) # wait for Gradio UI callback
115
116
config_status = self.id_to_component["load_save_config.config_status"]
117
update_components.update(
0 commit comments