π OpenHands: AI-Driven Development
fix logging of full llm_config (leaks api key) (#1937)
Engel Nyst2926c51839d5
diff --git a/opendevin/core/main.py b/opendevin/core/main.pyindex 0ffe0f2e8d..2026bc73f0 100644--- a/opendevin/core/main.py+++ b/opendevin/core/main.py@@ -67,7 +67,7 @@ async def main(raise ValueError(f'Invalid toml file, cannot read {args.llm_config}')logger.info(- f'Running agent {args.agent_cls} (model: {llm_config.model}, llm_config: {llm_config}) with task: "{task}"'+ f'Running agent {args.agent_cls} (model: {llm_config.model}, llm_config: {args.llm_config}) with task: "{task}"')# create LLM instance with the given config