Skip to content

Commit

Permalink
fix: fix invalid writing of None to config
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 16, 2023
1 parent 19567d4 commit d4d0c82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gptme/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ class Config(TypedDict):
"gptme": ABOUT_GPTME,
},
},
"env": {"OPENAI_API_KEY": None},
"env": {
# toml doesn't support None
# "OPENAI_API_KEY": None
},
}

_config: Config | None = None
Expand Down

0 comments on commit d4d0c82

Please sign in to comment.