Browse Source

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

Engel Nyst 1 năm trước cách đây
mục cha
commit
2926c51839
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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