mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-07-03 20:41:02 +02:00
Adds missing re import (#281)
This commit is contained in:
parent
293730afbd
commit
2cf46689f9
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ import logging
|
|||
import yaml
|
||||
from pathlib import Path
|
||||
from types import SimpleNamespace as config
|
||||
import re
|
||||
|
||||
# Backward compatibility: support CHATGPT_API_KEY as alias for OPENAI_API_KEY
|
||||
if not os.getenv("OPENAI_API_KEY") and os.getenv("CHATGPT_API_KEY"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue