shoaibrza9999 commited on
Commit
f327c8d
·
verified ·
1 Parent(s): e1d9f6e

Upload orbit_wars_agents.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. orbit_wars_agents.py +2 -2
orbit_wars_agents.py CHANGED
@@ -10,9 +10,9 @@ from kaggle_environments import make
10
  import litellm
11
 
12
  # Set API key and model through environment variables
13
- MODEL_NAME = os.getenv("LLM_MODEL", "openai")
14
  # Configure custom base URL for Pollinations API
15
- 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
 
10
  import litellm
11
 
12
  # Set API key and model through environment variables
13
+ MODEL_NAME = os.getenv("LLM_MODEL", "custom_openai/openai")
14
  # Configure custom base URL for Pollinations API
15
+ litellm.api_base = "https://gen.pollinations.ai/v1"
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