Skip to content

Commit

Permalink
fix: lowered logging level for some spammy messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Sep 16, 2024
1 parent 1a1e9fb commit 9a729af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gptme/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def chat(
if is_supported_langtag(codeblock.lang):
runnable = True
if not runnable:
logger.info("Non-interactive and exhausted prompts, exiting")
logger.debug("Non-interactive and exhausted prompts, exiting")
break

# ask for input if no prompt, generate reply, and run tools
Expand Down
4 changes: 2 additions & 2 deletions gptme/eval/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def execute(test: ExecTest, agent: Agent, timeout: int) -> ExecResult:
status = "timeout"
time_gen = timeout

logger.info("Getting result from queue")
logger.debug("Getting result from queue")
try:
result = queue.get(timeout=1)
except Empty:
Expand All @@ -171,7 +171,7 @@ def execute(test: ExecTest, agent: Agent, timeout: int) -> ExecResult:
"stderr": "",
}

logger.info("Got result")
logger.debug("Got result")
if status != "timeout":
time_gen = result.duration
stdout, stderr = result.stdout, result.stderr
Expand Down

0 comments on commit 9a729af

Please sign in to comment.