fix: replace debug print statements with logger in dataset_env and infinimath_env

This commit is contained in:
alireza78a 2026-02-07 14:51:33 +00:00
parent 7da681ec46
commit 1303cb59e8
2 changed files with 2 additions and 2 deletions

View file

@ -241,7 +241,7 @@ class DatasetEnv(BaseEnv):
top_p=self.config.top_p,
)
print(f"Completions: {completions}")
logger.debug(f"Completions: {completions}")
# Process completions
trajectories = []
for completion in completions.choices:

View file

@ -539,7 +539,7 @@ class InfiniteMathEnv(BaseEnv):
if hasattr(completion, "text")
else completion.message.content
)
print("model_answer", model_answer)
logger.debug(f"model_answer: {model_answer}")
full_messages = [
{"role": "system", "content": self.system_prompt},