ml-intern / agent /core /agent_loop.py

Commit History

  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

  1. fix: correct context_length init and emit tool_call events for malformed calls⁠

    288473a

  1. fix: handle interrupt during streaming tool calls without corrupting context⁠

    akseljoonas +1: Claude Opus 4.6
    4eb958e
  2. fix: recover malformed tool calls instead of crashing session⁠

    akseljoonas +1: Claude Opus 4.6
    c7899fc

  1. fix: properly close SDK message on error, show tool errorText

    b22c5f3
  2. fix: patch dangling tool calls on error, move undo to context manager

    a1ce5bc

  1. feat: resolve sandbox file paths and show tool description in status⁠

    ae24efc
  2. fix: route all HF token usage through session.hf_token from OAuth⁠

    33f29a8

  1. feat: implement cooperative agent cancellation with cancel button

    ecbfd3c

  1. feat: restore sandbox tools and proactive compaction

    a644598
  2. feat: merge HF Space improvements

    79b2fcc

  1. adding compaction

    369d828
  2. sandbox working and agent can use it

    786b8bc

  1. add create sandbox tool

    2464c2e