Upload orbit_wars_agents.py with huggingface_hub
Browse files- orbit_wars_agents.py +1 -1
orbit_wars_agents.py
CHANGED
|
@@ -16,7 +16,7 @@ litellm.api_base = "https://gen.pollinations.ai"
|
|
| 16 |
# Optionally, if the user provides the specific key in the environment
|
| 17 |
if not os.getenv("OPENAI_API_KEY"):
|
| 18 |
# Fallback to the provided key for the session if none exists
|
| 19 |
-
|
| 20 |
|
| 21 |
print(f"Using model: {MODEL_NAME} with custom api_base")
|
| 22 |
|
|
|
|
| 16 |
# Optionally, if the user provides the specific key in the environment
|
| 17 |
if not os.getenv("OPENAI_API_KEY"):
|
| 18 |
# Fallback to the provided key for the session if none exists
|
| 19 |
+
print("Warning: OPENAI_API_KEY environment variable is not set. API calls will likely fail.")
|
| 20 |
|
| 21 |
print(f"Using model: {MODEL_NAME} with custom api_base")
|
| 22 |
|