Skip to content

Commit 70d1ad5

Browse files
authored
Merge pull request #50 from CodingThrust/fix-litellm-proxy-deps
Make the runner image runnable: litellm proxy-deps + cost-tracking hint
2 parents d90f3e6 + 187784a commit 70d1ad5

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎benchmark/requirements.txt‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ mini-swe-agent==2.4.5
22
pyyaml>=6.0.3
33
pytest>=9.1.1
44
pytest-timeout>=2.4.0
5+
# litellm 1.92.0 (pulled by mini-swe-agent) unconditionally imports proxy-only
6+
# deps from completion() (litellm.responses.mcp → litellm.proxy.*). Declare them
7+
# until a litellm release makes that import lazy; litellm[proxy] is NOT an
8+
# option (its granian pin is unresolvable).
9+
fastapi>=0.115
10+
orjson>=3.10

‎submission.env.example‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ MODEL_NAME=openai/gpt-5.4
2626
# API_KEY=... # generic key when no PROVIDER_API_KEY name fits
2727
# MODEL_KWARGS={"custom_llm_provider":"openai","extra_headers":{"X-Org":"acme"}}
2828
# # ^ JSON of extra litellm.completion kwargs (api_version, temperature, …)
29+
# MSWEA_COST_TRACKING=ignore_errors
30+
# # ^ required when your model isn't in litellm's price map (typical for custom
31+
# # endpoints) — mini-swe otherwise aborts the session on the cost-calculation
32+
# # error. Token usage is still recorded from API responses.
2933

3034
# ── LIMITS ────────────────────────────────────────────────────────────────────
3135
# MAX_TOKENS=8192 # per-call output ceiling

0 commit comments

Comments
 (0)