瀏覽代碼

fix logging of full llm_config (leaks api key) (#1937)

Engel Nyst 1 年之前
父節點
當前提交
2926c51839
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      opendevin/core/main.py

+ 1 - 1
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