Эх сурвалжийг харах

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

Engel Nyst 1 жил өмнө
parent
commit
2926c51839

+ 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