Skip to content

Commit bbfe008

Browse files
committed
Updated default value for FILE_WRITING_ALLOWED
1 parent 4a99598 commit bbfe008

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class MyCustomBot(TemplateBot):
195195

196196

197197
## Setting Environment Variables
198-
Whether running locally or through Github actions, you will need to set environment variables. All environment variables you might want are in `.env.template`. Generally you only need the METACULUS_TOKEN if running the Template. Having an EXA_API_KEY (see www.exa.ai) or PERPLEXITY_API_KEY (see www.perplexity.ai) is needed for searching the web. Make sure to put these variables in your `.env` file if running locally and in the Github actions secrets if running on Github actions.
198+
Whether running locally or through Github actions, you will need to set environment variables. All environment variables you might want are in `.env.template`. Generally you only need the METACULUS_TOKEN if running the Template. Having an EXA_API_KEY (see www.exa.ai) or PERPLEXITY_API_KEY (see www.perplexity.ai) is needed for searching the web. Make sure to put these variables in your `.env` file if running locally and in the Github actions secrets if running on Github actions. Remember to set 'FILE_WRITING_ALLOWED' to true if you want to save results.
199199

200200

201201
# Forecasting Tools Examples

forecasting_tools/util/custom_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def setup_logging(cls) -> None:
4848
handlers = []
4949

5050
file_writing_is_allowed = (
51-
os.environ.get("FILE_WRITING_ALLOWED", "TRUE").upper() == "TRUE"
51+
os.environ.get("FILE_WRITING_ALLOWED", "FALSE").upper() == "TRUE"
5252
)
5353
if file_writing_is_allowed:
5454
cls.__message_to_append_to_file = (

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "forecasting-tools"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "AI forecasting and research tools to help humans reason about and forecast the future"
55
authors = ["Benjamin Wilson <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)