AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

logger was used but not imported in token_counter.py

Open sagarishere opened this issue 2 years ago • 1 comments

logger was used but not imported.

Used in line 19 or line 20 : logger.warn("Warning: model not found. Using cl100k_base encoding.")

Changes

from logger import logger

PR Quality Checklist

  • [x] My pull request is atomic and focuses on a single change.
  • [x] I have thoroughly tested my changes with multiple different prompts.
  • [x] I have considered potential risks and mitigations for my changes.
  • [x] I have documented my changes clearly and comprehensively.
  • [x] I have not snuck in any "extra" small tweaks changes

sagarishere avatar Apr 14 '23 13:04 sagarishere

@sagarishere There are conflicts now

nponeccop avatar Apr 15 '23 14:04 nponeccop

closed as already fixed

richbeales avatar Apr 15 '23 20:04 richbeales