Spaces:
Runtime error
Runtime error
Commit History
-
Integrate Space deploy history
Co-authored-by: OpenAI Codex <codex@openai.com>f87765e -
Deploy 2026-06-02
Co-authored-by: OpenAI Codex <codex@openai.com>9dc2054 -
Remove old Claude model support (#283)
Unverified signature* Remove Claude Opus 4.6 model support Co-authored-by: OpenAI Codex <codex@openai.com> * Remove Claude Opus 4.7 model support Co-authored-by: OpenAI Codex <codex@openai.com> * Remove Claude Sonnet 4.6 model support Co-authored-by: OpenAI Codex <codex@openai.com> * Remove stale Sonnet model tag test Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>d32b803 -
Route LLM inference through HF Router (#282)
Unverified signature* Route LLM inference through HF Router Co-authored-by: OpenAI Codex <codex@openai.com> * Address HF router PR review Co-authored-by: OpenAI Codex <codex@openai.com> * Address router cleanup review Remove no-op prompt caching and reasoning replay paths, genericize router model handling, and update docs/tests for HF Router-only setup. Co-authored-by: OpenAI Codex <codex@openai.com> * Fix READEM --------- Co-authored-by: OpenAI Codex <codex@openai.com>437a804
-
Deploy 2026-06-01
Co-authored-by: OpenAI Codex <codex@openai.com>a475738 -
Add Opus 4.8 as premium model (#281)
Unverified signature9c72f5f -
Deploy 2026-06-01
Co-authored-by: OpenAI Codex <codex@openai.com>d8e6731 -
Improve premium quota label in model selector (#280)
Unverified signature* Improve premium quota label in model selector * Differentiate zero premium quota billing labels82c186c -
Deploy 2026-06-01
Co-authored-by: OpenAI Codex <codex@openai.com>e21296b -
Fix endpoint for free calls (#279)
Unverified signature* Recover endpoint for subsidized callsf247952 -
Deploy 2026-06-01
Co-authored-by: OpenAI Codex <codex@openai.com>a149653 -
Enable FAL endpoint to lift limits (#278)
Unverified signature* Bill premium models through the HF router on the user's HF account Route Claude Opus 4.6 and GPT-5.5 off Bedrock/native APIs onto the HF Inference Router (huggingface/anthropic/claude-opus-4.6:fal-ai and huggingface/openai/gpt-5.5:fal-ai). The same daily allowance as before (free=1, pro=20) stays company-subsidized via INFERENCE_TOKEN; once a user is past it, the session's premium_user_billed flag flips and the call bills the user's own HF OAuth token (no X-HF-Bill-To) instead of returning the old 429 cap. - llm_params: bill_to_user routes premium (anthropic/ + openai/) router calls to the user's token; free models stay subsidized. - premium_user_billed is persisted/restored and threaded through the main loop, context compaction, the research sub-agent (now downgraded to router Sonnet 4.6), and effort probes. - Frontend: per-session BillingBanner (dismissible daily); remove the now unreachable ClaudeCapDialog + 429 quota-exhausted plumbing; the model chip shows "Billed" p…c9a83ae -
Reclaim idle sessions to fix session-capacity overshoot (#277)
Unverified signature* Reclaim idle sessions and fix session-capacity overshoot Users hit "Server is at capacity (379/200)" and couldn't create sessions: idle/forgotten runtimes never left the global pool, the frontend reactivated every historical session on load, and concurrent creates could overshoot the cap. Backend: - Idle-session reaper (2h): releases the sandbox + RAM of inactive sessions and evicts them from the live pool, leaving them resumable from Mongo (persisted resumable, never "ended"). Teardown uses asyncio.wait so a shutdown cancel can't be swallowed; submit() enqueues under the lock and refuses sessions being reaped. Reaping is skipped when persistence is disabled and aborts if the resumable snapshot (incl. the message bulk_write, via save_snapshot strict mode) can't be durably written. - Global create-slot reservation closes the check-then-create race that let concurrent creates exceed MAX_SESSIONS. - last_active_at drives the reaper, stamped on genuine activity only. - Re…6cf406a
-
Add `/clear` and `/new` commands (#256)
Unverified signature021580f
-
Deploy 2026-05-11
Co-authored-by: OpenAI Codex <codex@openai.com>479aaea -
Add dataset uploads to Hub (#255)
Unverified signature* Add dataset uploads to Hub Co-authored-by: OpenAI Codex <codex@openai.com> * Address dataset upload review items Co-authored-by: OpenAI Codex <codex@openai.com> * Show dataset upload progress Co-authored-by: OpenAI Codex <codex@openai.com> * Move dataset upload button to composer corner Co-authored-by: OpenAI Codex <codex@openai.com> * Fix dataset upload file handoff Co-authored-by: OpenAI Codex <codex@openai.com> * Show upload alerts below composer Co-authored-by: OpenAI Codex <codex@openai.com> * Improve dataset upload errors and chips Co-authored-by: OpenAI Codex <codex@openai.com> * Link dataset chips to repo Co-authored-by: OpenAI Codex <codex@openai.com> * Expose dataset uploads as configs Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>2b4c539 -
Add CLI sandbox runtime and fix HF Jobs script paths (#237)
Unverified signature* Resolve bare Python job scripts Co-authored-by: OpenAI Codex <codex@openai.com> * Update HF Jobs script description Co-authored-by: OpenAI Codex <codex@openai.com> * Clarify HF Jobs script path prompt Co-authored-by: OpenAI Codex <codex@openai.com> * Add CLI sandbox tool runtime Co-authored-by: OpenAI Codex <codex@openai.com> * Document CLI sandbox tool runtime Co-authored-by: OpenAI Codex <codex@openai.com> * Wait for initial CLI sandbox preload Co-authored-by: OpenAI Codex <codex@openai.com> * Strengthen GPU sandbox preflight guidance Co-authored-by: OpenAI Codex <codex@openai.com> * Guard against text-only stops with unfinished plans Co-authored-by: OpenAI Codex <codex@openai.com> * Route sandbox deletion logs through tool events Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>b05b6f5
-
Use hyphenated ml-intern Trackio prefixes (#250)
Unverified signature* Use hyphenated ml-intern Trackio prefixes Co-authored-by: OpenAI Codex <codex@openai.com> * Drop legacy Trackio prefix handling Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>11112c6 -
Use duplicate_repo for sandbox Spaces (#249)
Unverified signature* Use duplicate_repo for sandbox Spaces Co-authored-by: OpenAI Codex <codex@openai.com> * Tighten duplicate_repo sandbox fakes Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>d684c1a -
Align CLI help output (#248)
Unverified signature* Align CLI help output Co-authored-by: OpenAI Codex <codex@openai.com> * Address CLI help review feedback Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>fde34dc -
Deploy 2026-05-08
Co-authored-by: OpenAI Codex <codex@openai.com>ade0b7e -
Fix stale tool error badges (#247)
Unverified signature* Fix GPU sandbox hardware OAuth failure Co-authored-by: OpenAI Codex <codex@openai.com> * Address sandbox sleep-time review Co-authored-by: OpenAI Codex <codex@openai.com> * Fix stale tool error badges Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>beb0c92 -
Deploy 2026-05-08
Co-authored-by: OpenAI Codex <codex@openai.com>55a2373 -
Fix GPU sandbox hardware OAuth failure (#246)
Unverified signature* Fix GPU sandbox hardware OAuth failure Co-authored-by: OpenAI Codex <codex@openai.com> * Address sandbox sleep-time review Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>60f7188 -
Create Hub artifact collections lazily (#245)
Unverified signature* Create Hub artifact collections lazily Co-authored-by: OpenAI Codex <codex@openai.com> * Cache lazy Hub collection slugs in child hooks Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>60474c1 -
Implement `/resume` command for CLI (#233)
Unverified signature* Add /resume command to CLI * Refine /resume feature * Refine /resume implementation * Address review comments --------- Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>0321690
-
Deploy 2026-05-07
Co-authored-by: OpenAI Codex <codex@openai.com>e8252a8 -
Fix Pro entitlement checks (#239)
Unverified signature* Fix Pro entitlement checks Normalize HF Pro and paid org plan detection, allow premium model selection with quota enforcement, and clarify HF Jobs credit billing copy. Co-authored-by: OpenAI Codex <codex@openai.com> * Limit premium quota to personal Pro Ignore org membership for premium-model quota so users need personal HF Pro for the higher cap, while dev mode uses the Pro tier for local testing. Co-authored-by: OpenAI Codex <codex@openai.com> * Scope model switch errors to model picker Show model switch failures through local ChatInput state instead of rendering the shared agent error field globally. Co-authored-by: OpenAI Codex <codex@openai.com> * Restrict premium quota detection to Pro accounts Co-authored-by: OpenAI Codex <codex@openai.com> * Use boolean Pro signal for premium quota Co-authored-by: OpenAI Codex <codex@openai.com> * Use documented isPro field for quota tier Co-authored-by: OpenAI Codex <codex@openai.com> * Remove dead global chat error state Co-…d7637ba -
Skip sandbox spaces for artifact metadata (#241)
Unverified signature* Skip sandbox spaces for artifact metadata Co-authored-by: OpenAI Codex <codex@openai.com> * Address sandbox metadata PR feedback Co-authored-by: OpenAI Codex <codex@openai.com> * Avoid sandbox title metadata updates Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>1e1fe1f
-
License and Citation (#178)
Henri Bonamy +1: lewtunUnverified signature* added a license file, license badge, and citation details in readme * Apply suggestion from @lewtun --------- Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>b4ae9d9 -
Add CLI local model support (#228)
Unverified signature* Add CLI local model support Co-authored-by: OpenAI Codex <codex@openai.com> * Add shared local model endpoint fallback Support LOCAL_LLM_BASE_URL and LOCAL_LLM_API_KEY as shared fallbacks while preserving provider-specific local overrides. Co-authored-by: OpenAI Codex <codex@openai.com> * Address local model review feedback Clarify local probe failure behavior, add regression coverage for rejected local switches, and simplify local model validation. Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>4668dbd -
Add backlog prioritization report tooling (#222)
Unverified signature* Add backlog prioritization script Co-authored-by: OpenAI Codex <codex@openai.com> * Fix backlog prioritizer LLM output handling Co-authored-by: OpenAI Codex <codex@openai.com> * Add backlog resolved-in-main checks Co-authored-by: OpenAI Codex <codex@openai.com> * Add GitHub issue publishing for backlog reports Co-authored-by: OpenAI Codex <codex@openai.com> * Address backlog prioritization review Handle GitHub rate limits gracefully, validate publish tokens early, and tighten resolution-link detection. Co-authored-by: OpenAI Codex <codex@openai.com> * Exclude generated backlog reports Apply a default label to generated report issues and skip that label during future GitHub backlog collection. Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>6aebbdf -
fix(security): remediate workflow vulnerability in .github/workflows/claude-review.yml (#231)
hf-security-analysis[bot] +1: hf-security-analysis[bot]Unverified signatureCo-authored-by: hf-security-analysis[bot] <265538906+hf-security-analysis[bot]@users.noreply.github.com>fbc10a2 -
ci: prepare Claude Code bin directory (#230)
Unverified signatureCo-authored-by: OpenAI Codex <codex@openai.com>f196f43 -
Deploy 2026-05-06
Co-authored-by: OpenAI Codex <codex@openai.com>5996fec -
Force OAuth refresh after scope changes (#227)
Unverified signature* Force OAuth refresh after scope changes Co-authored-by: OpenAI Codex <codex@openai.com> * Address OAuth scope review comments Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>e90638c -
quick wins, after internal audit (#229)
Guillaume SalouUnverified signature* fix(api): cap /api/submit text to 100k chars Pydantic-level guard on SubmitRequest.text. Prevents a single oversized user message from bloating the conversation context for every subsequent turn (cost-amplification on Bedrock-tier models). 100k chars ≈ 25k tokens, well above any reasonable user prompt. * chore(api): disable FastAPI auto-docs on HF Spaces Gated on SPACE_ID env var, which is set by the HF Spaces runtime but not in local dev. /docs, /redoc, /openapi.json return 404 on the deployed Space; localhost keeps them for development convenience. Reduces public information disclosure of the full API surface. * fix(api): check session ownership before body validation on /truncate POST /api/truncate/{session_id} previously returned 422 (with the schema detail revealing 'user_message_index' is required) even when the caller didn't own the session, leaking the route's expected payload shape to unauthenticated probers. Now parses the body manually after _check_session_access, s…82bad21
-
Deploy 2026-05-05
Co-authored-by: OpenAI Codex <codex@openai.com>fd6002a -
Update README with new model version and usage instructions (#220)
Unverified signatureCo-authored-by: lewtun <lewis.c.tunstall@gmail.com>e152e8b -
Add collection OAuth scope (#226)
Unverified signature* Add collection OAuth scope Co-authored-by: OpenAI Codex <codex@openai.com> * Document GitHub PR-first workflow Co-authored-by: OpenAI Codex <codex@openai.com> * Document Space OAuth scope checks Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>8b35696 -
Allow Space OAuth collection writes
Co-authored-by: OpenAI Codex <codex@openai.com>91fa071 -
Deploy 2026-05-05
Co-authored-by: OpenAI Codex <codex@openai.com>19f9a99 -
Add ML Intern Hub artifact metadata (#225)
Unverified signature* Add ML Intern Hub artifact metadata Co-authored-by: OpenAI Codex <codex@openai.com> * Extend Hub artifact hooks to sandbox bash Co-authored-by: OpenAI Codex <codex@openai.com> * Create Hub artifact collections at session start Co-authored-by: OpenAI Codex <codex@openai.com> * Address Hub artifact PR review comments Co-authored-by: OpenAI Codex <codex@openai.com> * Respect Hub collection title limits Co-authored-by: OpenAI Codex <codex@openai.com> * Shorten collection session UUID fragments Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>4fc6e96
-
Add CI for tests and Ruff (#217)
Unverified signature* Add CI for tests and Ruff Co-authored-by: OpenAI Codex <codex@openai.com> * Enforce Ruff formatting in CI Co-authored-by: OpenAI Codex <codex@openai.com> * Document Ruff pre-commit checks Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>754345f -
Deploy 2026-05-04
Co-authored-by: OpenAI Codex <codex@openai.com>53d5c85 -
Preserve HF token across restored sessions (#218)
Unverified signature* Preserve HF token across restored sessions Carry the authenticated HF token internally through request dependencies without exposing it from auth/me, and retry CPU sandbox preload when a session previously failed only because the token was missing. Co-authored-by: OpenAI Codex <codex@openai.com> * Address HF token restore review feedback Only restart CPU sandbox preload after the specific missing-token failure and remove the dead user hf_token fallback. Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>5de6e8f -
Deploy 2026-05-04
Co-authored-by: OpenAI Codex <codex@openai.com>c69090d -
Skip redundant CPU sandbox hardware request (#216)
Unverified signature* Skip redundant CPU sandbox hardware request Avoid calling the Hub hardware endpoint for default cpu-basic sandboxes because duplicate_space already requests that tier. Keep the hardware retry path for non-default tiers. Co-authored-by: OpenAI Codex <codex@openai.com> * Address sandbox hardware review feedback Use the CPU hardware constant as the Sandbox.create default and document why the auto-sleep guard still needs the hardware endpoint. Co-authored-by: OpenAI Codex <codex@openai.com> --------- Co-authored-by: OpenAI Codex <codex@openai.com>6ea1c42 -
Deploy 2026-05-04
Co-authored-by: OpenAI Codex <codex@openai.com>a436c02 -
Retry sandbox hardware requests (#210)
Unverified signature* Retry sandbox hardware requests Retry transient Hub errors when requesting hardware for a newly duplicated private sandbox Space. This covers the deployed OAuth path where duplicate succeeds but /hardware can briefly return 401/Repository Not Found before the private Space is manageable. Co-authored-by: OpenAI Codex <codex@openai.com> * Address sandbox retry review feedback Narrow transient hardware retry handling to 401 and 404, add coverage for timeout propagation, and fix top-level spacing. Co-authored-by: OpenAI Codex <codex@openai.com> * Ensure auto CPU sandboxes are cleaned up Persist sandbox identity on session records, clean stale sandboxes during restore, skip preloading when delete/teardown restores a session, and clean live sandboxes during backend shutdown. Add a scheduled orphan sweeper workflow as a backstop. Co-authored-by: OpenAI Codex <codex@openai.com> * Remove scheduled sandbox sweeper Delete the GitHub Actions cron workflow for orphan sandbox cleanup and…7636865