File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ async def loadAgentTideUi()->AgentTideUi:
146146 agent_tide_ui = AgentTideUi (
147147 os .getenv ("AGENT_TIDE_PROJECT_PATH" , "./" ),
148148 history = cl .user_session .get ("chat_history" ),
149- llm_config = cl .user_session .get ("settings" )
149+ llm_config = cl .user_session .get ("settings" ) or None
150150 )
151151 await agent_tide_ui .load ()
152152
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ async def start_chatr():
103103 agent_tide_ui = AgentTideUi (
104104 DEFAULT_SESSIONS_WORKSPACE / session_id ,
105105 history = cl .user_session .get ("chat_history" ),
106- llm_config = cl .user_session .get ("settings" ),
106+ llm_config = cl .user_session .get ("settings" ) or None ,
107107 session_id = session_id
108108 )
109109 await agent_tide_ui .load ()
You can’t perform that action at this time.
0 commit comments