Skip to content

Commit d6642c2

Browse files
authored
Session: set base_url in default_llm_config (#3003)
1 parent 3bff8cf commit d6642c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opendevin/server/session/session.py

+3
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ async def _initialize_agent(self, data: dict):
8989
default_llm_config.api_key = args.get(
9090
ConfigType.LLM_API_KEY, default_llm_config.api_key
9191
)
92+
default_llm_config.base_url = args.get(
93+
ConfigType.LLM_BASE_URL, default_llm_config.base_url
94+
)
9295

9396
# TODO: override other LLM config & agent config groups (#2075)
9497

0 commit comments

Comments
 (0)