Преглед на файлове

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