ml-intern / agent /core /agent_loop.py

Commit History

  1. [codex] Harden agent prompt guidance (#331)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    ece0775

  1. [codex] Update hosted web model defaults (#328)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    433a22b

  1. Remove ~900 lines of dead code across agent, backend, and frontend (#318)⁠

    lewtun +1: Claude Fable 5 HF Staff
    Unverified signature
    7943555
  2. Enforce YOLO cap across session usage (#313)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    d76b37c
  3. Use session billing endpoint for inference usage (#314)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    9e28f0f

  1. Add session usage threshold approvals (#310)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    18716c3
  2. Add plan-aware CLI billing CTA (#309)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    ebc9798

  1. Implement user-billed model policy (#289)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    ded9881

  1. Restore prompt caching for FAL router models (#286)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    e6f00a2

  1. Route LLM inference through HF Router (#282)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    437a804

  1. Enable FAL endpoint to lift limits (#278)⁠

    cmpatino HF Staff
    Unverified signature
    c9a83ae

  1. Add `/clear` and `/new` commands (#256)

    cmpatino HF Staff
    Unverified signature
    021580f

  1. Add CLI sandbox runtime and fix HF Jobs script paths (#237)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    b05b6f5

  1. Create Hub artifact collections lazily (#245)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    60474c1
  2. Implement `/resume` command for CLI (#233)⁠

    cmpatino +1: lewtun HF Staff
    Unverified signature
    0321690

  1. Add ML Intern Hub artifact metadata (#225)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    4fc6e96

  1. Add CI for tests and Ruff (#217)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    754345f
  2. fix(compaction): break infinite loop + truncate oversized messages (#213)⁠

    Guillaume Salou
    Unverified signature
    d84b454

  1. Auto-start CPU sandboxes for sessions (#200)⁠

    lewtun +1: Codex HF Staff
    Unverified signature
    8615c28
  2. Add session YOLO auto-approval budget (#201)⁠

    lewtun +1: Codex HF Staff
    Unverified signature
    77324b8
  3. Auto-share session traces to a private HF dataset (#193)⁠

    Darshan Thakare +2: lewtun, Codex
    Unverified signature
    0bd7547

  1. feat(telemetry): track 5 untracked Bedrock call sites for full cost attribution (#179)⁠

    Guillaume Salou
    Unverified signature
    7867a7a

  1. Add Slack gateway (#116)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    6155b26
  2. Preserve streamed thinking metadata with live model tests (#150)⁠

    Aksel Joonas Reedi
    Unverified signature
    d408a51
  3. Preserve thinking state across tool turns (#143)⁠

    Aksel Joonas Reedi
    Unverified signature
    59b2038
  4. Keep repetition guard internal (#144)⁠

    Aksel Joonas Reedi
    Unverified signature
    e8ed637
  5. fix(cli): persist HF user id in saved sessions (#146)⁠

    lewtun +1: OpenAI Codex HF Staff
    Unverified signature
    2083476

  1. Run jobs under user or org accounts with upgrade / org-pick UX (#132)⁠

    Aksel Joonas Reedi
    Unverified signature
    ff8c636

  1. Fix CLI rendering corruption and split CLI/frontend model defaults (#121)⁠

    Aksel Joonas Reedi
    Unverified signature
    3eec386

  1. feat(observability)

    Aksel Joonas Reedi
    Unverified signature
    2a2e170

  1. feat: enable Anthropic prompt caching on system prompt and tools (#69)⁠

    Unverified signature
    5d357ba

  1. fix /model switcher with effort params⁠

    Aksel Joonas Reedi
    Unverified signature
    e2552e8
  2. Read max context from litellm + compact at 90% (#54)⁠

    Aksel Joonas Reedi
    Unverified signature
    28b8f2b
  3. Fix parallel-research display: per-call stats in CLI and web UI (#49)⁠

    Aksel Joonas Reedi +1: lee101
    Unverified signature
    5ab7c4e
  4. Route HF inference through /v1 auto-router + add reasoning_effort knob⁠

    0a9e96d

  1. Fall back to user HF token for router when INFERENCE_TOKEN is unset (#39)⁠

    Aksel Joonas Reedi +1: Claude Opus 4.7 (1M context)
    Unverified signature
    182ddee

  1. Refactor approval handling and enhance markdown table styles

    4501765

  1. Improve agent loop, tools, and research subagent for long-running autonomous tasks⁠

    73882d9

  1. feat: add headless CLI mode with local filesystem tools and rich terminal rendering⁠

    577ec48
  2. feat: LLM-based pruning for complex tool outputs (hf_jobs)⁠

    akseljoonas +1: Claude Opus 4.6 (1M context)
    d4b1495
  3. Add deterministic pruning of old tool outputs before LLM compaction⁠

    akseljoonas +1: Claude Opus 4.6 (1M context)
    64437d0
  4. Add per-tool error limits and per-turn request cap

    544a574
  5. feat: add doom-loop detection for repeated tool call patterns⁠

    d3bb2d2

  1. feat: render cancelled tool state in UI after user interrupt⁠

    akseljoonas +1: Claude Opus 4.6
    887da19
  2. feat: kill sandbox processes and cancel HF jobs on user interrupt⁠

    akseljoonas +1: Claude Opus 4.6
    3c91fc8

  1. fix: auto-retry on truncated tool calls + correct activity status on refresh⁠

    akseljoonas +1: Claude Opus 4.6
    8e63f40
  2. fix: live event streaming after reconnection + LiteLLM timeout⁠

    akseljoonas +1: Claude Opus 4.6
    47d6895
  3. fix: clear pending_approval before tool execution starts⁠

    akseljoonas +1: Claude Opus 4.6
    c2a3f88

  1. refactor: simplify tool call validation and make interrupts cancel tool execution⁠

    akseljoonas +1: Claude Opus 4.6
    f03cbf4
  2. feat: CLI local mode, slash commands, interrupt support; remove lmnr; frontend fixes⁠

    akseljoonas +1: Claude Opus 4.6
    82b0c13