Commit 3208742
Changed files (1)
src
src/config.py
@@ -214,7 +214,7 @@ class GPT:
TOKEN_ENCODING = os.getenv("GPT_TOKEN_ENCODING", "o200k_base") # https://github.com/openai/tiktoken/blob/main/tiktoken/model.py
MAX_RETRY = int(os.getenv("GPT_MAX_RETRY", "2"))
HELICONE_API_KEY = os.getenv("HELICONE_API_KEY", "") # https://docs.helicone.ai/getting-started/integration-method/gateway
- COLLAPSE_LENGTH = int(os.getenv("GEMINI_COLLAPSE_LENGTH", "500")) # Collapse the response if the length is larger than this value
+ COLLAPSE_LENGTH = int(os.getenv("GPT_COLLAPSE_LENGTH", "500")) # Collapse the response if the length is larger than this value
# comma separated fallback models for OpenRouter (e.g. openai/gpt-4o,anthropic/claude-3.5-sonnet)
OPENROUTER_FALLBACK_MODELS = os.getenv("GPT_OPENROUTER_FALLBACK_MODELS", "")