max-sixty / aoc-gpt

Solve Advent of Code puzzles with GPT-3
440 stars 25 forks source link

Update openai.py #9

Closed sleepercode closed 1 year ago

sleepercode commented 1 year ago

get_year() return int does not work on all systems, so i add the import datetime and define get_year() as return datetime.datetime.now().year