Spaces:
Running
Running
Commit Β·
6f519fd
1
Parent(s): 6d6ea97
new files
Browse files- .gitignore +3 -0
- judge_simulator.py +4 -6
.gitignore
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
.env
|
| 2 |
venv/
|
|
|
|
|
|
|
|
|
|
| 3 |
__pycache__/
|
| 4 |
*.pyc
|
| 5 |
judge_output.txt
|
|
|
|
| 1 |
.env
|
| 2 |
venv/
|
| 3 |
+
.venv/
|
| 4 |
+
uv.lock
|
| 5 |
+
pyproject.toml
|
| 6 |
__pycache__/
|
| 7 |
*.pyc
|
| 8 |
judge_output.txt
|
judge_simulator.py
CHANGED
|
@@ -16,23 +16,21 @@ That's it!
|
|
| 16 |
Author: magicpin AI Challenge Team
|
| 17 |
"""
|
| 18 |
|
| 19 |
-
import os
|
| 20 |
-
|
| 21 |
# =============================================================================
|
| 22 |
# ββββββ CONFIGURATION - EDIT THIS SECTION ββββββ
|
| 23 |
# =============================================================================
|
| 24 |
|
| 25 |
# Your bot's URL (where your bot is running)
|
| 26 |
-
BOT_URL =
|
| 27 |
|
| 28 |
# Choose your LLM provider: "openai", "anthropic", "gemini", "deepseek", "groq", "ollama", "openrouter"
|
| 29 |
-
LLM_PROVIDER =
|
| 30 |
|
| 31 |
# Your API key (paste your key here)
|
| 32 |
-
LLM_API_KEY =
|
| 33 |
|
| 34 |
# Model to use (leave empty for default, or specify like "gpt-4o", "claude-3-5-sonnet-20241022", etc.)
|
| 35 |
-
LLM_MODEL =
|
| 36 |
|
| 37 |
# For Ollama only: local server URL
|
| 38 |
OLLAMA_URL = "http://localhost:11434"
|
|
|
|
| 16 |
Author: magicpin AI Challenge Team
|
| 17 |
"""
|
| 18 |
|
|
|
|
|
|
|
| 19 |
# =============================================================================
|
| 20 |
# ββββββ CONFIGURATION - EDIT THIS SECTION ββββββ
|
| 21 |
# =============================================================================
|
| 22 |
|
| 23 |
# Your bot's URL (where your bot is running)
|
| 24 |
+
BOT_URL = "http://localhost:8080"
|
| 25 |
|
| 26 |
# Choose your LLM provider: "openai", "anthropic", "gemini", "deepseek", "groq", "ollama", "openrouter"
|
| 27 |
+
LLM_PROVIDER = "openai"
|
| 28 |
|
| 29 |
# Your API key (paste your key here)
|
| 30 |
+
LLM_API_KEY = "" # <-- PUT YOUR API KEY HERE
|
| 31 |
|
| 32 |
# Model to use (leave empty for default, or specify like "gpt-4o", "claude-3-5-sonnet-20241022", etc.)
|
| 33 |
+
LLM_MODEL = "" # <-- Optional: specify model or leave empty for default
|
| 34 |
|
| 35 |
# For Ollama only: local server URL
|
| 36 |
OLLAMA_URL = "http://localhost:11434"
|